/etc/dbus-1/system.d/net.ibh.NeedRestart.System.conf is in needrestart-session 0.3-4.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | <!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- Allow root to notify user sessions. -->
<policy user="root">
<allow send_destination="net.ibh.NeedRestart.System"/>
</policy>
<!-- Run needrestart-dbus-system as non-root user. -->
<policy user="needrestart-dbus">
<allow own="net.ibh.NeedRestart.System"/>
</policy>
<!-- Default Policy -->
<policy context="default">
<deny own="net.ibh.NeedRestart.System"/>
<deny send_destination="net.ibh.NeedRestart.System"/>
<allow send_interface="org.freedesktop.DBus.Introspectable" send_destination="net.ibh.NeedRestart.System"/>
</policy>
</busconfig>
|