[buildd-tools-devel] Bug#675189: Bug#675189: schroot: Doesn't mount /dev, /proc, /sys, /home, etc. anymore

Roger Leigh rleigh at codelibre.net
Wed May 30 13:02:08 UTC 2012


On Wed, May 30, 2012 at 02:41:09PM +0200, Mike Hommey wrote:
>   W: Failed to change to directory ‘/home/mh’: No such file or directory
>   I: The directory does not exist inside the chroot.  Use the --directory option to run the command in a different directory.
>   W: Falling back to directory ‘/’
>   (sid)$

Could you possibly provide the the output of 'schroot --config' and
'schroot --info' for this chroot?

We have replaced the 'script-config' key with a new 'profile' key, but
this is intended to be entirely backward-compatible.  Also, since you
didn't AFAICS set the script-config setting, you /should/ just get
the same profile= and script-config settings as you had before.  These
should be "default" and "default/config", respectively.

Hopefully the --config and --info output will shed some light on what's
wrong here.

> BTW, after a downgrade, chroot fails miserably:
> E: 15binfmt: /etc/schroot/setup.d/15binfmt: 24: .: Can't open /usr/share/schroot/setup/common-config
> E: 70services: /etc/schroot/setup.d/70services: 32: .: Can't open /usr/share/schroot/setup/common-config

These are conffiles from the new version which weren't removed by the
downgrade.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800





More information about the Buildd-tools-devel mailing list