Bug 480762

Summary: add more groups
Product: [Fedora] Fedora Reporter: Harald Hoyer <harald>
Component: udevAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: beland, clumens, harald, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-03 10:49:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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