Merge lp:~tyhicks/ecryptfs/lp1454388-lp1454319 into lp:ecryptfs
Proposed by
Tyler Hicks
Status: | Merged |
---|---|
Merged at revision: | 860 |
Proposed branch: | lp:~tyhicks/ecryptfs/lp1454388-lp1454319 |
Merge into: | lp:ecryptfs |
Diff against target: |
205 lines (+96/-22) 4 files modified
debian/changelog (+17/-0) src/pam_ecryptfs/pam_ecryptfs.c (+1/-1) src/utils/ecryptfs-umount-private (+2/-0) src/utils/mount.ecryptfs_private.c (+76/-21) |
To merge this branch: | bzr merge lp:~tyhicks/ecryptfs/lp1454388-lp1454319 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
eCryptfs | Pending | ||
Review via email: mp+258944@code.launchpad.net |
Description of the change
My main intent was to fix the "Sessions still open, not unmounting" error message that umount.
To post a comment you must log in.
With this change, there are now two modes for umount. ecryptfs_ private:
1) By default, decrement the counter and if the counter is non-zero, print a warning and exit with a failure code. If the counter is zero, do the unmount.
2) If the -d option is given, decrement the counter and if the counter is non-zero, do nothing and exit with a success code. If the counter is zero, do the unmount.
The pam_ecryptfs module would use mode #2.