Re: Authentication problem with pbuilder
On Wed, Sep 28, 2005 at 10:14:49AM +0200, Jeroen van Wolffelaar wrote:
> On Wed, Sep 28, 2005 at 10:06:01AM +0200, Andreas Tille wrote:
> > On Wed, 28 Sep 2005, Ricardo Mones wrote:
> >
> > >>I guess I have to set a further sudo permission here but for what program?
> > >>It is 'sudo su' ? I would not really like this even if it is convinient.
> > >
> > > For /usr/bin/pdebuild, and invoke "sudo pdebuild".
> >
> > Uhmm, why that? I do not want to run the whole process as root. This
> > would immediately trigger the feeling I have to write a bug report.
> >
> > > BTW, this question is more for d-mentors than for d-devel ;-)
> >
> > If your answer is really correct I'm happy that I posted it here for
> > the sake of lazyness, because I'm not subscribed to d-mentors. IMHO
> > package building should work with fakeroot and should not require root
> > permissions.
>
> It works with fakeroot, the user the build runs at is configureable in
> /etc/pbuilderrc. The reason you require root for the whole thing is because of
> unpacking the chroot, chrooting itself, installing build dependencies, and
> purging the chroot again.
You don't require root for the whole thing. pdebuild is perfectly
capable of running 'sudo' when appropriate.
--
The amount of time between slipping on the peel and landing on the
pavement is precisely one bananosecond
Reply to: