Package: mmdebstrap
Version: 1.2.3-1
Severity: wishlist
Tags: wontfix

mmdebstrap fails to bootstrap Debian jessie. When running
systemd.postinst (before libpam-runtime.postinst), it faces:

| chfn: PAM: Critical error - immediate abort
| adduser: `/usr/bin/chfn -f systemd Time Synchronization systemd-timesync

Since libpam-runtime.postinst hasn't run, pam-auth-update hasn't run and
thus /etc/pam.d/common-auth is missing. PAM doesn't like that when
initialized through chfn.

A workaround for this issue is:

--extract-hook='chroot "$1" pam-auth-update --package --force'

The main purpose of this bug is documenting the issue for others. I
don't think adding such logic to mmdebstrap is appropriate. It is
something that people invoking it will have to add.

Helmut

Reply via email to