** Changed in: pm-utils (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/506116
Title:
autofs suspend/hibernate script should be ported from apmd system to
pm
It should be noted that this bug is not related to NFS, specifically,
but any network mounts handled by autofs. I have this same problem with
my samba/CIFS shares.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.
I'm running 10.10 and it fails to suspend to RAM if I have used any NFS
shares. Even if no files are currently open, if some files on a share
were previously opened during the current session, Ubuntu will fail to
suspend. If I log out and log back in, I can suspend if I do so before
beginning any w
@MountainX: What you did should be enough in theory.
You can test it manually too: run "./autofs suspend" as root before selecting
suspend from the menu, and see if it helps. Any/all unused autofs shares should
be umounted by the script.
But I don't know if the 10.10 suspend setup is similar to
I mount my NFS shares via /etc/fstab using entries such as:
10.10.1.1:/home/shared /home/shared nfs auto,rw,noatime 0 0
Is the "auto" option used there the same as (or related to) the autofs
mentioned in this bug report? I had assumed so, but now I realize I might be
wrong because when I run "
@MountainX: No, the "auto" option for /etc/fstab is different to
"autofs".
The "auto option" mounts the filesystem in question automatically at
boot time.
"autofs" is a program/daemon which mounts/unmounts NFS shares on-demand.
It's an alternative way to mount NFS shares so to speak, and in this
Wizzu, thank you. As a next step I will try autofs with your script.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/506116
Title:
autofs suspend/hibernate script should be ported from apmd system to
Here's a script I created that seems to work on my system for this
purpose. I placed it in /etc/pm/sleep.d/80_autofs
Of course, as expected, if any of the automounted shares are busy (any
files open), it won't do anything for them. It's just a "best effort"
attempt.
** Attachment added: "autofs"
** Package changed: autofs (Ubuntu) => pm-utils (Ubuntu)
--
autofs suspend/hibernate script should be ported from apmd system to pm-utils
https://bugs.launchpad.net/bugs/506116
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-b