Thursday, February 9, 2012

Boot error RUN+="socket:..." support will be removed

Error message:archbang d[152]: RUN+="socket:..." support will be removed from a future udev release. Please remove it from: /lib/udev/rules.d/90-hal.rules:2 and use libudev to subscribe to events.

If you see this boot error you still have HAL installed.
I used it for pcmanfm-mod that was showing my partitions and made it very easy to boot one when necessary.
To see which program needs Hal use:
LANG=C pacman -Qi hal | grep ^Required

And uninstall these packages if you can miss them.
I replaced pcmanfom-mod with pcmanfm-mod-nohal.

Then
Please remove hal use from: /lib/udev/rules.d/90-hal.rules:2
by putting a # before the HAL rule
and use libudev to subscribe to events:

Edit in /etc/udev/rules.d/11-media-by-label-auto-mount.rules
and add according to
https://wiki.archlinux.org/index.php/Udev
your preferred mount set up.

See also: https://bbs.archlinux.org/viewtopic.php?pid=1047768
As I use no login manager I seem to have always problems with the policykit:
https://bbs.archlinux.org/viewtopic.php?id=119499\
https://bbs.archlinux.org/viewtopic.php?pid=1048425#p1048425
After trying all sort of things to solve this I instlled pmount to be able to mount.
It can also mount internal partitions if you edit etc/pmount.allow.
for instance
/dev/sda16
/dev/sda12

If you want to mount a partition under label, do for example
pmount /dev/sda16 depot
and sda16 will be mounted as depot in /media.


Now you can create custom actions in your filemanager
with pmount /dev/sda16 for example.

No comments:

Blog Archive