ecryptfs-setup-private fails if GREP_OPTIONS is set with --line-number
Bug #257984 reported by
Tyler Willingham
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCryptfs |
Fix Released
|
Medium
|
Dustin Kirkland | ||
ecryptfs-utils (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
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/
Related branches
Changed in ecryptfs-utils: | |
importance: | Undecided → Medium |
Changed in ecryptfs: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Patch attached. Also fixes bug #277343.
:-Dustin