[buildd-tools-devel] Bug#728422: sbuild: fails to getent group sbuild when running with init=/bin/systemd

Cyril Brulebois kibi at debian.org
Fri Nov 1 02:14:05 UTC 2013


Package: sbuild
Version: 0.63.2-1.1
Severity: important

Hi,

from a pristine wheezy box, I've done that:
 - install sbuild
 - add myself to the sbuild group
 - run sbuild-createchroot sid /location http://mirror/debian
 - run sbuild -As -d unstable foo.dsc

The last bit failed with:
| D: Running command: schroot -d / -c sid-amd64-sbuild-59d745d4-bd00-4c4d-82cb-1b21032d8205 --run-session -q -u root -p -- getent group sbuild
| /bin/sh: 1: cannot create /var/lib/schroot/mount/sid-amd64-sbuild-59d745d4-bd00-4c4d-82cb-1b21032d8205/etc/group: Permission denied
| E: Failed to create group sbuild
| Failed to set up chroot

Looking at the "mount" output, that reminded me I was running under
systemd, so I wondered whether switching it off would help. And it
helped indeed!

I suspect there's some interference between some schroot things and
systemd, but filing it against sbuild for now, since that's where I
hit the bug so far.

Mraw,
KiBi.


-- System Information:
Debian Release: 7.2
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages sbuild depends on:
ii  adduser         3.113+nmu3
ii  apt-utils       0.9.7.9
ii  libsbuild-perl  0.63.2-1.1
ii  perl            5.14.2-21+deb7u1
ii  perl-modules    5.14.2-21+deb7u1

Versions of packages sbuild recommends:
ii  debootstrap  1.0.48+deb7u1
ii  fakeroot     1.18.4-2

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  wget       1.13.4-3

-- no debconf information



More information about the Buildd-tools-devel mailing list