ecryptfs team mailing list archive
-
ecryptfs team
-
Mailing list archive
-
Message #00241
[Bug 257984] Re: ecryptfs-setup-private fails if GREP_OPTIONS is set with --line-number
** Changed in: ecryptfs
Status: In Progress => Fix Released
--
ecryptfs-setup-private fails if GREP_OPTIONS is set with --line-number
https://bugs.launchpad.net/bugs/257984
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.
Status in eCryptfs - Enterprise Cryptographic Filesystem: Fix Released
Status in “ecryptfs-utils” source package in Ubuntu: Fix Released
Bug description:
Binary package hint: ecryptfs-utils
if a user has exported GREP_OPTIONS with --line-number, then the query from /etc/passwd for the user's home directory fails. This is due tot he fact that awk is splitting on : with the -F option, and the line number is prepended with a : before the grep line.
The result is the user is presented with an error like the following: "ERROR: User home directory [xxxxx] does not exist".
In order to fix this, something similar to the apache init script could be added, which performs the following:
ENV="env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin"