Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2018 13:44:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        rc@FreeBSD.org
Subject:   [Bug 228786] automount interferes with suspend
Message-ID:  <bug-228786-20181-XlTv31yidN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-228786-20181@https.bugs.freebsd.org/bugzilla/>
References:  <bug-228786-20181@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228786

--- Comment #2 from Jason W. Bacon <jwb@freebsd.org> ---
I have an NFS server at home and the following auto_master:

# $FreeBSD: releng/11.1/etc/auto_master 310007 2016-12-13 04:44:06Z dteske $
#
# Automounter master map, see auto_master(5) for details.
#
/net            -hosts          -nobrowse,nosuid,intr
# When using the -media special map, make sure to edit devd.conf(5)
# to move the call to "automount -c" out of the comments section.
#/media         -media          -nosuid,noatime
#/-             -noauto

If an NFS server is mounted when S3 is initiated (e.g. by closing my laptop=
),
it will freeze before reaching S3 state.

After I added automount -u to rc.suspend, it never froze again.

# If a device driver has problems suspending, try unloading it before
# suspend and reloading it on resume.  Example:
# kldunload usb

automount -u

/usr/bin/logger -t $subsystem suspend at `/bin/date +'%Y%m%d %H:%M:%S'`
/bin/sync && /bin/sync && /bin/sync
/bin/sleep 3

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228786-20181-XlTv31yidN>