This will also fail on a fresh install when selecting encrypted home directory, even when the home directory does not exist. ... Jul 27 22:14:21 in-target: kbd is already the newest version. Jul 27 22:14:21 in-target: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Jul 27 22:14:21 finish-install: info: Running /usr/lib/finish-install.d/05speakup Jul 27 22:14:21 finish-install: info: Running /usr/lib/finish-install.d/06user-setup Jul 27 22:14:21 user-setup: Shadow passwords are now on. Jul 27 22:14:21 anna-install: Installing crypto-modules Jul 27 22:14:21 user-setup: Adding user `shin' ... Jul 27 22:14:21 user-setup: Adding new group `shin' (1000) ... Jul 27 17:14:21 groupadd[11340]: new group: name=shin, GID=1000 Jul 27 22:14:22 user-setup: Adding new user `shin' (1000) with group `shin' ... Jul 27 17:14:22 useradd[11344]: new user: name=shin, UID=1000, GID=1000, home=/home/shin, shell=/bin/bash Jul 27 22:14:22 user-setup: Creating home directory `/home/shin' ... Jul 27 22:14:22 user-setup: Setting up encryption ... Jul 27 22:14:22 user-setup: ERROR: Can't get ecryptfs version, ecryptfs kernel module not loaded? Jul 27 22:14:22 user-setup: adduser: `/usr/bin/ecryptfs-setup-private -b -u shin' returned error code 1. Exiting. Jul 27 22:14:22 finish-install: cat: /dev/shm/.ecryptfs-shin: No such file or directory Jul 27 22:14:22 finish-install: warning: /usr/lib/finish-install.d/06user-setup returned error code 1 Jul 27 22:14:22 finish-install: info: Running /usr/lib/finish-install.d/07atl2 Jul 27 22:14:22 finish-install: info: Running /usr/lib/finish-install.d/07preseed Jul 27 22:14:22 finish-install: info: Running /usr/lib/finish-install.d/10bind-mount Jul 27 22:14:22 finish-install: info: Running /usr/lib/finish-install.d/10clock-setup ...
These other issues also look to be fresh installs that use encrypted home directories that have problems (https://bugs.launchpad.net/ubuntu/+source/user-setup/+bug/321430 and here https://bugs.launchpad.net/ubuntu/+source/debian- installer/+bug/366894). Though this may be more related to the /usr/bin/ecryptfs-setup-private failing because the ecryptfs module is not loaded, but from a user standpoint everything looked to work, until you try to do any Admin tasks, then you run into the "not in sudoers file". -- user-setup-apply breaks if home directory already exists and encrypted-home selected (?) https://bugs.launchpad.net/bugs/321345 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs