[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 23:23:42 UTC 2010


On Fri, Jan 29, 2010 at 12:10:48AM +0100, Andreas Beckmann wrote:
> Hi Roger,
> 
> Roger Leigh wrote:
> > % 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
> 
> Ah, different naming scheme. No .conf suffix.
> 
> > Could you run "schroot -l -v --debug=notice" and let me know what you
> 
> $ schroot -l -v --debug=notice
> 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
> W: No chroots are defined in '/etc/schroot/schroot.conf'
> 
> If I rename my config from sid-i386.conf to sid-i386 everything works
> again. Reading chroot(1) again describes run-parts --lsbsysinit as the
> naming pattern scanned in /etc/schroot/chroot.d ... Probably introduced
> in 1.3.0-1 (I had 1.2.3-1+b1 installed previously):
> 
>   * schroot now ignores backup files (including dpkg conffile backups)
>     in /etc/schroot/chroot.d (Closes: #513307, #496629).

Yes, this is the change.  I think given that this can break
existing working setups if named so matching fails, this needs to
get greater prominence in the release notes.  I'll update
NEWS and README.Debian to make this clearer.

Thanks for reporting this!


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/2519e898/attachment.pgp>


More information about the Buildd-tools-devel mailing list