<div dir="ltr"><div>I edited the wpa_supplicant service as you suggested but the issue is still present. I've also found that the behavior is not consistent, sometimes it waits 90 seconds and sometimes it waits 30 minutes (even after changing the fstab entry).<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-08 14:01 GMT-03:00 Michael Biebl <span dir="ltr"><<a href="mailto:biebl@debian.org" target="_blank">biebl@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Control: severity -1 important<br>
<span class=""><br>
Am 08.09.2015 um 02:33 schrieb Javier Ayres:<br>
</span><span class="">> Package: systemd<br>
> Version: 225-1<br>
> Severity: normal<br>
><br>
> I have a NFS share configured in my /etc/fstab as follows:<br>
><br>
> 192.168.1.4:/mnt/samsung               /mnt/D3 nfs<br>
> auto,nofail,timeo=25,users,_netdev,bg,comment=x-gvfs-show  0 0<br>
><br>
> The drive is mounted correctly at startup, but if I don't manually unmount it<br>
> before shutting down the system will take 30 minutes to shut down. The message<br>
> "A stop job is running for /mnt/D3 (0s / 1min 30s)" is shown; after 90 seconds<br>
> it changes to something like "A stop job is running for /mnt/D3 (1min 30s /<br>
> 3min)" and it keeps incrementing until 30 minutes have passed. I changed the<br>
> fstab entry to:<br>
><br>
> 192.168.1.4:/mnt/samsung               /mnt/D3 nfs     users,_netdev,comment=x<br>
> -gvfs-show  0 0<br>
><br>
> Now it honors the 1min 30s timeout, but it takes 90 seconds at startup as well<br>
> ("A start job is running...").<br>
><br>
> I'm running an up to date version of Debian (testing branch) and the NFS server<br>
> is a Raspberry Pi with Raspbian. I'm happy to provide more details if needed.<br>
<br>
<br>
</span>I tried to reproduce the problem, using ethernet and ifupdown<br>
<br>
- added 1.2.3.4:/test/nfs /mnt/nfs auto,nofail 0 0 to fstab<br>
- rebooted<br>
- checked that /mnt/nfs was correctly mounted<br>
- stop network via ifdown eth0<br>
- run shutdown<br>
<br>
This blocks indefinitely here. Inspecting the journal on a debug-shell I get<br>
<br>
> Sep 08 18:55:12 debian systemd[1]: Stopped target Remote File Systems.<br>
> Sep 08 18:55:12 debian systemd[1]: Unmounting /mnt/nfs...<br>
> Sep 08 18:55:12 debian systemd[1]: Stopped target Basic System.<br>
> Sep 08 18:55:12 debian systemd[1]: Stopped target Slices.<br>
> Sep 08 18:55:12 debian systemd[1]: Removed slice User and Session Slice.<br>
> Sep 08 18:55:12 debian systemd[1]: Stopped target Sockets.<br>
> Sep 08 18:55:13 debian systemd[1]: Closed D-Bus System Message Bus Socket.<br>
> Sep 08 18:55:13 debian systemd[1]: Closed ACPID Listen Socket.<br>
> Sep 08 18:55:13 debian systemd[1]: Closed Syslog Socket.<br>
> Sep 08 18:55:13 debian systemd[1]: Stopped target Paths.<br>
> Sep 08 18:55:13 debian systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.<br>
> Sep 08 18:55:13 debian systemd[1]: Stopped Forward Password Requests to Wall Directory Watch.<br>
> Sep 08 18:55:13 debian systemd[1]: Stopped ACPI Events Check.<br>
> Sep 08 18:55:13 debian systemd[1]: Stopped target System Initialization.<br>
> Sep 08 18:55:13 debian systemd[1]: Stopped Apply Kernel Variables.<br>
> Sep 08 18:55:13 debian systemd[1]: Stopped Load Kernel Modules.<br>
> Sep 08 18:55:13 debian systemd[1]: Stopping LSB: NFS support files common to client and server...<br>
> Sep 08 18:55:13 debian nfs-common[893]: Stopping NFS common utilities: idmapd statd.<br>
> Sep 08 18:55:13 debian systemd[1]: Stopped target Encrypted Volumes.<br>
> Sep 08 18:55:13 debian systemd[1]: Stopped target Swap.<br>
> Sep 08 18:55:13 debian systemd[1]: Unmounted /run/rpc_pipefs.<br>
> Sep 08 18:55:13 debian systemd[1]: Stopped LSB: NFS support files common to client and server.<br>
> Sep 08 18:55:13 debian systemd[1]: Stopped target RPC Port Mapper.<br>
> Sep 08 18:55:13 debian systemd[1]: Stopping LSB: RPC portmapper replacement...<br>
> Sep 08 18:55:13 debian systemd[1]: Stopped target System Time Synchronized.<br>
> Sep 08 18:55:13 debian systemd[1]: Stopping Network Time Synchronization...<br>
> Sep 08 18:55:13 debian systemd[1]: Stopped Network Time Synchronization.<br>
> Sep 08 18:55:13 debian systemd[1]: Stopped Create Volatile Files and Directories.<br>
> Sep 08 18:55:13 debian rpcbind[478]: ^[[1;31mrpcbind terminating on signal. Restart with "rpcbind -w"^[[0m<br>
> Sep 08 18:55:13 debian rpcbind[902]: Stopping rpcbind daemon....<br>
> Sep 08 18:55:13 debian systemd[1]: Stopped LSB: RPC portmapper replacement.<br>
> Sep 08 18:56:43 debian systemd[1]: ^[[1;39mmnt-nfs.mount: Unmounting timed out. Stopping.^[[0m<br>
> Sep 08 18:58:13 debian systemd[1]: ^[[1;39mmnt-nfs.mount: Unmounting timed out. Stopping.^[[0m<br>
> Sep 08 18:58:54 debian kernel: ^[[1;39mnfs: server 192.168.179.20 not responding, timed out^[[0m<br>
> Sep 08 18:59:43 debian systemd[1]: ^[[1;39mmnt-nfs.mount: Unmounting timed out. Stopping.^[[0m<br>
<br>
and that goes on<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Why is it that all of the instruments seeking intelligent life in the<br>
universe are pointed away from Earth?<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Javier Ayres</div>
</div>