[Bug 1838046] Re: Autofs with CIFS prevents laptop suspend

Christian Ehrhardt  1838046 at bugs.launchpad.net
Mon Aug 5 07:33:37 UTC 2019


Why reconnect - because it might have stale data I'd guess - even if it is only meta updates.
The TL;DR I guess is - if you can unmount network mounts before disconnecting network.

Yes adding that before suspend/shutdown should help your case - but it
is a force option, so unmounting while you still have network is the
safer option.

If you happen to know that your connections are unreliable those mounts
could also get some options to use only sync transfers and no write
caches I guess. That would minimize the potential fallout at the price
of some performance.

Disclaimer: I'm not the biggest expert on this, I just shared my
experience with it so far.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/1838046

Title:
  Autofs with CIFS prevents laptop suspend

Status in autofs package in Ubuntu:
  Triaged

Bug description:
  I have autofs set to mount two cifs partitions
  one from a local server, the second from a virtualbox machine in my laptop
  when I stop the virtual machine and try to suspend, I got a message saying: Freezing of task failed after xx seconds
  after ~10 seconds, the screen goes off, it appears that the laptop do a partial suspend (the power light doesn't blink), if I press the power button, the laptop wakes up, and sometimes I get a new gnome session (all my windows colsed and start with new gnome)

  If I sudo systemctl stop autofs.service and the suspend, everything
  works good.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1838046/+subscriptions



More information about the foundations-bugs mailing list