Public bug reported: The automount process is supposed to unmount all mounted filesystems when it receives a SIGUSR1. I use this extensively to unmount things like usb-sticks. On a fresh dapper system with the xubuntu desktop, this doesn't work:
- the automount daemon DOES unmount the filesystem, as can be seen by doing a 'mount' command right after the kill command - some other process (?) then accesses the filesystem that was just unmounted - automount notices this and immediately remounts the filesystem Effectively, within 0.5-1 second all unmounted filesystems are remounted again. This seems to always occur with nfs mounted filesystems, but It also regularly happens with usb sticks and other removable media. (but not 100% reliably). On a debian unstable system I saw the same thing happening, there it was due to the hald trying to access the filesystem once it was unmounted. I have tried to stop the hald and reproduce the bug - no visible changes in behaviour. The bug also occurs from a text console right after a fresh reboot, so it appears that it is not due to KDE or GNOME services (or XFCE in my case). I have tried shutting down as many system daemons as possible, but could not locate the culprit. I realize this bug is likely not the fault of the autofs package, but it is related and very annoying. It would be nice if it could be investigated, as it renders the autofs package nearly useless for removable media. ** Affects: autofs (Ubuntu) Importance: Undecided Status: Unconfirmed -- Unmounting of automounted filesystems fails with SIGUSR1 https://launchpad.net/bugs/63720 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs