Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#6895 - HAL doesn't work properly without 'plugdev' group

Attached to Project: Arch Linux
Opened by Wade Nelson (hollywoodb) - Friday, 13 April 2007, 01:05 GMT
Last edited by Jan de Groot (JGC) - Sunday, 13 May 2007, 18:21 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version 0.8 Voodoo
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I started occasionally running into HAL error notifications when attempting to mount/unmount my USB drive via KDE (trying several kde-centric methods).

I looked through /etc/dbus-1/system.d/hal.conf among a few other files, and I've added my user to various groups such as storage to no avail.

After a bit of googling I found other people with the same error under different distributions, and the general suggestion was to add a 'plugdev' group and add users to it.

On my single-user system this solved the problem and now removable device management via KDE works flawlessly.
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 13 May 2007, 18:21 GMT
Reason for closing:  Works for me
Comment by Jan de Groot (JGC) - Saturday, 14 April 2007, 22:29 GMT
There's not a single reference to plugdev in the hal package, not in the source, not in the binary. The group is not needed on archlinux and is probably misconfigured by some other package that dropped these silly things in the dbus configuration directory. Hal works perfectly fine here, so I guess it's a misconfiguration on your system.
Comment by Alexander Baldeck (kth5) - Saturday, 21 April 2007, 00:54 GMT
in fact i am having similar problems with kde. when i put in a audiocd it pops up a dialog as usual and when kdemultimedia is installed, it offers me to rip the cd using kaudiocreator. if i do that, it'll spit the cd out again. when i try again, it'll eventiually repeatedly open a error window saying that the cd was successfully unmounted but could not be ejected.
this message comes again and again until i restart kde.
Comment by Wade Nelson (hollywoodb) - Saturday, 21 April 2007, 13:53 GMT
I made a classic "oops" when I filed this, I'm using kdemod packages, not official packages; it is completely possible that the plugdev group I mentioned was specific to the package build environment. I have yet to contact the kdemod package maintainers. That being said, I haven't had an issue with KDE on other distros; my CentOS box works fine and makes no mention of the plugdev group.

Yet it is a bit strange that creating the plugdev group and adding my user to it fixed all the strange problems I was having, so if this works for you as well, please comment and if someone else runs into the same problem they'll be able to find a fix here.
Comment by Jan de Groot (JGC) - Saturday, 21 April 2007, 16:00 GMT
I think kdemod comes with some mount/eject helper utility that requires the plugdev group to exist. On gnome we have gnome-mount which calls into HAL to do the ejects, which in turn uses the eject utility to eject the device after unmounting.

Loading...