debootstrapping vivid under fakechroot fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fakechroot (Debian) |
Fix Released
|
Unknown
|
|||
fakechroot (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
$ fakeroot fakechroot debootstrap --variant=
[...]
Setting up systemd (219-4ubuntu5) ...
Created symlink from /<email address hidden> to /lib/systemd/
Created symlink from /etc/systemd/
Created symlink from /etc/systemd/
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
Perhaps we can fix chfn like in https:/
Changed in fakechroot (Ubuntu): | |
importance: | Undecided → High |
milestone: | none → ubuntu-15.03 |
assignee: | nobody → Martin Pitt (pitti) |
Changed in fakechroot (Debian): | |
status: | Unknown → New |
Changed in fakechroot (Ubuntu): | |
assignee: | Martin Pitt (pitti) → nobody |
Changed in fakechroot (Debian): | |
status: | New → Confirmed |
Changed in fakechroot (Debian): | |
status: | Confirmed → Fix Released |
Workaround:
$ cat ~/fakechroot- touch/debootstr ap.env /debootstrap. env CMD_SUBST= "$FAKECHROOT_ CMD_SUBST: /usr/bin/ chfn=/bin/ true"
. /etc/fakechroot
FAKECHROOT_
fakeroot fakechroot -c ~/fakechroot-touch/ debootstrap --variant= fakechroot vivid /tmp/vividfc http:// archive. ubuntu. com/ubuntu/