[Bug 1165886] Re: overlayroot prevents shutdown / reboot under nfsroot
[Expired for cloud-initramfs-tools (Ubuntu) because there has been no activity for 60 days.] ** Changed in: cloud-initramfs-tools (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1165886 Title: overlayroot prevents shutdown / reboot under nfsroot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1165886/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1165886] Re: overlayroot prevents shutdown / reboot under nfsroot
Hi, Is this still relevant with 16.04 or 18.04 ? ** Changed in: cloud-initramfs-tools (Ubuntu) Importance: Medium => Wishlist ** Changed in: cloud-initramfs-tools (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1165886 Title: overlayroot prevents shutdown / reboot under nfsroot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1165886/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1165886] Re: overlayroot prevents shutdown / reboot under nfsroot
Also, anyone looking to debug shutdown issues should do three things: Set up a serial console on the affected machine by adding (there is a lot of documentation out there on how to do this) Add --verbose to the kernel parameters (the APPEND line if you are PXE booting) Change. Change VERBOSE to 'yes' in /lib/init/vars.sh That is how I was able to work out what was going on. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1165886 Title: overlayroot prevents shutdown / reboot under nfsroot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1165886/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1165886] Re: overlayroot prevents shutdown / reboot under nfsroot
Also, anyone looking to debug shutdown issues should do three things: Set up a serial console on the affected machine by adding (there is a lot of documentation out there on how to do this) Add --verbose to the kernel parameters (the APPEND line if you are PXE booting) Change. Change VERBOSE to 'yes' in /lib/init/vars.sh That is how I was able to work out what was going on. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1165886 Title: overlayroot prevents shutdown / reboot under nfsroot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1165886/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1165886] Re: overlayroot prevents shutdown / reboot under nfsroot
Turns out that the /etc/network/interfaces stuff I mentioned before was a red herring, here is the actual problem. Without overlayroot the (nfs) root filesystem is mounted at /, and on reboot/shutdown /etc/init.d/umountnfs.sh will skip that mount point when unmounting the network file systems (because of lines 49 50 of /etc/init.d/umountnfs.sh). With overlayroot enabled, the root filesystem is mounted at /, but the nfs mount that is under the overlay is mounted at /media/root-ro, which is NOT skipped during reboot/shutdown. The fix I have in place is to change line 49 of /etc/init.d/umountnfs.sh from: /|/proc|/dev|/dev/pts|/dev/shm|/proc/*|/sys|/run|/run/*) to: /|/proc|/dev|/dev/pts|/dev/shm|/proc/*|/sys|/run|/run/*|/media/root- ro) And I am able to reboot/shutdown properly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1165886 Title: overlayroot prevents shutdown / reboot under nfsroot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1165886/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1165886] Re: overlayroot prevents shutdown / reboot under nfsroot
Turns out that the /etc/network/interfaces stuff I mentioned before was a red herring, here is the actual problem. Without overlayroot the (nfs) root filesystem is mounted at /, and on reboot/shutdown /etc/init.d/umountnfs.sh will skip that mount point when unmounting the network file systems (because of lines 49 50 of /etc/init.d/umountnfs.sh). With overlayroot enabled, the root filesystem is mounted at /, but the nfs mount that is under the overlay is mounted at /media/root-ro, which is NOT skipped during reboot/shutdown. The fix I have in place is to change line 49 of /etc/init.d/umountnfs.sh from: /|/proc|/dev|/dev/pts|/dev/shm|/proc/*|/sys|/run|/run/*) to: /|/proc|/dev|/dev/pts|/dev/shm|/proc/*|/sys|/run|/run/*|/media/root- ro) And I am able to reboot/shutdown properly. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1165886 Title: overlayroot prevents shutdown / reboot under nfsroot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1165886/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1165886] Re: overlayroot prevents shutdown / reboot under nfsroot
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: cloud-initramfs-tools (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1165886 Title: overlayroot prevents shutdown / reboot under nfsroot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1165886/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1165886] Re: overlayroot prevents shutdown / reboot under nfsroot
Same symptoms as Michal and same inability to capture logs. This is fairly critical for me, how can I help move this forward? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1165886 Title: overlayroot prevents shutdown / reboot under nfsroot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1165886/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1165886] Re: overlayroot prevents shutdown / reboot under nfsroot
Same symptoms as Michal and same inability to capture logs. This is fairly critical for me, how can I help move this forward? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1165886 Title: overlayroot prevents shutdown / reboot under nfsroot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1165886/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1165886] Re: overlayroot prevents shutdown / reboot under nfsroot
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: cloud-initramfs-tools (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/1165886 Title: overlayroot prevents shutdown / reboot under nfsroot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1165886/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1165886] Re: overlayroot prevents shutdown / reboot under nfsroot
Just messing around trying to get this to work. if I remove the eth0 stanzas (auto eth0... iface eth0...) from /etc/network/interfaces, I am able to shutdown with nfsroot + overlayrootfs. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1165886 Title: overlayroot prevents shutdown / reboot under nfsroot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1165886/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1165886] Re: overlayroot prevents shutdown / reboot under nfsroot
Just messing around trying to get this to work. if I remove the eth0 stanzas (auto eth0... iface eth0...) from /etc/network/interfaces, I am able to shutdown with nfsroot + overlayrootfs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1165886 Title: overlayroot prevents shutdown / reboot under nfsroot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1165886/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1165886] Re: overlayroot prevents shutdown / reboot under nfsroot
** Changed in: cloud-initramfs-tools (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1165886 Title: overlayroot prevents shutdown / reboot under nfsroot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1165886/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1165886] Re: overlayroot prevents shutdown / reboot under nfsroot
** Changed in: cloud-initramfs-tools (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/1165886 Title: overlayroot prevents shutdown / reboot under nfsroot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1165886/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs