[Bug 1116625] New: Systemd automount units fail after suspend/resume
http://bugzilla.opensuse.org/show_bug.cgi?id=1116625 Bug ID: 1116625 Summary: Systemd automount units fail after suspend/resume Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: David@WalkerStreet.info QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Systemd's automount units often fail after a suspend/resume cycle. I believe it occurs for units that are not mounted at the time the system is suspended, but I'm not sure. I've only tried this with nfs mounts, so it may only apply to nfs autmounts. Here's a log from such a failed unit: Nov 19 16:22:39 homelap5.WalkerStreet.info systemd[1]: DWMedia-DWMedia7.automount: Got invalid poll event 16 on pipe (fd=71) Nov 19 16:22:39 homelap5.WalkerStreet.info systemd[1]: DWMedia-DWMedia7.automount: Unit entered failed state. Restarting the automount unit after the system resumes gets things working again, so I've put the following script into /etc/NetworkManager/dispatcher.d as a quick and dirty workaround: #!/usr/bin/perl # # FixAutomount - Query systemctl for failed automount units and restart them. # This is needed, as suspend/resume seems to make them fail. # It can be invoked from a NetworkManager dispatcher script. # if ($ARGV[1] eq "up") { open (FAILED, "systemctl list-units *.automount --failed |"); while (<FAILED>) { if (/\s+(\S+).automount\s+loaded\s/) { system ("systemctl restart $1.automount"); }; }; }; -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1116625 http://bugzilla.opensuse.org/show_bug.cgi?id=1116625#c38 Johan Dot <jonte1@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonte1@gmail.com --- Comment #38 from Johan Dot <jonte1@gmail.com> --- Hi! The problem still exist, -see: https://forums.opensuse.org/showthread.php/540436-NFS-shares-does-not-mount-... And similar: https://lists.opensuse.org/opensuse/2020-07/msg00027.html I used the workaround mentioned in #32 and its working fine to me but maybe it should be fixed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1116625 http://bugzilla.opensuse.org/show_bug.cgi?id=1116625#c43 Franck Bui <fbui@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hpj@urpla.net --- Comment #43 from Franck Bui <fbui@suse.com> --- *** Bug 1177929 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1116625 Per Jessen <per@computer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |per@computer.org -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1116625 Bj�rn Voigt <bjoernv@arcor.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bjoernv@arcor.de -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com