[buildd-tools-devel] Bug#630658: sbuild-createchroot succfails badly with invalid user
Cyril Brulebois
kibi at debian.org
Thu Jun 16 00:21:03 UTC 2011
Package: sbuild
Version: 0.62.2-1
Severity: grave
Justification: Unusable, unable to create a chroot, also highly confusing.
Hi.
So, having faith, I purged sbuild and schroot entirely (yay for the
failing delgroup call, by the way, and a different error than #619892 --
sbuild being the last remaining group for the sbuild user or something
similar), trying to start afresh and without any prejudices.
Now, even creating a chroot fails, or succeeds, depending on which line
one reads:
| [config file excerpt]
| I: Please rename and modify this file as required.
| mkdir /etc/sbuild/chroot
| I: sudo chroot configuration linked as
| /etc/sbuild/chroot/sid-amd64-sbuild.
| chown: invalid user: `sbuild:sbuild'
| E: Failed to set sbuild:sbuild ownership on /build
| Failed to set up chroot
| E: Error creating chroot session: skipping apt update
| I: Successfully set up sid chroot.
| I: Run "sbuild-adduser" to add new sbuild users.
Looks like yet another proof of sbuild's extreme fragility. :(
-- System Information:
Debian Release: sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages sbuild depends on:
ii adduser 3.113 add and remove users and groups
ii libc6 2.13-7 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.6.0-13 GCC support library
ii libsbuild-perl 0.62.2-1 Tool for building Debian binary pa
ii libstdc++6 4.6.0-13 GNU Standard C++ Library v3
ii perl 5.12.3-7+b1 Larry Wall's Practical Extraction
ii perl-modules 5.12.3-7 Core Perl modules
Versions of packages sbuild recommends:
ii debootstrap 1.0.32 Bootstrap a basic Debian system
ii fakeroot 1.16-1 tool for simulating superuser priv
Versions of packages sbuild suggests:
pn deborphan <none> (no description available)
ii wget 1.12-3.1 retrieves files from the web
-- Configuration Files:
/etc/schroot/buildd/config changed [not included]
/etc/schroot/buildd/copyfiles changed [not included]
/etc/schroot/buildd/fstab changed [not included]
/etc/schroot/buildd/nssdatabases changed [not included]
^^^^^
Also, lies. I never touched those files.
-- no debconf information
More information about the Buildd-tools-devel
mailing list