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