feat(dbus): rewrite some dbus rules (4).

This commit is contained in:
Alexandre Pujol 2023-12-04 18:52:10 +00:00
parent d1affd31f6
commit 2432414ae2
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
13 changed files with 61 additions and 143 deletions

View file

@ -9,14 +9,10 @@ include <tunables/global>
@{exec_path} = @{lib}/needrestart/apt-pinvoke
profile needrestart-apt-pinvoke @{exec_path} {
include <abstractions/base>
include <abstractions/bus/login>
include <abstractions/consoles>
include <abstractions/dbus-strict>
dbus send bus=system path=/org/freedesktop/login1
interface=org.freedesktop.DBus.Properties
member=Get
peer=(name=org.freedesktop.login1, label=systemd-logind),
@{exec_path} mr,
@{bin}/{,ba,da}sh rix,