diff options
Diffstat (limited to 'src/firejail/fs_hostname.c')
-rw-r--r-- | src/firejail/fs_hostname.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/firejail/fs_hostname.c b/src/firejail/fs_hostname.c index fd5e1bbd3..5d6fddf8e 100644 --- a/src/firejail/fs_hostname.c +++ b/src/firejail/fs_hostname.c | |||
@@ -96,6 +96,7 @@ void fs_resolvconf(void) { | |||
96 | printf("mirroring /etc directory\n"); | 96 | printf("mirroring /etc directory\n"); |
97 | if (mkdir(RUN_DNS_ETC, 0755)) | 97 | if (mkdir(RUN_DNS_ETC, 0755)) |
98 | errExit("mkdir"); | 98 | errExit("mkdir"); |
99 | selinux_relabel_path(RUN_DNS_ETC, "/etc"); | ||
99 | fs_logger("tmpfs /etc"); | 100 | fs_logger("tmpfs /etc"); |
100 | 101 | ||
101 | DIR *dir = opendir("/etc"); | 102 | DIR *dir = opendir("/etc"); |