Systemd hangs on reboot or shutdown when nfs file system mounted even after RHBA-2018:0155

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux (RHEL) 7.4
  • systemd-219-42.el7_4.6

Issue

The proposed fix has not resolved the problem despite having the packages in RHBA-2018:0155 Advisory applied.

The following message still repeatedly pops up in the console on shutdown:

[  331.656199] nfs: server x.x.x.x not responding, still trying

Resolution

Root Cause

Previously, during the shutdown of the systemd service, all remaining mounts were remounted to be read-only. As a consequence, remounting a network file system in some cases became unresponsive as the network was no longer available in that scenario. With this update, network file systems are not remounted, and the system no longer hangs in the described situation.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.