[Bug 570513] Re: NIS-based autofs maps don't load on startup
*** This bug is a duplicate of bug 573919 *** https://bugs.launchpad.net/bugs/573919 ** This bug has been marked a duplicate of bug 573919 NIS-based autofs maps don't load on startup -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in Ubuntu. https://bugs.launchpad.net/bugs/570513 Title: NIS-based autofs maps don't load on startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/570513/+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 570513] Re: NIS-based autofs maps don't load on startup
This is a patch a applied to /etc/init/autofs.conf to make the autofs upstart job wait for NIS. The loop was inspired by the same loop in /etc/init.d/nis. ** Patch added: Patch to /etc/init/autofs.conf waiting for NIS https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/570513/+attachment/2469380/+files/autofs.conf.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in Ubuntu. https://bugs.launchpad.net/bugs/570513 Title: NIS-based autofs maps don't load on startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/570513/+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 570513] Re: NIS-based autofs maps don't load on startup
The attachment Patch to /etc/init/autofs.conf waiting for NIS of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report. [This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in Ubuntu. https://bugs.launchpad.net/bugs/570513 Title: NIS-based autofs maps don't load on startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/570513/+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 570513] Re: NIS-based autofs maps don't load on startup
This bug also breaks gdm on NIS accounts with automounted NFS home directories ! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in Ubuntu. https://bugs.launchpad.net/bugs/570513 Title: NIS-based autofs maps don't load on startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/570513/+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 570513] Re: NIS-based autofs maps don't load on startup
This should be fixed when bug 569757 is fixed (migration of NIS to upstart). -- NIS-based autofs maps don't load on startup https://bugs.launchpad.net/bugs/570513 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nis in ubuntu. -- 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 570513] Re: NIS-based autofs maps don't load on startup
Reloading autofs in /etc/rc.local doesn't work for me as my /usr/local is also automounted and seems to be busy at that time which makes autofs restart freeze. @Lars Kellogg-Stedman: thanks, that does seem to work for me although I wonder what the side effects might be. If I understand this correctly it will make autofs start after everything else starts, right? Nico -- NIS-based autofs maps don't load on startup https://bugs.launchpad.net/bugs/570513 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nis in ubuntu. -- 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 570513] Re: NIS-based autofs maps don't load on startup
@Dern: That's correct, anything started out of /etc/init.d will start up before autofs with this configuration. My solution is really just a hack to work around the fundamental problem. -- NIS-based autofs maps don't load on startup https://bugs.launchpad.net/bugs/570513 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nis in ubuntu. -- 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 570513] Re: NIS-based autofs maps don't load on startup
I'm also hitting this problem. Obviously the correct solution is to move nis to use upstart and then make autofs depend on nis being up. In the interim, I've modified autofs.conf to wait for the rc process to finish: start on (filesystem and net-device-up IFACE!=lo and stopped rc RUNLEVEL=[2345]) stop on runlevel[!2345] -- NIS-based autofs maps don't load on startup https://bugs.launchpad.net/bugs/570513 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nis in ubuntu. -- 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 570513] Re: NIS-based autofs maps don't load on startup
The issue is that autofs is now an upstart script but NIS wasn't converted to upstart yet. So nothing ensures that NIS is started before AutoFS. A workaround would be to reload AutoFS in /etc/rc.local, since S99rc.local should always run after S99nis. ** Changed in: nis (Ubuntu) Importance: Undecided = Medium ** Changed in: nis (Ubuntu) Status: New = Confirmed ** Changed in: autofs5 (Ubuntu) Status: Incomplete = Invalid -- NIS-based autofs maps don't load on startup https://bugs.launchpad.net/bugs/570513 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nis in ubuntu. -- 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 570513] Re: NIS-based autofs maps don't load on startup
Looks like a dupe from bug 533029 ... Any chance you could upgrade to autofs5 5.0.4-3.1ubuntu5 and check that it also fixes it for you ? ** Changed in: autofs5 (Ubuntu) Importance: Undecided = Medium ** Changed in: autofs5 (Ubuntu) Status: New = Incomplete -- NIS-based autofs maps don't load on startup https://bugs.launchpad.net/bugs/570513 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nis in ubuntu. -- 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 570513] Re: NIS-based autofs maps don't load on startup
That did not fix the problem. This line from syslog looks relevant: automount[1378]: lookup_init:136: lookup(yp): map auto.master: Local domain name not set It looks like nis hasn't been converted to upstart, and autofs therefore can't depend on any event it might emit. -- NIS-based autofs maps don't load on startup https://bugs.launchpad.net/bugs/570513 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nis in ubuntu. -- 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 570513] Re: NIS-based autofs maps don't load on startup
I forgot to mention it, but if I stop/start autofs or reload autofs, the automounts start working. -- NIS-based autofs maps don't load on startup https://bugs.launchpad.net/bugs/570513 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nis in ubuntu. -- 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