Hi Marc!

On Do, 2015-10-22 at 18:19 +0200, Marc Haber wrote:
(...)
> mini-buildd uses the setup.fstab option in /etc/schroot/chroot.d/* to
> ask schroot to honor the fstab file from /etc/schroot/mini-buildd/fstab.
> 
> This does, for some strange reason, not work on a current sid system.
> 
> This, in turn, leaves the chroots without /var/lib/mini-buildd
> mounted, which in turn leads to the strange "apt_sources.list not
> found" errors in the build logs, which in turn leads to unbuildable
> packages when the package has a build dependency not in Debian, but in
> the mini-buildd archive.
> 
> I was able to work around this by exchanging
> "setup.fstab=mini-buildd/fstab" for "profile=mini-buildd" in
> /etc/schroot/chroot.d/mini-buildd*, setting the files immutable so
> that mini-buildd doesn't "fix" them any more, and copying nssdatabases
> and copyfiles from /etc/schroot/default to /etc/schroot/mini-buildd.

Uff, WTF ;)!

However, I just tried to produce this on my sid test environment, but I
could not, so I guess I am not getting something here.

So, do I understand correctly, when the bug happens,
'/etc/schroot/mini-buildd/fstab' _does_ have the line

--
/var/lib/mini-buildd/var  /var/lib/mini-buildd/var  none  rw,bind 0  0
--

but running something like

--
schroot --chroot mini-buildd-jessie-amd64 -- ls -la /var/lib/mini-buildd/var/
--

(as user mini-buildd) does not work?

Thx!

S

Reply via email to