Can't create users and groups

Jesse Keating jkeating at redhat.com
Thu Mar 15 21:49:47 UTC 2007


On Thursday 15 March 2007 17:35:13 Mário Gamito wrote:
> Hi,
>
> I'm making a qmail RPM.
> All goes well, except that the users and groups are not being created.
> And they must be before running "make setup check".
> I've tried all locations in the spec file, but nothing :(
>
> Following my signature is the relevant part of the spec file.

You really shouldn't be making users during build.  Package build needs to 
succeed as non-root.  Try not 'checking' the build and just making.  You can 
add a user in %pre, and in your %files section do a defatter that sets the 
right ownership on the files.

-- 
Jesse Keating
Release Engineer: Fedora
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20070315/cd596735/attachment.sig>


More information about the fedora-extras-list mailing list