hal: Running as haldaemon breaks automounting, *sigh*.
This commit is contained in:
parent
a991c503b6
commit
4428682dbd
@ -1,3 +1,3 @@
|
||||
750cf074e88b6fb7012f26d99cd39b9b hal-0.5.11.tar.gz
|
||||
7cb56ce5687fa8dcdc870821844240eb hal.conf
|
||||
ef74f2a02bea1462976c9ed56f1a6b97 rc.hald
|
||||
d8ce27a76d7cb13ce142cdc33816c8bd hal.conf
|
||||
cc3d04e7ac09e15f33c530725f43e641 rc.hald
|
||||
|
@ -10,9 +10,9 @@
|
||||
<policy user="haldaemon">
|
||||
<allow own="org.freedesktop.Hal"/>
|
||||
</policy>
|
||||
<policy user="0">
|
||||
<allow own="org.freedesktop.Hal"/>
|
||||
</policy>
|
||||
<policy user="root">
|
||||
<allow own="org.freedesktop.Hal"/>
|
||||
</policy>
|
||||
<policy group="plugdev">
|
||||
<allow own="org.freedesktop.Hal"/>
|
||||
</policy>
|
||||
@ -49,7 +49,7 @@
|
||||
<deny send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
|
||||
</policy>
|
||||
|
||||
<policy user="0">
|
||||
<policy user="root">
|
||||
<allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
|
||||
<allow send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/>
|
||||
<allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
|
||||
@ -66,4 +66,3 @@
|
||||
</policy>
|
||||
|
||||
</busconfig>
|
||||
|
||||
|
@ -5,8 +5,7 @@
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
# Run as haldaemon, not root.
|
||||
su haldaemon -s /bin/sh -c '/usr/sbin/hald --daemon=yes --use-syslog'
|
||||
/usr/sbin/hald --daemon=yes --use-syslog
|
||||
;;
|
||||
stop)
|
||||
killall -q /usr/sbin/hald
|
||||
|
Loading…
x
Reference in New Issue
Block a user