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

Re: Can't create users and groups



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.




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