[Bug 50430] Re: NIS has problems starting before the network comes up
Should be fixed in Ubuntu 12.04 after moving to Upstart. ** Changed in: network-manager (Ubuntu) Status: Confirmed = Fix Released ** Changed in: nis (Ubuntu) Status: Confirmed = Fix Released ** Changed in: autofs (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in Ubuntu. https://bugs.launchpad.net/bugs/50430 Title: NIS has problems starting before the network comes up To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/50430/+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 50430] Re: NIS has problems starting before the network comes up
Is anyone still having this problem in Ubuntu 12.04? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in Ubuntu. https://bugs.launchpad.net/bugs/50430 Title: NIS has problems starting before the network comes up To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/50430/+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 50430] Re: NIS has problems starting before the network comes up
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: network-manager (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in Ubuntu. https://bugs.launchpad.net/bugs/50430 Title: NIS has problems starting before the network comes up To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/50430/+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 50430] Re: NIS has problems starting before the network comes up
Solution suggested by gwir above does not solve the problem on Natty 11.04. I still need to restart autofs by hand to get access to my NFS remote home directories and so to my Ubuntu desktop. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in Ubuntu. https://bugs.launchpad.net/bugs/50430 Title: NIS has problems starting before the network comes up To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/50430/+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 50430] Re: NIS has problems starting before the network comes up
Hello, This is the script i'm using : /etc/network/if-up.d/net_is_configured : #!/bin/sh # Testing if network is up before continuing network=`route -n | sed -ne '/^224/d' -e '/^127/d' -e '/^[0-9]/p'`; timeout=0 while [ ${network} = ] [ ${timeout} -le 20 ] do network=`route -n | sed -ne '/^224/d' -e '/^127/d' -e '/^[0-9]/p'`; echo -n .; timeout=$((${timeout} + 1)); sleep 1; done if [ ${timeout} -ge 20 ];then echo Pas de connexion réseau; else echo Done; fi Hope this will help you -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in Ubuntu. https://bugs.launchpad.net/bugs/50430 Title: NIS has problems starting before the network comes up -- 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 50430] Re: NIS has problems starting before the network comes up
got a really ugly fix that make nis finally working... at this to your /etc/rc.local : while [ ! `/bin/pidof ypbind` ] do /etc/init.d/nis restart sleep 2 done exit 0 that should do it! -- NIS has problems starting before the network comes up https://bugs.launchpad.net/bugs/50430 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 50430] Re: NIS has problems starting before the network comes up
Here's what I use. This works for me in 10.04 (and below) but I haven't tried it with 10.10 yet. It sure as heck would be nice if someone paid a little attention to this bug. Save this as reautofs, then follow the directions in the comments. #!/bin/sh # # Stupid NetworkManager doesn't wait for NIS to start before starting # autofs, so we have no maps. Restart it. # # Install with: # sudo cp ~/Downloads/reautofs /etc/init.d # sudo update-rc.d reautofs defaults 99 # # # Author: Paul Smith psm...@gnu.org start () { nohup /bin/sh -c ' while true; do ypwhich break; sleep 1; done; /etc/init.d/autofs restart ' /dev/null /dev/null 21 } case $1 in start) start ;; *) : no op ;; esac -- NIS has problems starting before the network comes up https://bugs.launchpad.net/bugs/50430 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 50430] Re: NIS has problems starting before the network comes up
NetworkManager can't be uninstalled without uninstalling ubuntu- desktop as well :-(. Filed bug 503264 about that. -- NIS has problems starting before the network comes up https://bugs.launchpad.net/bugs/50430 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs 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 50430] Re: NIS has problems starting before the network comes up
Has anybody managed to work around this on Karmic? I just upgraded to Karmic, and my previous workaround is no good any more, and I now have to (re)start NIS manually at each boot :-(. Also, the top of the bug page says This bug affects you and one other person. Considering the amount of people subscribed to this that doesn't sound reasonable, please mark the top of the bug page if you're affected! -- NIS has problems starting before the network comes up https://bugs.launchpad.net/bugs/50430 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs 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
Re: [Bug 50430] Re: NIS has problems starting before the network comes up
Johan, unless you use NIS on an laptop I recommend to deinstall network-manager and use the old style /etc/interfaces configuration. At least this works for me. Don't have the respective machine at hand right now, so I'm not 100% sure if it is karmic already but I positively think so. g., fil - Johan Walles johan.wal...@gmail.com schrieb: Has anybody managed to work around this on Karmic? I just upgraded to Karmic, and my previous workaround is no good any more, and I now have to (re)start NIS manually at each boot :-(. Also, the top of the bug page says This bug affects you and one other person. Considering the amount of people subscribed to this that doesn't sound reasonable, please mark the top of the bug page if you're affected! -- NIS has problems starting before the network comes up https://bugs.launchpad.net/bugs/50430 You received this bug notification because you are a direct subscriber of the bug. Status in “autofs” package in Ubuntu: Confirmed Status in “network-manager” package in Ubuntu: New Status in “nis” package in Ubuntu: Confirmed Bug description: Binary package hint: nis in /etc/rcX.d there are the symlinks, but I can not log in with a nis User. If I manually start /etc/init.d/nis from console with a local Account, after that I can log in with an NIS-account on Console and GDM. This Bug appears after Update to Kernel -25. May be NIS starts to early, before the Network is running. To unsubscribe from this bug, go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/50430/+subscribe -- NIS has problems starting before the network comes up https://bugs.launchpad.net/bugs/50430 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs 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 50430] Re: NIS has problems starting before the network comes up
System | Administration | Services That's all nice and good, but with the conversion to Upstart in karmic, this doesn't apply anymore. Anyone have a more karmic solution? Sean -- NIS has problems starting before the network comes up https://bugs.launchpad.net/bugs/50430 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs 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 50430] Re: NIS has problems starting before the network comes up
The workaround for this is well known but is not really explained anywhere in any one place; there are comments on all the bugs related to this one (especially 354588) and also in the Ubuntu forums. What is comes down to is the ordering of startup of NIS and NetworkManager. If NetworkManager is allowed to start after NIS then NIS takes ages to time out hence the boot delay. If NIS is started after NetworkManager then NIS still fails to start properly at this time but its time outs are much quicker and so there is no noticeable delay in booting. NIS binding still completes correctly once NetworkManager completes its boot up later in the cycle. So the workaround had to rearrange the boot order. In particular to reset the start number of NIS to 60 -- something sufficiently after 50 (the start number of NetworkManager) that things work. So if you use the services manager tool: System | Administration | Services You unlock the settings then check the properties of NIS and reset the start number for all active run levels to something bigger than NetworkManager. In my case I chose 60. I have no idea how the changes is boot system coming with Karmic will affect all this. Given that the problem has existed for years and whilst confirmed no real fix has been made, I fully expect the upgrade from Jaunty to Karmic to result in total chaos requiring manual fixing by the user -- again. OK so I am grumpy, but this problem has been known for over 3 years and not been properly addressed by the Ubuntu team. Let us hope my fears do not come to fruition. -- NIS has problems starting before the network comes up https://bugs.launchpad.net/bugs/50430 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs 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 50430] Re: NIS has problems starting before the network comes up
vagr...@vagrant-laptop:/etc/init.d$ sudo /etc/init.d/nis start sudo: unable to resolve host vagrant-laptop * Starting NIS services * binding to YP server... * * * * * * * * * * [fail] [ OK ] OS: Ubuntu9.10 karmic software version: nis_3.17-25ubuntu1_i386.deb Could anyone have a workaround fix? Thank you very much, Amen I've searched related possible resolutions for the whole day. : '( -- NIS has problems starting before the network comes up https://bugs.launchpad.net/bugs/50430 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs 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 50430] Re: NIS has problems starting before the network comes up
** Changed in: autofs (Ubuntu) Status: Incomplete = Confirmed -- NIS has problems starting before the network comes up https://bugs.launchpad.net/bugs/50430 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs 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
Re: [Bug 50430] Re: NIS has problems starting before the network comes up
Chuck, This seems to be working, but my box isnt a super clean test - its had upgrades from earlier revs and I cant remember if I moved the /etc/rc2.d startup script #'s around... can you tell if this is the stock order of init scripts? tes...@lucky:/etc/rc2.d$ ls -la total 20 drwxr-xr-x 2 root root 4096 Oct 5 13:47 . drwxr-xr-x 149 root root 12288 Oct 13 11:21 .. -rw-r--r-- 1 root root 677 Oct 2 06:57 README lrwxrwxrwx 1 root root19 Aug 12 14:22 S01policykit - ../init.d/policykit lrwxrwxrwx 1 root root14 Aug 12 14:22 S10apmd - ../init.d/apmd lrwxrwxrwx 1 root root18 Aug 12 14:22 S10sysklogd - ../init.d/sysklogd lrwxrwxrwx 1 root root15 Aug 12 14:22 S11klogd - ../init.d/klogd lrwxrwxrwx 1 root root13 Aug 25 14:56 S16ssh - ../init.d/ssh lrwxrwxrwx 1 root root13 Aug 12 14:42 S18nis - ../init.d/nis lrwxrwxrwx 1 root root16 Aug 12 14:42 S19autofs - ../init.d/autofs lrwxrwxrwx 1 root root17 Sep 14 11:55 S20couchdb - ../init.d/couchdb lrwxrwxrwx 1 root root28 Aug 27 12:34 S20dkms_autoinstaller - ../init.d/d if it is the same as a default karmic install, then I think the bug is fixed. if I have time, I could do a fresh karmic install and test - which ISO would you like me to use to test this? thanks for checking in... BTW: Karmic Xorg server has been really nutty lately... thats my current problem. Just logged a bug. :) Matt Chuck Short wrote: Hi, I was wondering if this is still a problem on karmic? Regards chuck ** Changed in: autofs (Ubuntu) Importance: Undecided = Low ** Changed in: autofs (Ubuntu) Status: New = Incomplete -- NIS has problems starting before the network comes up https://bugs.launchpad.net/bugs/50430 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs 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