Bug 480762 - add more groups
Summary: add more groups
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: udev
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-20 12:02 UTC by Harald Hoyer
Modified: 2009-02-03 10:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-03 10:49:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Harald Hoyer 2009-01-20 12:02:25 UTC
please add to the %post section:

getent group cdrom >/dev/null || /usr/sbin/groupadd -g 11 cdrom || :
getent group tape >/dev/null || /usr/sbin/groupadd -g 33 tape || :
getent group dialout >/dev/null || /usr/sbin/groupadd -g 87 dialout || :

Comment 1 Ondrej Vasik 2009-01-20 13:47:06 UTC
All gid's for those groups registered in setup-2.7.6-1.fc11.

Comment 2 Harald Hoyer 2009-01-20 14:08:30 UTC
it seems 87 is already taken by polkituser

Comment 3 Ondrej Vasik 2009-01-20 14:24:39 UTC
Bad luck ... I see ... PolicyKit uses simple 
/usr/sbin/useradd -c 'PolicyKit' -u %{polkit_uid} \
	-s /sbin/nologin -r -d '/' polkituser 2> /dev/null || :

in post scriptlet - there should be -g as well (they maybe could use some generic group - I don't know - but just uid was reserved). This makes dialout adding more complicated...

Comment 4 Christopher Beland 2009-01-29 06:16:26 UTC
I assume this bug is why I get the following message on startup?

 Starting udev: udevd[837]: specified group 'dialout' unknown

Comment 5 Ondrej Vasik 2009-01-29 11:38:58 UTC
Ok, will reserve 18 for dialout and 87 for polkituser...

Comment 6 Christopher Beland 2009-01-31 00:01:46 UTC
Yay, I'm no longer getting the message with setup-2.7.7-2.fc11.noarch/udev-137-1.fc11.x86_64.

Comment 7 Harald Hoyer 2009-02-03 10:49:05 UTC
moved to udev %pre


Note You need to log in before you can comment on or make changes to this bug.