Martin,
I actually tested the absence of ecryptfs-setup-private... It's sort of
handled by:
my $ecryptfs_setup_private = &which('ecryptfs-setup-private')
It says:
adduser: Could not find program named 'ecryptfs-setup-private' in $PATH
We could emit another message, about apt-get install ecryptfs-utils, but
I figured the user should be able to figure that out with command-not-
found. (Perhaps even adduser's which() function should be taught to
call command-not-found???)
However, the failed which() call exits adduser immediately, $?=1, which
has succeeded in adding the user, but not in populating the home
directory. Should it purge the user on failed exit?
For the adduser.conf request, I filed Bug #305582 and assigned to
myself. I'll submit another patch for that.
:-Dustin
--
add support for setting up encrypted home directory on user creation
https://bugs.launchpad.net/bugs/302870
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs