[Bug 733914] Re: autofs races network interfaces, ends up not working
lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix". ** Changed in: autofs5 (Ubuntu Lucid) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733914 Title: autofs races network interfaces, ends up not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/733914/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 733914] Re: autofs races network interfaces, ends up not working
maverick has seen the end of its life and is no longer receiving any updates. Marking the maverick task for this ticket as "Won't Fix". ** Changed in: autofs5 (Ubuntu Maverick) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733914 Title: autofs races network interfaces, ends up not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/733914/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 733914] Re: autofs races network interfaces, ends up not working
Shane, I've unmarked this bug as a duplicate. Can you provide justification why you think they are the same problem? ** This bug is no longer a duplicate of bug 40189 autofs needs to be restarted to pick up some shares -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733914 Title: autofs races network interfaces, ends up not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/733914/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 733914] Re: autofs races network interfaces, ends up not working
*** This bug is a duplicate of bug 40189 *** https://bugs.launchpad.net/bugs/40189 ** This bug has been marked a duplicate of bug 40189 autofs needs to be restarted to pick up some shares -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733914 Title: autofs races network interfaces, ends up not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/733914/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 733914] Re: autofs races network interfaces, ends up not working
Hi, I'm still having problems with autofs starting correctly when I boot. My network has an LDAP server that hands out the maps, so I have autofs5-ldap installed. Startup worked fine in Lucid and Maverick, but Natty refuses to mount on a boot without restarting autofs. This is what's in the logs on an incorrect start: May 13 12:05:40 nitrous automount[858]: Starting automounter version 5.0.5, master map /etc/auto.master May 13 12:05:40 nitrous automount[858]: using kernel protocol version 5.02 May 13 12:05:40 nitrous automount[858]: lookup_nss_read_master: reading master file /etc/auto.master May 13 12:05:40 nitrous automount[858]: parse_init: parse(sun): init gathered global options: (null) May 13 12:05:40 nitrous automount[858]: lookup_read_master: lookup(file): read entry +auto.master May 13 12:05:40 nitrous automount[858]: lookup_nss_read_master: reading master ldap auto.master May 13 12:05:40 nitrous automount[858]: parse_init: parse(sun): init gathered global options: (null) May 13 12:05:40 nitrous automount[858]: lookup(file): failed to read included master map auto.master May 13 12:05:40 nitrous automount[858]: no mounts in table This is what autofs returns when I restart: May 13 12:09:34 nitrous automount[1300]: Starting automounter version 5.0.5, master map /etc/auto.master May 13 12:09:34 nitrous automount[1300]: using kernel protocol version 5.02 May 13 12:09:34 nitrous automount[1300]: lookup_nss_read_master: reading master file /etc/auto.master May 13 12:09:34 nitrous automount[1300]: parse_init: parse(sun): init gathered global options: (null) May 13 12:09:34 nitrous automount[1300]: lookup_read_master: lookup(file): read entry +auto.master May 13 12:09:34 nitrous automount[1300]: lookup_nss_read_master: reading master ldap auto.master May 13 12:09:34 nitrous automount[1300]: parse_init: parse(sun): init gathered global options: (null) May 13 12:09:34 nitrous automount[1300]: master_do_mount: mounting /auto May 13 12:09:34 nitrous automount[1300]: automount_path_to_fifo: fifo name /var/run/autofs.fifo-auto May 13 12:09:34 nitrous automount[1300]: lookup_nss_read_map: reading map ldap ldap:ou=auto.home,ou=autofs,dc=***,dc=*** May 13 12:09:34 nitrous automount[1300]: parse_init: parse(sun): init gathered global options: (null) May 13 12:09:34 nitrous automount[1300]: mounted indirect on /auto with timeout 300, freq 75 seconds May 13 12:09:34 nitrous automount[1300]: st_ready: st_ready(): state = 0 path /auto Any suggestions? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733914 Title: autofs races network interfaces, ends up not working -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 733914] Re: autofs races network interfaces, ends up not working
Glad to hear that this is working better for people, thanks for the feedback! I'm a little torn as to whether this would be appropriate for SRU to lucid. On one hand I think it works better for most people. On the other hand, it changes the boot behavior in a way that *might* break peoples' systems if they are somehow depending on autofs for bringing up services which support network interfaces beyond the "first" one. Still, the bug is in lucid, so I've opened a task for it, and maverick. ** Also affects: autofs5 (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: autofs5 (Ubuntu Maverick) Importance: Undecided Status: New ** Changed in: autofs5 (Ubuntu Lucid) Status: New => Confirmed ** Changed in: autofs5 (Ubuntu Maverick) 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/733914 Title: autofs races network interfaces, ends up not working -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 733914] Re: autofs races network interfaces, ends up not working
hey Clint, its working now with 5.0.5-0ubuntu6 :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733914 Title: autofs races network interfaces, ends up not working -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 733914] Re: autofs races network interfaces, ends up not working
5.0.5-0ubuntu6 working perfectly for me too :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733914 Title: autofs races network interfaces, ends up not working -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 733914] Re: autofs races network interfaces, ends up not working
5.0.5-0ubuntu6 has resolved the problem for me -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733914 Title: autofs races network interfaces, ends up not working -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 733914] Re: autofs races network interfaces, ends up not working
Excerpts from Jungle Boy's message of Sun Apr 10 09:27:04 UTC 2011: > I am seeing the same problem with all updates ... have to start autofs > manually Hi Jungle Boy, what version didn't work for you? 5.0.5-0ubuntu6 was just uploaded which should fix the automatic start. > > -- > You received this bug notification because you are a member of Canonical > Server Team, which is a bug assignee. > https://bugs.launchpad.net/bugs/733914 > > Title: > autofs races network interfaces, ends up not working > > Status in “autofs5” package in Ubuntu: > Fix Released > Status in “autofs5” source package in Natty: > Fix Released > > Bug description: > Binary package hint: autofs5 > > When autofs starts, the network may not be up yet. "started net- > device-up IFACE!=lo" does not handle multi-homed machines, bridging, > etc. autofs needs to wait until all configured networking has finished > coming up before starting. > > ProblemType: Bug > DistroRelease: Ubuntu 11.04 > Package: autofs5 5.0.5-0ubuntu4 > ProcVersionSignature: Ubuntu 2.6.38-6.34-generic 2.6.38-rc7 > Uname: Linux 2.6.38-6-generic x86_64 > Architecture: amd64 > Date: Sat Mar 12 08:58:22 2011 > ProcEnviron: >LANGUAGE=en_US:en >PATH=(custom, user) >LANG=en_US.UTF-8 >SHELL=/bin/bash > SourcePackage: autofs5 > UpgradeStatus: Upgraded to natty on 2006-11-27 (1565 days ago) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733914 Title: autofs races network interfaces, ends up not working -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 733914] Re: autofs races network interfaces, ends up not working
I am seeing the same problem with all updates ... have to start autofs manually -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733914 Title: autofs races network interfaces, ends up not working -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 733914] Re: autofs races network interfaces, ends up not working
Autofs still fails to start on a clean natty install today. I've checked the package version and it's 5.0.5-0ubuntu5... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733914 Title: autofs races network interfaces, ends up not working -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 733914] Re: autofs races network interfaces, ends up not working
The fix for this: --- autofs5-5.0.5/debian/autofs5.autofs.upstart +++ autofs5-5.0.5/debian/autofs5.autofs.upstart @@ -4,56 +4,15 @@ start on (filesystem - and net-device-up IFACE!=lo) + and net-device-up + and mounting TYPE=nfs) stop on runlevel [!2345] Causes mountall to fail to mount any NFS mounts in /etc/fstab. The reason is mounting TYPE=nfs comes every time an NFS mount is *attempted* ... even when it will fail.. TO test this: Add this to /etc/fstab (replacing ip/dir with a valid NFS mount of course): 192.168.122.1:/home/clint /mnt nfs ro,nolock 0 0 With the previous version of autofs, this would work fine on reboot. Now install 5.0.5-0ubuntu5 .. on reboot, /mnt will not be mounted. Also there is no explanation given as to why we are now ignoring /etc/default/autofs which is a bug since upgrades from Maverick will break. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733914 Title: autofs races network interfaces, ends up not working -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 733914] Re: autofs races network interfaces, ends up not working
This bug was fixed in the package autofs5 - 5.0.5-0ubuntu5 --- autofs5 (5.0.5-0ubuntu5) natty; urgency=low * Improve autofs.conf upstart script. Prevent race when trying to start networking. (LP: #733914) * debian/autofs5-ldap.install: Install schema in the right place. (LP: #699855) * Suggest smbfs if you want to use cifs. (LP: #579857) * Dropped 13ldap_module_linkage.dpatch no longer needed. * Refresh with missing upstream patches. -- Chuck ShortSat, 02 Apr 2011 22:25:34 -0400 ** Changed in: autofs5 (Ubuntu Natty) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733914 Title: autofs races network interfaces, ends up not working -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 733914] Re: autofs races network interfaces, ends up not working
** Tags added: server-nrs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733914 Title: autofs races network interfaces, ends up not working -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 733914] Re: autofs races network interfaces, ends up not working
** Tags added: regression-release ** Also affects: autofs5 (Ubuntu Natty) Importance: Undecided Status: New ** Changed in: autofs5 (Ubuntu Natty) Assignee: (unassigned) => Canonical Server Team (canonical-server) ** Changed in: autofs5 (Ubuntu Natty) Milestone: None => ubuntu-11.04-beta-1 ** Changed in: autofs5 (Ubuntu Natty) 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/733914 Title: autofs races network interfaces, ends up not working -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs