module BUILD file problem

Nick Hudson nhudson at lunar-linux.org
Tue Aug 10 12:00:43 GMT 2004


Ahh great, thanks for the help!

Nick


On Tue, 2004-08-10 at 10:54 +0200, Auke Kok wrote:
> From: sofar at lunar-linux.org
> 
> Just add it in the BUILD at the TOP... passwd and shadow are not tracked and the proper way like this is already demonstrated in the MTA modules for instance:
> 
> add_priv_user newuser:newgroup &&
> 
> sofar
> 
> (Ref: sendmail/BUILD prostfix/BUILD apache2/BUILD-I think)
> 
> On Tue, Aug 10, 2004 at 08:59:06AM +0200, ratler at lunar-linux.org wrote:
> > Maybe using PRE_BUILD file will work?
> > 
> > /Ratler
> > 
> > On Mon, 9 Aug 2004, Nick Hudson wrote:
> > 
> > >I guess this question needs to be directed at sofar, and maybe I missed
> > >something over that last few months also and if I did please let me
> > >know.  I am creating a module that requires me to create a new user and
> > >group before I do a make install.  But in the BUILD file if I put the
> > >following:
> > >
> > >groupadd  newgroup 2>/dev/null
> > >useradd   newuser  -g  newgroup  2>/dev/null
> > >
> > >The BUILD file will stop and return a error.  Now was there something
> > >changed that does not allow this in the BUILD file?  Because if I put it
> > >in POST_INSTALL things works fine.  But with this particular module for
> > >it to install correctly and work correctly the user and group needs to
> > >be added before the make install.
> > >
> > >Thanks
> > >
> > >Nick
> > >
> > >
> > _______________________________________________
> > Lunar-dev mailing list
> > Lunar-dev at lunar-linux.org
> > http://lunar-linux.org/mailman/listinfo/lunar-dev
> > 
> _______________________________________________
> Lunar-dev mailing list
> Lunar-dev at lunar-linux.org
> http://lunar-linux.org/mailman/listinfo/lunar-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lunar-linux.org/mailman/private/lunar-dev/attachments/20040810/ab050452/attachment.bin


More information about the Lunar-dev mailing list