Bug 594305
Summary: | wrong users and groups creation in spec file | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Peter Vrabec <pvrabec> |
Component: | hal | Assignee: | Richard Hughes <rhughes> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | desktop-bugs <desktop-bugs> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | CC: | cmeadors, dgregor, lkocman, mhasko |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | hal-0.5.14-5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-11-10 20:38:14 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: | |||
Bug Depends On: | |||
Bug Blocks: | 593683 |
Description
Peter Vrabec
2010-05-20 14:45:24 UTC
Looks fine for me. Could you please get the required qa acks. * Mon Jun 07 2010 Richard Hughes <rhughes> - 0.5.14-4 - Create a haldaemon group in the spec file as shadow-utils has been updated and no longer automatically creates a private group for UIDs < 200. - Resolves: #594305 This error is now showing up in anaconda's buildinstall process: Error in PREIN scriptlet in rpm package hal-0.5.14-4.el6.i686 useradd: group 'kvm' does not exist error: %pre(hal-0.5.14-4.el6.i686) scriptlet failed, exit status 6 error: install: %pre scriptlet failed (2), skipping hal-0.5.14-4.el6 This error is blocking the nightlies. I will untag hal-0.5.14-4.el6 for now. (In reply to comment #4) > Error in PREIN scriptlet in rpm package hal-0.5.14-4.el6.i686 > > useradd: group 'kvm' does not exist > error: %pre(hal-0.5.14-4.el6.i686) scriptlet failed, exit status 6 > error: install: %pre scriptlet failed (2), skipping hal-0.5.14-4.el6 Sincere apologies. This was a classic copy-and-paste mistake from your example. I'm building a new package now [http://brewweb.devel.redhat.com/brew/taskinfo?taskID=2504915]. Thanks. Verified on hal-0.5.14-6.el6 (clean install of 20100620) haldaemon group is being created during installation of hal, as shadow-utils is no longer creating automatically groups for UID < 200 $ grep hal_user_uid hal.spec %define hal_user_uid 68 getent group haldaemon >/dev/null || groupadd -g %{hal_user_uid} -r haldaemon useradd -r -u %{hal_user_uid} -g haldaemon -G haldaemon -d '/' -s /sbin/nologin \ # grep 68 /etc/group haldaemon:x:68:haldaemon Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |