<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Hang on shutdown because wpa_supplicant is stopped before that umount a _netdev mount point"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86707#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Hang on shutdown because wpa_supplicant is stopped before that umount a _netdev mount point"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86707">bug 86707</a>
from <span class="vcard"><a class="email" href="mailto:javibarroso@gmail.com" title="Javi Barroso <javibarroso@gmail.com>"> <span class="fn">Javi Barroso</span></a>
</span></b>
<pre>
(In reply to Lennart Poettering from <a href="show_bug.cgi?id=86707#c3">comment #3</a>)
<span class="quote">> _netdev mounts already get "network.target" dependency. However, as _netdev
> is a userspace option, this only works if the file systems are mounted from
> userspace.
>
> My guess is that wpa_supplicant.service should really have a
> Before=network.target dependency. Does it have that on your system?</span >
Hello,
At my (Debian Sid) system wpa_supplicant.service has not such depend.
Seems like at Debian wpa_supplicant.service is not changed from upstream:
<a href="http://w1.fi/cgit/hostap/tree/wpa_supplicant/systemd/wpa_supplicant.service.in">http://w1.fi/cgit/hostap/tree/wpa_supplicant/systemd/wpa_supplicant.service.in</a>
I tried to add Before attribute? so it can read:
$ systemctl cat wpa_supplicant.service
# /lib/systemd/system/wpa_supplicant.service
[Unit]
Description=WPA supplicant
Before=network.target
[Service]
Type=dbus
BusName=fi.epitest.hostap.WPASupplicant
ExecStart=/sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
[Install]
WantedBy=multi-user.target
Alias=dbus-fi.epitest.hostap.WPASupplicant.service
But it didn't work.
I'm uploading files which I think can help to solve the issue.
At systemctl-status-booting.txt you can see two things:
- curlftps is a dependency from NetworkManager-dispatcher.service
- mnt-usb.mount fails the first try (see Process field at systemctl status -f
mnt-usb.mount) (Error Connecting to FTP)
At dmesg-booting.txt.gz can be seen dmesg after booting
Finally at halting.txt I try to summarize what happen when system is halting:
- start umount /mnt/usb
- wpa_supplicant deauthenticate
- umount will not finish until it is killed by systemd after a timeout
I really appreciate your help. Please tell me if you need some additional info.
Thank you very much</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>