mirror of
https://github.com/systemd/systemd.git
synced 2025-08-26 17:49:52 +03:00
core: permit sending augmented enable/disable methods
systemctl disable some.service fails to acquire interactive permission because the DisableUnitFilesWithFlagsAndInstallInto method isn't permitted
This commit is contained in:
committed by
Yu Watanabe
parent
fe5cb7a7ae
commit
d668ba131c
@ -298,10 +298,22 @@
|
||||
send_interface="org.freedesktop.systemd1.Manager"
|
||||
send_member="EnableUnitFiles"/>
|
||||
|
||||
<allow send_destination="org.freedesktop.systemd1"
|
||||
send_interface="org.freedesktop.systemd1.Manager"
|
||||
send_member="EnableUnitFilesWithFlags"/>
|
||||
|
||||
<allow send_destination="org.freedesktop.systemd1"
|
||||
send_interface="org.freedesktop.systemd1.Manager"
|
||||
send_member="DisableUnitFiles"/>
|
||||
|
||||
<allow send_destination="org.freedesktop.systemd1"
|
||||
send_interface="org.freedesktop.systemd1.Manager"
|
||||
send_member="DisableUnitFilesWithFlags"/>
|
||||
|
||||
<allow send_destination="org.freedesktop.systemd1"
|
||||
send_interface="org.freedesktop.systemd1.Manager"
|
||||
send_member="DisableUnitFilesWithFlagsAndInstallInfo"/>
|
||||
|
||||
<allow send_destination="org.freedesktop.systemd1"
|
||||
send_interface="org.freedesktop.systemd1.Manager"
|
||||
send_member="ReenableUnitFiles"/>
|
||||
|
Reference in New Issue
Block a user