Bug#774332: debootstrap: fakechroot variant fails installing systemd
Package: debootstrap
Version: 1.0.66
Severity: normal
Dear Maintainer,
(Everything is done as a normal user.)
After running fakeroot and fakechroot and setting PATH apropriately,
debootstrap --variant=fakechroot fails to bootstrap jessie.
The attempt ends with the following output:
I: Configuring init...
W: Failure while configuring required packages.
W: See /home/user/debootstrap-test2/debootstrap/debootstrap.log for details (possibly the package systemd is at fault)
End of debootstrap.log:
Setting up udev (215-8) ...
A chroot environment has been detected, udev not started.
Setting up systemd (215-8) ...
Initializing machine ID from random generator.
chfn: PAM: System error
adduser: `/usr/bin/chfn -f systemd Time Synchronization systemd-timesync' returned error code 1. Exiting.
dpkg: error processing package systemd (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up dmsetup (2:1.02.90-2) ...
dpkg: systemd-sysv: dependency problems, but configuring anyway as you requested
:
systemd-sysv depends on systemd (= 215-8); however:
Package systemd is not configured yet.
systemd-sysv depends on systemd; however:
Package systemd is not configured yet.
Setting up systemd-sysv (215-8) ...
Setting up init (1.22) ...
Errors were encountered while processing:
systemd
I actually discovered this bug when attempting to make a
debirf image of jessie. Doing
# debirf make -r
fixes the issue, but requires root (and doesn't fix a different
issue, but that's for another bug report.)
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages debootstrap depends on:
ii wget 1.15-1+b1
Versions of packages debootstrap recommends:
ii debian-archive-keyring 2014.3
ii gnupg 1.4.18-6
debootstrap suggests no packages.
-- no debconf information
Reply to: