[Bug 1577575] Re: NFS share does not mount on boot using fstab
please reopen if this is still an issue ** Changed in: systemd (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577575 Title: NFS share does not mount on boot using fstab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1577575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577575] Re: NFS share does not mount on boot using fstab
I did a little more testing and this looks to be specific to /home. Even mounting over /home (no linking) with autofs results in the same issue. All autofs files as well as the list of packages installed have been attached. As a side note, having /home as a link is an artifact of some very old build scripts and worked fine with an /etc/fstab NFS mount. autofs was deployed as a workaround for bug #1577575. The new workaround for both these bugs is to update all /etc/passwd entries to /vol/home/. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577575 Title: NFS share does not mount on boot using fstab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1577575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577575] Re: NFS share does not mount on boot using fstab
Sorry - those last two comments were meant for bug #1827286. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577575 Title: NFS share does not mount on boot using fstab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1577575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577575] Re: NFS share does not mount on boot using fstab
** Attachment added: "chi.packages" https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1577575/+attachment/5261278/+files/chi.packages -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577575 Title: NFS share does not mount on boot using fstab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1577575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577575] Re: NFS share does not mount on boot using fstab
Quick update - switched to autofs as a workaround for this 16.04 issue. That was fine until I ran 'apt upgrade' today. Now I get the following error: root@chi:~# ls -la /vol/home/ ls: cannot access '/vol/home/': Too many levels of symbolic links root@chi:~# I'll be opening a new bug for autofs while considering a move back to Debian or a jump to CentOS. If anyone is using autofs as a workaround for the systemd issue, be very careful with an apt upgrade. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577575 Title: NFS share does not mount on boot using fstab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1577575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577575] Re: NFS share does not mount on boot using fstab
I should note this is impacting an image built from 16.04.4. Another image built from 16.04.1 is working fine. Both have been pulled forward via apt dist-upgrade and their behaviors differ - concerning in it's own right. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577575 Title: NFS share does not mount on boot using fstab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1577575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577575] Re: NFS share does not mount on boot using fstab
Same issue here. NFS fails to mount at boot, but logging in and issuing a manual "mount -a" resolves until the next reboot. It should also be noted that there's a significant delay on boot with nfs entries in fstab - need to time it, but ~1 minute. Why issues with something as old/stable/boring as NFS? ** Also affects: nfs-utils (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577575 Title: NFS share does not mount on boot using fstab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1577575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577575] Re: NFS share does not mount on boot using fstab
This is affecting me as well but oddly not all hosts. One host will be problematic for a while then it will shift to another. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577575 Title: NFS share does not mount on boot using fstab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1577575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577575] Re: NFS share does not mount on boot using fstab
I have the same issue - installed version of 18.04 today and none of my NFS mounts happen at boot. May 30 17:23:41 can-srv systemd[1]: mnt-docker.mount: Directory /mnt/docker to mount over is not empty, mounting anyway. May 30 17:23:41 can-srv systemd[1]: Mounting /mnt/docker... May 30 17:23:41 can-srv mount[834]: mount.nfs: Network is unreachable May 30 17:23:41 can-srv systemd[1]: mnt-docker.mount: Mount process exited, code=exited status=32 May 30 17:23:41 can-srv systemd[1]: mnt-docker.mount: Failed with result 'exit-code'. May 30 17:23:41 can-srv systemd[1]: Failed to mount /mnt/docker. They work fine with a mount -a at login ... but i need them up before services start. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577575 Title: NFS share does not mount on boot using fstab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1577575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577575] Re: NFS share does not mount on boot using fstab
I am experiencing the exact same issue with a fresh install of Ubuntu 18.04. Five other machines on the same network with the same NFS mount are not experiencing the issue. Three are 18.04 but were upgraded from 14.04 or 16.04 and the other two are on 16.04 and were upgraded from 12.04 and will soon be upgraded to 18.04. I have reinstalled 18.04 from scratch twice on the new box and each time the same issue happens. The NFS fails to mount using /etc/fstab. The temporary fix is to use the crontab to mount shortly after boot. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577575 Title: NFS share does not mount on boot using fstab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1577575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577575] Re: NFS share does not mount on boot using fstab
This bug reappeared (with cifs/smb mounts in fstab) after upgrade to 17.10 "artful" for me. The fix in #5 worked just fine. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577575 Title: NFS share does not mount on boot using fstab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1577575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577575] Re: NFS share does not mount on boot using fstab
I have similar problems with a cifs/smb mount sometimes. Can not reliable reproduce this, but maybe adding lines to /lib/systemd/system/remote-fs-pre.target helps: Wants=network-online.target After=network-online.target like stated here: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1429975 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577575 Title: NFS share does not mount on boot using fstab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1577575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577575] Re: NFS share does not mount on boot using fstab
Have been plagued with this for a while now, noted that Debian tracked a similar issue (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746358) but the solution/scripting is different for ubuntu but could this be ported? Problem presents on every boot, I use the linux-bridge package to create a bridge for a kvm/qemu guest networks. NFS server is in my local network one physical hop from the client. /etc/fstab contains: 192.168.1.2: /nfs/mnt/blacknas nfs defaults 0 0 Boot hangs for the 91 seconds trying to mount this, fails, completes the boot to desktop. Once on the desktop a 'sudo mount -a' the successfully mounts the nfs share. No issues on shutdown. ** Bug watch added: Debian Bug tracker #746358 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746358 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577575 Title: NFS share does not mount on boot using fstab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1577575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577575] Re: NFS share does not mount on boot using fstab
** Changed in: systemd (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577575 Title: NFS share does not mount on boot using fstab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1577575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577575] Re: NFS share does not mount on boot using fstab
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: systemd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577575 Title: NFS share does not mount on boot using fstab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1577575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577575] Re: NFS share does not mount on boot using fstab and does not unmount if mounted manually
I just noticed the shutdown part of my bug description is not true (anymore). Maybe I got things mixed up or something changed during the last week. Anyway, the boot problem is alive and well. ** Summary changed: - NFS share does not mount on boot using fstab and does not unmount if mounted manually + NFS share does not mount on boot using fstab -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577575 Title: NFS share does not mount on boot using fstab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1577575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs