ecryptfs-setup-private fails if GREP_OPTIONS is set with --line-number
|Dustin Kirkland |
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/
|Changed in ecryptfs-utils:|
|importance:||Undecided → Medium|
|Changed in ecryptfs:|
|status:||In Progress → Fix Released|