mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-04 15:18:05 +02:00
"-" is not allowed as D-Bus path and interface name, and discouraged as bus name. This cause nm-priv-helper to crash, because GDBus asserts the the object path is valid. Replace the '-' with '_'. This way, it's consistent with "nm_dispatcher". Fixes:d68ab6b8f0('nm-sudo: rename to nm-priv-helper') (cherry picked from commit16a45d07ed)
13 lines
495 B
Text
13 lines
495 B
Text
<!DOCTYPE busconfig PUBLIC
|
|
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
|
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
|
<busconfig>
|
|
<policy user="root">
|
|
<allow own="org.freedesktop.nm_priv_helper"/>
|
|
<allow send_destination="org.freedesktop.nm_priv_helper"/>
|
|
</policy>
|
|
<policy context="default">
|
|
<deny own="org.freedesktop.nm_priv_helper"/>
|
|
<deny send_destination="org.freedesktop.nm_priv_helper"/>
|
|
</policy>
|
|
</busconfig>
|