[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Can't create users and groups



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

Attachment: pgpmPKVsxQUUC.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]