[buildd-tools-devel] Bug#608840: Bug#608840: --chroot-setup-commands does not run as root

Wookey wookey at wookware.org
Wed Nov 6 15:08:59 UTC 2013


+++ Roger Leigh [2013-10-01 19:51 +0100]:
> On Tue, Oct 01, 2013 at 02:14:58PM +0100, Wookey wrote:
> > I have now been using this patch in production for a few months and it
> > has proved effective.
> > 
> > As there have been no comments/objections to the implementation can
> > this just go in the next release?
> > 
> > Is there a schedule for the next release? I would like to stop
> > maintaining this as a fork as soon as possible. We've missed Ubuntu
> > Saucy unfortunately.
> 
> Hi Wookey,
> 
> I'm sure it can go into the next release.  If you have commit access,
> please feel free to merge it if you like.

I don't believe I have commit access. If you give it to me I'll try to do this.

> Apologies for the delay here

> I'm just getting a couple of schroot releases (1.6.6 and 1.7.1) ready
> now, which I've been working on for the last couple of weeks.  Should
> be done in the next day or so.  As soon as I draw a line under that,
> it's sbuild's turn for attention, and I'll merge all the outstanding
> patches and tackle a bunch of the most important open bugs.  So I would
> estimate that we should have an upload in the next week or two
> depending on the amount of work and testing which needs doing.

Where is this bug at? I've seen a couple of sbuild releases go by, but
not including this fix, which is a simple one so I was hoping to see it
in.

I've just come across another use-case, where I am using a qemu-based
chroot to 'debianise' an ubuntu chroot as a new-arch buildd bootstrap
process. That needs a script run as root inside the chroot before the
update to sync the tarball image up to dpkg -i the set of
already-debianised packages. (apt prefs and a repo wouldn't work as some
extra hackery is required due to distro differences (e.g flex is two
packages in Ubuntu, but one in debian curreently).

OK this is a bit obscure, but it's just another example of 'I need to run
a script as root inside the chroot once it is set up'.

Wookey
-- 
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/



More information about the Buildd-tools-devel mailing list