Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 183193
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Hanno Boeck <hanno@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Joël <world.root@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pam_mount-0.18-umount-home-dir.diff pam_mount-0.18-umount-home-dir.diff patch Joël 2007-06-25 20:30 0000 508 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 183193 depends on: 185145 Show dependency tree
Bug 183193 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-25 20:29 0000
pam_mount (and more specifically /sbin/umount.crypt) fails to umount home
directories if user processes are still running.

This patch will stop these processes before unmounting the block device. This
patch is already in use by SuSE (see pam_mount-0.18-umount-home-dir.diff).

Two more things to fix (IMHO):

1: in /etc/security/pam_mount.conf the proper path for lsof is /usr/sbin/lsof
(not /usr/bin/lsof).

2: emerging pam_mount will create /usr/sbin/umount.crypt which is a useless
(AFAIK) duplicate of /sbin/umount.crypt.

------- Comment #1 From Joël 2007-06-25 20:30:14 0000 -------
Created an attachment (id=123072) [details]
pam_mount-0.18-umount-home-dir.diff

------- Comment #2 From Hanno Boeck 2007-07-13 02:02:50 0000 -------
Next time please one issue per bug.

patch has been rejected upstream. If you rely on this feature, I'd suggest to
create a patch that accepts it as an option.

1. I'll fill a bug against lsof
2. done

------- Comment #3 From Hanno Boeck 2007-07-13 12:44:31 0000 -------
lsof is fixed, for your patch please handle that with upstream.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug