On Sun 17 Aug 2014 at 08:29:57 +0200, Christian PERRIER wrote: > Still: > > # Allow preseeding the groups to which the first created user is added > Template: passwd/user-default-groups > Type: string > Default: audio cdrom dip floppy video plugdev netdev powerdev scanner > bluetooth debian-tor lpadmin > Description: for internal use only > > The code that uses this: > > if [ -n "$USER" ]; then > db_get passwd/user-default-groups > for group in $RET; do > $log $chroot $ROOT adduser "$USER" $group >/dev/null > 2>&1 || true > done > fi > > > After more thinking, my (wild) guess is that, at the time this is > done, these groups...do not exist on the system. And "adduser <user> > <group>" then fails when "<group>" doesn't exist. > > If I'm right, there are probably traces of this is the installer log, I'd > guess.
Not such a wild guess. Aug 16 16:06:42 user-setup: Adding user `brian' to group `netdev' ... Aug 16 16:06:42 user-setup: Adding user brian to group netdev Aug 16 17:06:42 gpasswd[5287]: user brian added by root to group netdev Aug 16 16:06:42 user-setup: Done. Aug 16 16:06:42 user-setup: adduser: The group `powerdev' does not exist. Aug 16 16:06:42 user-setup: adduser: The group `scanner' does not exist. Aug 16 16:06:42 user-setup: adduser: The group `bluetooth' does not exist. Aug 16 16:06:42 user-setup: adduser: The group `debian-tor' does not exist. Aug 16 16:06:42 user-setup: adduser: The group `lpadmin' does not exist. Aug 16 16:06:42 finish-install: info: Running /usr/lib/finish-install.d/07brltty Aug 16 16:06:42 finish-install: info: Running /usr/lib/finish-install.d/07preseed Aug 16 16:06:42 finish-install: info: Running /usr/lib/finish-install.d/07speakup Aug 16 16:06:42 finish-install: info: Running /usr/lib/finish-install.d/10apt-cdrom-setup Aug 16 16:06:42 finish-install: Disabling netinst CD in sources.list Regards, Brian. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/17082014080851.7644c3c9d...@desktop.copernicus.demon.co.uk