Bug#360744: [Pbuilder-maint] Bug#360744: pbuilder: Make BUILDUSERNAME available during pbuilder login

Junichi Uekawa dancer at netfort.gr.jp
Wed Apr 5 00:30:39 UTC 2006


Hi,

> As the subject says: if pbuilderrc is set up to use a non-root user for 
> builds, it would be nice if that user were also created during a "pbuilder 
> login" run, to make it easier to debug failures which only happen when 
> building a package as a normal user.

I think the following snippet in pdebuild-internal should be made
generic, really:

# create the user similar to that used outside
groupadd -g "${BUILDRESULTGID}" -o pbgroup
useradd -g pbgroup -u "${BUILDRESULTUID}" -o pbuser



regards,
	junichi
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project




More information about the Pbuilder-maint mailing list