mirror of
https://github.com/systemd/systemd.git
synced 2026-08-10 17:14:31 +00:00
mountfsd: uncomment CapabilityBoundingSet= line
Since mountfsd was added in702a52f4b5the caps bounding set line was commented. That's an accident. Fix that. (We need to add a bunch of caps to the list). (cherry picked from commit818bd1dfa1)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
ba809a8584
commit
897018cc47
@@ -18,7 +18,7 @@ Before=sysinit.target shutdown.target
|
||||
DefaultDependencies=no
|
||||
|
||||
[Service]
|
||||
#CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_SYS_RESOURCE CAP_BPF CAP_PERFMON CAP_SETGID CAP_SETUID
|
||||
CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_SYS_RESOURCE CAP_BPF CAP_PERFMON CAP_SETGID CAP_SETUID CAP_DAC_OVERRIDE CAP_CHOWN CAP_SYS_ADMIN
|
||||
ExecStart={{LIBEXECDIR}}/systemd-mountfsd
|
||||
IPAddressDeny=any
|
||||
LimitNOFILE={{HIGH_RLIMIT_NOFILE}}
|
||||
|
||||
Reference in New Issue
Block a user