[buildd-tools-devel] Bug#674846: /etc/resolv.conf should be copied upon every invocaktion, not just session start

Joachim Breitner nomeata at debian.org
Mon May 28 07:37:59 UTC 2012


Package: schroot
Version: 1.4.26-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

on my laptop, I sometimes have a long running schroot session (several
days). It seems that schroot is only copying the current
/etc/resolv.conf when I begin the session, or when it is recovered at
boot time, but not everytime I enter it. This causes problems when I
move locations between uses of the session. It also causes problems when
the schroot init script runs before the network is set up, as it will
copy an empty /etc/resolv.conf. 

It seems that this could be fixed if always the current /etc/resolv.conf
is used.

Thanks,
Joachim

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages schroot depends on:
ii  libboost-filesystem1.49.0       1.49.0-3
ii  libboost-program-options1.49.0  1.49.0-3
ii  libboost-regex1.49.0            1.49.0-3
ii  libboost-system1.49.0           1.49.0-3
ii  libc6                           2.13-32
ii  libgcc1                         1:4.7.0-9
ii  liblockdev1                     1.0.3-1.4+b2
ii  libpam0g                        1.1.3-7.1
ii  libstdc++6                      4.7.0-9
ii  libuuid1                        2.20.1-5
ii  schroot-common                  1.4.26-1

schroot recommends no packages.

Versions of packages schroot suggests:
ii  aufs-modules | unionfs-modules  <none>
ii  btrfs-tools                     <none>
ii  debootstrap                     1.0.40
ii  lvm2                            2.02.95-3

- -- Configuration Files:
/etc/schroot/default/fstab changed:
/proc		/proc		none    rw,bind        0       0
/sys		/sys		none    rw,bind        0       0
/dev            /dev            none    rw,bind         0       0
/dev/pts	/dev/pts	none	rw,bind		0	0
/home		/home		none	rw,bind		0	0
/tmp		/tmp		none	rw,bind		0	0
/var/cache/apt/archives  /var/cache/apt/archives none rw,bind 0 0 

/etc/schroot/schroot.conf changed:
[sid]
type=directory
description=Cowbuilder sid (unstable)
directory=/var/cache/pbuilder/base.cow
users=jojo
source-users=jojo
aliases=unstable,default
union-type=aufs


- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk/DK1QACgkQ9ijrk0dDIGxX7ACeKS3VkWakTMxbx0ooPnU6pL8n
jfsAoNB3r1mv5hAbZy3b/9LOsMOGXUrs
=rZCu
-----END PGP SIGNATURE-----





More information about the Buildd-tools-devel mailing list