diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/fs_etc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/firejail/fs_etc.c b/src/firejail/fs_etc.c index dcbd297da..aa4d76431 100644 --- a/src/firejail/fs_etc.c +++ b/src/firejail/fs_etc.c | |||
@@ -265,8 +265,9 @@ void fs_private_dir_list(const char *private_dir, const char *private_run_dir, c | |||
265 | void fs_rebuild_etc(void) { | 265 | void fs_rebuild_etc(void) { |
266 | int have_dhcp = 1; | 266 | int have_dhcp = 1; |
267 | if (cfg.dns1 == NULL && !any_dhcp()) { | 267 | if (cfg.dns1 == NULL && !any_dhcp()) { |
268 | // this function has the effect that updates to files using rename(2) don't propagate into the sandbox | 268 | // Disabling this option ensures that updates to files using |
269 | // avoid this in the default setting, in order to not break /etc/resolv.conf (issue #5010) | 269 | // rename(2) propagate into the sandbox, in order to avoid |
270 | // breaking /etc/resolv.conf (issue #5010). | ||
270 | if (!checkcfg(CFG_ETC_HIDE_BLACKLISTED)) | 271 | if (!checkcfg(CFG_ETC_HIDE_BLACKLISTED)) |
271 | return; | 272 | return; |
272 | have_dhcp = 0; | 273 | have_dhcp = 0; |