re-enable PrivateNetwork=true

This commit is contained in:
Patrick Schleizer 2019-07-01 14:53:01 +00:00
parent 81b38529d9
commit f82731698c
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -11,6 +11,7 @@ After=local-fs.target
Type=oneshot
ExecStart=/bin/mount -o remount,nosuid,nodev,noexec,hidepid=2 /proc
## Disabled since not working in Qubes.
#ProtectSystem=strict
#ProtectHome=true
#ProtectKernelTunables=true
@ -19,7 +20,6 @@ ExecStart=/bin/mount -o remount,nosuid,nodev,noexec,hidepid=2 /proc
#PrivateTmp=true
#PrivateMounts=true
#PrivateDevices=true
#PrivateNetwork=true
#MemoryDenyWriteExecute=true
#NoNewPrivileges=true
#RestrictRealtime=true
@ -27,5 +27,7 @@ ExecStart=/bin/mount -o remount,nosuid,nodev,noexec,hidepid=2 /proc
#RestrictNamespaces=true
#SystemCallFilter=mount munmap access read open close stat fstat lstat mmap mprotect brk rt_sigaction rt_sigprocmask execve readlink getrlimit getuid getgid geteuid getegid statfs prctl arch_prctl set_tid_address newfstatat set_robust_list openat mkdir
PrivateNetwork=true
[Install]
WantedBy=multi-user.target