[buildd-tools-devel] Bug#675189: Bug#675189: schroot: Doesn't mount /dev, /proc, /sys, /home, etc. anymore
Mike Hommey
mh at glandium.org
Wed May 30 13:13:21 UTC 2012
On Wed, May 30, 2012 at 02:02:08PM +0100, Roger Leigh wrote:
> 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.
$ schroot --config -c sid
# schroot configuration generated by schroot 1.5.3 on 30 May 2012
[sid]
aliases=unstable,default
command-prefix=
description=Debian sid (unstable)
directory=/srv/chroot/sid
environment-filter=^(BASH_ENV|CDPATH|ENV|HOSTALIASES|IFS|KRB5_CONFIG|KRBCONFDIR|KRBTKFILE|KRB_CONF|LD_.*|LOCALDOMAIN|NLSPATH|PATH_LOCALE|RES_OPTIONS|TERMINFO|TERMINFO_DIRS|TERMPATH)$
groups=
message-verbosity=normal
preserve-environment=false
profile=default
root-groups=root
root-modifiable-keys=
root-users=
shell=
type=directory
union-type=none
user-modifiable-keys=
users=mh
$ schroot --info -c sid
─── Chroot ───
Name sid
Description Debian sid (unstable)
Type directory
Message Verbosity normal
Users mh
Groups
Root Users
Root Groups root
Aliases unstable default
Preserve Environment false
Default Shell
Environment Filter ^(BASH_ENV|CDPATH|ENV|HOSTALIASES|IFS|KRB5_CONFIG|KRBCONFDIR|KRBTKFILE|KRB_CONF|LD_.*|LOCALDOMAIN|NLSPATH|PATH_LOCALE|RES_OPTIONS|TERMINFO|TERMINFO_DIRS|TERMPATH)$
Run Setup Scripts true
Configuration Profile default
Script Configuration default/config
Session Managed true
Session Cloned false
Session Purged false
Directory /srv/chroot/sid
Personality undefined
User Modifiable Keys
Root Modifiable Keys
User Data
Filesystem Union Type none
FWIW, when upgrading:
Preparing to replace schroot 1.4.26-1 (using .../schroot_1.5.3-1_amd64.deb) ...
Removing obsolete conffile /etc/schroot/buildd/config ...
Removing obsolete conffile /etc/schroot/default/config ...
Removing obsolete conffile /etc/schroot/desktop/config ...
Removing obsolete conffile /etc/schroot/minimal/config ...
Removing obsolete conffile /etc/schroot/sbuild/config ...
Unpacking replacement schroot ...
Mike
More information about the Buildd-tools-devel
mailing list