Can't create users and groups

Rui Miguel Silva Seabra rms at 1407.org
Thu Mar 15 22:12:12 UTC 2007


Qui, 2007-03-15 às 22:04 +0000, Mário Gamito escreveu:
> > 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.
> Would you be so kind to be more specific ?
> I've tried the %pre section, but it didn't create the groups and the users.
> 
> The %pre section is before the %prep, right ?
> 
> The make setup already needs the users and groups to exist.

Well, maybe you should fix the Makefile with a patch before building.

Oh yeah, DJB forbids you to distribute such a modified qmail, so keep it
for personal use only!

Rui

-- 
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta ? uma parte de mensagem	assinada digitalmente
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20070315/2771f627/attachment.sig>


More information about the fedora-extras-list mailing list