2736b33202
Changed <policy user="root"> to <policy user="0"> in D-Bus system.conf.in to avoid getpwnam lookup failures on Redox. Patch written but does not apply yet — tar source extraction puts files under dbus-1.16.2/ which requires strip=2 or different path prefix. Left as documented work-in-progress. D-Bus daemon runs despite cosmetic user lookup warnings.
28 lines
987 B
Diff
28 lines
987 B
Diff
--- a/dbus-1.16.2/bus/system.conf.in
|
|
+++ b/dbus-1.16.2/bus/system.conf.in
|
|
@@ -82,23 +82,23 @@
|
|
</policy>
|
|
|
|
<!-- Only systemd, which runs as root, may report activation failures. -->
|
|
- <policy user="root">
|
|
+ <policy user="0">
|
|
<allow send_destination="org.freedesktop.DBus"
|
|
send_interface="org.freedesktop.systemd1.Activator"/>
|
|
</policy>
|
|
|
|
<!-- root may monitor the system bus. -->
|
|
- <policy user="root">
|
|
+ <policy user="0">
|
|
<allow send_destination="org.freedesktop.DBus"
|
|
send_interface="org.freedesktop.DBus.Monitoring"/>
|
|
</policy>
|
|
|
|
<!-- If the Stats interface was enabled at compile-time, root may use it.
|
|
Copy this into system.local.conf or system.d/*.conf if you want to
|
|
enable other privileged users to view statistics and debug info -->
|
|
- <policy user="root">
|
|
+ <policy user="0">
|
|
<allow send_destination="org.freedesktop.DBus"
|
|
send_interface="org.freedesktop.DBus.Debug.Stats"/>
|
|
</policy>
|