[buildd-tools-devel] Bug#567409: Bug#567409: /etc/schroot/chroot.d no longer used for configuration?
Roger Leigh
rleigh at codelibre.net
Thu Jan 28 22:41:39 UTC 2010
On Thu, Jan 28, 2010 at 11:13:23PM +0100, Andreas Beckmann wrote:
> since the update to 1.4.0 my schroot setup is no longer working:
>
> # schroot
> W: No chroots are defined in '/etc/schroot/schroot.conf'
> E: default: Chroot not found
This is a poor error message, which I need to make clearer. It /should/
say "No chroots are defined in '/etc/schroot/schroot.conf' or '/etc/schroot/chroot.d'",
which is what the error really means.
> Correct, there is nothing defined in /etc/schroot/schroot.conf, because
> everything is defined in /etc/schroot/chroot.d (makes copying chroots
> and chroot definitions between hosts much easier):
>
> # cat /etc/schroot/chroot.d/sid-i386.conf
> [sid-i386]
> description=Debian sid (unstable) 32-bit
> type=directory
> location=/chroot/sid-i386
> priority=3
> users=***
> groups=***
> root-groups=***
> aliases=unstable,default,i386
> personality=linux32
> run-setup-scripts=true
That's odd. There have been no changes here; this is my setup:
% ls -l /etc/schroot/chroot.d
total 9
-rw------- 1 root root 158 Dec 12 13:12 etch-amd64-sbuild
-rw------- 1 root root 205 Dec 12 13:12 lenny-amd64-sbuild
-rw------- 1 root root 288 Jan 27 09:07 sid-amd64-sbuild
-rw------- 1 root root 203 Jan 26 10:15 sid-amd64-sbuild.4zMkRO
-rw-r--r-- 1 root root 217 Dec 12 13:12 sid-block
-rw-r--r-- 1 root root 150 Dec 12 13:12 sid-file
-rw------- 1 root root 151 Dec 12 13:12 sid-loop
-rw------- 1 root root 261 Dec 12 13:12 sid-snap
-rw------- 1 root root 196 Dec 12 13:13 squeeze-amd64-sbuild
Could you run "schroot -l -v --debug=notice" and let me know what you
see? This should provide more detail about where things are going
wrong. For example, on my system:
% schroot -l -v --debug=notice 2>&1 | grep Load
D(1): Loading config file: /etc/schroot/schroot.conf
D(1): Loading data file: /etc/schroot/schroot.conf
D(1): Loading config directory: /etc/schroot/chroot.d
D(1): Loading data file: /etc/schroot/chroot.d/sid-loop
D(1): Loading data file: /etc/schroot/chroot.d/squeeze-amd64-sbuild
D(1): Loading data file: /etc/schroot/chroot.d/sid-file
D(1): Loading data file: /etc/schroot/chroot.d/sid-snap
D(1): Loading data file: /etc/schroot/chroot.d/etch-amd64-sbuild
D(1): Loading data file: /etc/schroot/chroot.d/sid-block
D(1): Loading data file: /etc/schroot/chroot.d/lenny-amd64-sbuild
D(1): Loading data file: /etc/schroot/chroot.d/sid-amd64-sbuild
(you can omit the "2>&1 | grep Load"; this is just to show you the
lines showing it's working, /not/ what's failing, which is what we
need to see in your case!)
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100128/542b4a36/attachment.pgp>
More information about the Buildd-tools-devel
mailing list