[buildd-tools-devel] Bug#666274: schroot complains about unknow source-root-groups config entry

Raphaël Hertzog hertzog at debian.org
Fri Mar 30 07:53:30 UTC 2012


Package: schroot
Version: 1.4.25-1
Severity: minor

I have this warning about a chroot I setup:
$ LANG=C schroot -c squeeze -p
W: line 7 [sid-test]: Unknown key 'source-root-groups' used
I: This option may be present in a newer version

However man schroot.conf clearly documents this key:

source-root-users=user1,user2,...
      A comma-separated list of users which are allowed password-less root  access
      to  the  source  chroot.  If empty or omitted, no users will be allowed root
      access without a password (but if a user is in users, they may  gain  access
      with  a  password).   This  will  become the root-users option in the source
      chroot.  See the section “Security” below.

source-root-groups=group1,group2,...
      A comma-separated list of groups which are allowed password-less root access
      to  the  source  chroot.  If empty or omitted, no users will be allowed root
      access without a password (but if a user's group is in groups, they may gain
      access  with  a  password).   This will become the root-groups option in the
      source chroot.  See the section “Security” below.

After investigation, it turns out that this specific chroot was
lacking my usual "union-type=aufs" entry... I believe that the error
message should be improved to point out the real underlying problem
because claiming that the key is unknown is misleading.

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)

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

Versions of packages schroot depends on:
ii  libboost-filesystem1.48.0       1.48.0-3
ii  libboost-program-options1.48.0  1.48.0-3
ii  libboost-regex1.48.0            1.48.0-3
ii  libboost-system1.48.0           1.48.0-3
ii  libc6                           2.13-27
ii  libgcc1                         1:4.7.0-1
ii  liblockdev1                     1.0.3-1.4+b2
ii  libpam0g                        1.1.3-7
ii  libstdc++6                      4.7.0-1
ii  libuuid1                        2.20.1-4
ii  schroot-common                  1.4.25-1

schroot recommends no packages.

Versions of packages schroot suggests:
ii  aufs-modules | unionfs-modules  <none>
ii  btrfs-tools                     0.19+20111105-2
ii  debootstrap                     1.0.39
ii  lvm2                            2.02.88-2

-- Configuration Files:
/etc/schroot/default/copyfiles changed [not included]
/etc/schroot/default/fstab changed [not included]

-- no debconf information





More information about the Buildd-tools-devel mailing list