FS#46393 - [systemd] cannot poweroff when nfs is mounted

Attached to Project: Arch Linux
Opened by Roman Kosenko (kite) - Tuesday, 22 September 2015, 09:40 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 27 November 2016, 23:05 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
When nfs is mounted but server is not available at the moment it's impossible to reboot/poweroff a client - I have waited for half an hour and then have no change except do hardware poweroff. I haven't look how it's implemented, but after some timeout for remote filesystems it's better to do something like umount -fl instead of waiting indefinitely. Also I think it's good idea to turn on sysrq keys before going to runlevel 0 or 6 for such cases.

Additional info:
$ pacman -Q systemd
systemd 226-1
$ pacman -Q nfs-utils
nfs-utils 1.3.2-6

Steps to reproduce:
mount nfs, turn off nfs server, try to poweroff a client.
This task depends upon

Closed by  Dave Reisner (falconindy)
Sunday, 27 November 2016, 23:05 GMT
Reason for closing:  No response
Comment by Samantha McVey (samcv) - Friday, 10 June 2016, 22:04 GMT
Roman,
Can you please let me know if this problem is fixed in the most recent version of systemd (and other packages as well). I think I ran into this problem once before, but I don't use NFS anymore. Your response is greatly appreciated.

Loading...