[systemd-bugs] [Bug 86707] New: Hang on shutdown because wpa_supplicant is stopped before that umount a _netdev mount point

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 25 08:36:28 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=86707

            Bug ID: 86707
           Summary: Hang on shutdown because wpa_supplicant is stopped
                    before that umount a _netdev mount point
           Product: systemd
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: javibarroso at gmail.com
        QA Contact: systemd-bugs at lists.freedesktop.org

Created attachment 110009
  --> https://bugs.freedesktop.org/attachment.cgi?id=110009&action=edit
Add network-online.target as dependency to _netdev mount points

Hello,

I was having trouble with a curlftpfs mount point [1], that did not umount at
shutdown.

Debugging the issue (at Debian did not work
/usr/lib/systemd/system-shutdown/debug.sh hack, but yes the crash shell console
at tty9):

[  473.352374] systemd[1]: mnt-usb.mount changed mounted -> unmounting
[  473.356270] systemd[1]: wpa_supplicant.service changed running ->
stop-sigterm
[  473.387815] systemd[1]: Failed to send unit change signal for
wpa_supplicant.service: Transport endpoint is not connected
[  473.387847] systemd[1]: Failed to send unit change signal for mnt-usb.mount:
Transport endpoint is not connected
[  473.703928] systemd[1]: Child 1564 (wpa_supplicant) died (code=exited,
status=0/SUCCESS)

/mnt/usb is the mount point which is failing to umount (it is the router usb
mounted on my laptop)

I'm not sure if curlftpfs should do some thing better when it tries to umount
when there is not connection..

To solve this issue I modified fstab-generator to add "After and Requires"
depends to "network-online.target" to .mount units which are network mounts.
I'm attaching the patch

What do you think is the best solution for my problem ?

Thank you

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769186

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20141125/9625bff0/attachment.html>


More information about the systemd-bugs mailing list