Public bug reported:

mmdebstrap fails to build images for xenial and older:

```
$ mmdebstrap xenial xenial.tar http://archive.ubuntu.com/ubuntu
I: automatically chosen mode: unshare
I: chroot architecture amd64 is equal to the host's architecture
I: finding correct signed-by value...
done
I: automatically chosen format: tar
I: using /tmp/mmdebstrap.SPrWJ7eEHl as tempdir
I: running apt-get update...
done
I: downloading packages with apt...
done
I: extracting archives...
done
I: installing essential packages...
done
[...]
Setting up systemd (229-4ubuntu4) ...
Created symlink /etc/systemd/system/getty.target.wants/[email protected], 
pointing to /lib/systemd/system/[email protected].
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target, 
pointing to /lib/systemd/system/remote-fs.target.
Created symlink 
/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service, pointing to 
/lib/systemd/system/systemd-timesyncd.service.
Initializing machine ID from random generator.
Adding group `systemd-journal' (GID 101) ...
Done.
chfn: PAM: Critical error - immediate abort
adduser: `/usr/bin/chfn -f systemd Time Synchronization systemd-timesync' 
returned error code 1. Exiting.
dpkg: error processing package systemd (--install):
 subprocess installed post-installation script returned error exit status 1
```

passwd shipping /usr/bin/chfn was setup before systemd.

** Affects: adduser (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: mmdebstrap (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: adduser (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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/adduser/+bug/2158250/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to