Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377885 - gnome-config.xml mentions the plugdev group, which may not exist since the deprecation of hal
Summary: gnome-config.xml mentions the plugdev group, which may not exist since the de...
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/gnome-co...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-05 15:00 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2011-08-14 15:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-08-05 15:00:28 UTC
A forum user (see http://forums.gentoo.org/viewtopic-p-6775934.html) has noted that the GNOME Configuration HOWTO tells the user to "gpasswd -a yourregularuser plugdev", but since the deprecation of hal, the plugdev group is not guaranteed to exist. The plugdev group will be created by networkmanager (current gx86 versions), bluez, and libgphoto2, but users who do not have these packages installed will not have the group, will get confused by the error message, and may try to do strange things to create it (such as installing hal).

On the other hand, if the plugdev group *does* exist, the user should still add himself to it - otherwise he won't be able to use networkmanager or bluetooth!

So this part of the gnome howto could do with a bit of improvement.
Comment 1 nm (RETIRED) gentoo-dev 2011-08-05 23:13:30 UTC
udev-related stuff creates the group, so it's still needed.
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-08-05 23:41:08 UTC
(In reply to comment #1)
> udev-related stuff creates the group, so it's still needed.

Grepping gx86 for "enewgroup plugdev" reveals the following packages:
app-pda/usbmuxd; media-libs/libgphoto2; media-libs/libmtp; net-misc/networkmanager; net-wireless/bluez; net-wireless/gnome-bluetooth; sys-apps/hal; sys-apps/uam; sys-apps/pmount.

A new gnome-2.32 user is not guaranteed to have any of these installed. He might, or he might not. Maybe the plugdev group has already been created, or maybe not.

What should the user do if he had just installed gnome, the plugdev group does not exist, and the gpasswd command fails?

Please don't mark this bug fixed until the documentation provides the user with an answer to that question.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2011-08-14 15:09:34 UTC
This has been fixed in CVS, so should show up on the site in an hour or so.

Thanks for reporting!