Re: Can't create users and groups

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

 



Mário Gamito wrote:
Hi,

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.

Best Regards
The only distro I know which that includes qmail in rpm format is SME (http://contribs.org/). I suggest grabbing their qmail.source.rpm and examining the spec.



--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux