Re: Can't create users and groups

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



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".
Eh?
Any part of anyone's build process that requires changing the host system (except for installing stuff needed to build) is broken.

Probably, you shouldn't be running "make setup check" unless you're actually installing from source. If you're making the rpm, the onus is on you to ensure that the target system would pass "make setup check" by writing a script that makes the necessary changes at install time.


You don't add users at build time, those won't be in the target system when you install.

If you cannot build as a normal user, you're doing something wrong. I remember arguing this point with Bill Nottingham years ago, when the kernel wouldn't build unless by root.

I've tried all locations in the spec file, but nothing :(

Following my signature is the relevant part of the spec file.

Any help would be appreciated.

Warm Regards


--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx

Please do not reply off-list
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux