|
Bugzilla – Full Text Bug Listing |
| Summary: | Encrypted home not umounted, loop device not deleted | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Marius Tomaschewski <mt> |
| Component: | Other | Assignee: | Chris Rivera <crivera> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Critical | ||
| Priority: | P5 - None | CC: | coolo, jengelh, mc |
| Version: | RC 1 | Flags: | coolo:
SHIP_STOPPER-
|
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | new umount.crypt | ||
|
Description
Marius Tomaschewski
2007-09-20 12:54:25 UTC
With installed lsof, it does not look terrible as above. The homes are umounted, just the loop devices are not deleted: /dev/loop0: [fd00]:3763171 (/home/mt.img) A manual losetup -d /dev/loop0 is able to delete it. When I'm logged in, there are two loop devices involved: xanthos:~ # mount /dev/mapper/_dev_loop0 on /home/mt type ext3 (rw) (why it is mounted without acl,user_xattr options??) xanthos:~ # losetup -a /dev/loop0: [fd00]:3763171 (/home/mt.img) /dev/loop1: [000f]:9103 (/dev/loop0) after logout, the first one is still not deleted: xanthos:~ # losetup -a /dev/loop0: [fd00]:3763171 (/home/mt.img) I have submitted a fixed pam_mount package which requires now lsof, util-linux and coreutils for a successful run of /sbin/umount.crypt. Cris: would you have a look at the "two devices" problem. Why is one not removed after logout? I can take a look, but mounting, device ref counting, and unmounting are all handled by pam_mount. Created attachment 173822 [details]
new umount.crypt
Works fine for me now. Ok, I have submitted the fix to STABLE. Submit it to upstream... |