Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-6374 openrc/corenetwork improvements tracker
  3. FL-6362

/etc/init.d/netmount stop -- should lazy unmount to avoid hangs

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      It is currently possible for /etc/init.d/netmount to hang due to a stale/dead NFS mount, preventing the system from rebooting. The solution to this problem is to use the "-l" lazy option when unmounting filesystems.

      The entire script might need to be reworked, but a simple workaround to fix this issue is to change "umount -at" to "umount -lat" in the script. This allows a client system to reboot even if the remote NFS server is down. According to "man umount", the "-l" option appears to be designed for this purpose.

        Attachments

          Activity

            People

            Assignee:
            drobbins drobbins
            Reporter:
            drobbins drobbins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: