Further debugging: libpam-runtime should be configured before systemd. Workaround demonstrate that:
mmdebstrap --extract-hook='for f in common-auth common-account common- session common-password; do printf "auth sufficient pam_permit.so\naccount sufficient pam_permit.so\nsession sufficient pam_permit.so\npassword sufficient pam_permit.so\n" > "$1/etc/pam.d/$f"; done' xenial xenial.tar http://archive.ubuntu.com/ubuntu This fails now in a later stage with a different problem: ``` I: installing remaining packages inside the chroot... [...] Setting up makedev (2.3.1-93ubuntu2~ubuntu16.04.1) ... grep: /proc/1/environ: Permission denied mknod: mem-: Operation not permitted makedev mem c 1 1 root kmem 0640: failed mknod: kmem-: Operation not permitted [...] Errors were encountered while processing: makedev ubuntu-minimal E: Sub-process env returned an error code (1) E: setup failed: E: apt-get -o Dir::Bin::dpkg=env -o DPkg::Options::=--unset=TMPDIR -o DPkg::Options::=dpkg --yes install -oAPT::Status-Fd=<$fd> -oDpkg::Use-Pty=false apt ?narrow(?or(?archive(^xenial$),?codename(^xenial$)),?architecture(amd64),?and(?or(?priority(required),?priority(important)),?not(?essential))) failed: process exited with 100 and error in console output ``` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2158250 Title: mmdebstrap fails to build images for xenial and older To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mmdebstrap/+bug/2158250/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
