automount fails on resume after suspend if file open for writing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
For a couple of years I have usually not shut down my pc after using it, I just leave it and let it suspend.
(Of course I have also shut down the system completely every now and then.)
This has worked well but recently with new kernels 4.2.0-* I get problems.
Further investigations show that it is automount that fails when :
1. a file is opened for writing on a nfs-mounted volume that autofs mounts
2. autofs unmounts the nfs directory after five minutes of inactivity, AND
3. the system is automatically suspended after ten minutes of inactivity
After resuming activity it is impossible to access the volume on the server
To reproduce:
cat > /path/to/
write some text
wait for the system to suspend
Activate the system again and try to access the automounted volume
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: linux-image-
ProcVersionSign
Uname: Linux 4.2.0-27-generic i686
ApportVersion: 2.19.1-0ubuntu5
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: Unity
Date: Thu Feb 11 09:35:17 2016
HibernationDevice: RESUME=
InstallationDate: Installed on 2010-11-12 (1916 days ago)
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
MachineType: Gigabyte Technology Co., Ltd. G41M-ES2L
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.149.3
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/04/2009
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F6
dmi.board.name: G41M-ES2L
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSof
dmi.product.name: G41M-ES2L
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
description: | updated |
tags: | added: kernel-fixed-upstream-4.5-rc3 needs-reverse-bisect |
tags: |
added: cherry-pick reverse-bisect-done removed: needs-reverse-bisect |
Changed in linux (Ubuntu): | |
status: | Confirmed → Triaged |
This change was made by a bot.