pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-keyring (Debian) |
New
|
Unknown
|
|||
gnome-keyring (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Binary package hint: libpam-mount
Since I upgraded to Karmic, I noticed the weird fact that my two auto-mounted LUKS-encrypted partitions randomly seemed to disappear from mtab - I had to manually mount them again to use them. I've been using them for several years with all ubuntus so far, never had a problem until now.
These partitions are automatically mounted on login via pam_mount. These are the entries in pam_mount.conf.xml:
<volume fstype="crypt" path="/dev/sda3" mountpoint=
<volume fstype="crypt" path="/dev/sda5" mountpoint=
After digging in the logs, I've found that there is some sort of a cron job trying to unmount my two partitions and running every 60 minutes. If the partitions are busy then they survive; if they are not busy, then they are umounted (very weird !!!!!)
From my auth.log I see this every hour:
Nov 15 11:17:01 nahuatl CRON[1230]: pam_unix(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_unix(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
Nov 15 11:17:01 nahuatl CRON[1230]: pam_mount(
In my view this is a major bug.
A hint or workaround on how to stop this CRON thing from trying to unmount my drives would be greatly appreciated.
I've found only this similar reference:
seems to hint that the problem was introduced recently in debian, in libpam_mount 1.27-4
Changed in libpam-mount (Debian): | |
status: | Unknown → New |
affects: | libpam-mount (Debian) → gnome-keyring (Debian) |
affects: | libpam-mount (Ubuntu) → gnome-keyring (Ubuntu) |
After further investigation this seems to be related to a recent upstream bug:
http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 550892