Can't create users and groups

Manuel Wolfshant wolfy at nobugconsulting.ro
Fri Mar 16 10:00:59 UTC 2007


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.






More information about the fedora-extras-list mailing list