Allow portage to set file capabilities, needed for installations like for wireshark
The installation of the wireshark package (and perhaps others) requires portage setting file capabilities (through the setcap binary). Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
This commit is contained in:
parent
9ec9808df5
commit
4061b06a4a
@ -122,7 +122,7 @@ optional_policy(`
|
||||
# - setexec to run portage fetch
|
||||
allow portage_t self:process { setfscreate setexec };
|
||||
# - kill for mysql merging, at least
|
||||
allow portage_t self:capability { sys_nice kill };
|
||||
allow portage_t self:capability { sys_nice kill setfcap };
|
||||
|
||||
# user post-sync scripts
|
||||
can_exec(portage_t, portage_conf_t)
|
||||
|
Loading…
Reference in New Issue
Block a user