mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-06 12:58:22 +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 (cherry picked from commit d668ba131c72e85e50abdb05f189b3e07e1d378f)
This commit is contained in:
parent
ba1cb4156b
commit
343e90462f
@ -294,10 +294,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"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user