[Bug 40189] Re: [SRU] [xenial] autofs needs to be restarted to pick up some shares
Of 100 machines, it works 95 times. There's cases where it'd still fail with 18.04 Bionic here. ** Summary changed: - [SRU] [xenial] autofs needs to be restarted to pick up some shares + [SRU] [xenial] [bionic] 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 the bug report. https://bugs.launchpad.net/bugs/40189 Title: [SRU] [xenial] [bionic] autofs needs to be restarted to pick up some shares To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/40189/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 40189] Re: [SRU] [xenial] autofs needs to be restarted to pick up some shares
Good Moring, I would like to add some news. I have removed and purged autofs from one of my Thinkpads and installed autofs 5.1.2-1 from Bionic in Xenial. I have used the packages from http://archive.ubuntu.com/ubuntu/pool/main/a/autofs/autofs_5.1.2-1ubuntu2_amd64.de Surprise, the behaviour is exactly the same as in version 5.1.1. It won't work until the autofs.service is restarted. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/40189 Title: [SRU] [xenial] autofs needs to be restarted to pick up some shares To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/40189/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 40189] Re: [SRU] [xenial] autofs needs to be restarted to pick up some shares
Hello, It's me again. So with today I've checked with three different hosts. All running Xenial with autofs 5.1.1-1ubuntu3.1 and Kernel 4.4.0-116-generic. The host are a Thinkpad T410, X201 and a VirtualBox guest system. While the VirtualBox guest system works just fine, the autofs on the Thinkpads did not work directly after boot. The autofs.service needs to be restarted first in order to get autofs to work. I have used tcpdump an strace to get some better look on what is happening on the Thinkpads. So I did the following: 1. Boot Thinkpad 2. Setup tcpdump/wireshark snoop 3. Check that autofs is running with `sudo systemctl status autofs.service` 4. Run `strace ls -ld $MOUNTPOINT` where $MOUNTPOINT is the automounter share from automounter map In strace I see: lstat("$MOUNTPOINT", 0x14861a0) = -1 ENOENT (No such file or directory) The snoop shows that no single packet goes over the network to the NAS. Next step: 5. Run `sudo systemctl status autofs.service` 6. Run `strace ls -ld $MOUNTPOINT` where $MOUNTPOINT is the automounter share from automounter map Now, in strace I see: lstat("$MOUNTPOINT", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0 And in the snoop I see the expected packages crossing the network. That's it. I do not know what else I could do to help with this matter. If you need additional information tell me what you need, please. Regards, Tronde -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/40189 Title: [SRU] [xenial] autofs needs to be restarted to pick up some shares To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/40189/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 40189] Re: [SRU] [xenial] autofs needs to be restarted to pick up some shares
Ok, I'm lost. Today I've checked in another Xenial with autofs 5.1.1-1ubuntu3.1. Kernel is 4.4.0-116-generic as in the system of my last post. But in this system I have to restart autofs.service each time after a (re)boot otherwise I cannot access the shares. I really don't get it. Maybe some other users could try to reproduce the problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/40189 Title: [SRU] [xenial] autofs needs to be restarted to pick up some shares To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/40189/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 40189] Re: [SRU] [xenial] autofs needs to be restarted to pick up some shares
Today I've checked in Xenial with autofs 5.1.1-1ubuntu3.1. So far it seems to be working here as well. I would guess this bug is fixed then. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/40189 Title: [SRU] [xenial] autofs needs to be restarted to pick up some shares To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/40189/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 40189] Re: [SRU] [xenial] autofs needs to be restarted to pick up some shares
Thanks for the ping on this lnog standing bug @Tronde. I updated the state accordingly. If there is a change to be identified since Xenial->Bionic one could try to SRU fix it in Xenial. But I took a (quick) look and found nothing obvious. There are major changes like going from sysV init in /etc/init.d/autofs to a native systemd service in /lib/systemd/system/autofs.service. One would need to debug if there is something that can be brought into the systemV init to fix it. I appreciate your former steps to reproduce, but they failed for me :-/ Without having more time debugging why I can't reproduce atm I'd need to ask you (or others) to debug what the missing new bit might be to fix up xenial. ** Also affects: autofs (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: upstart (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: autofs5 (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: autofs (Ubuntu) Status: Confirmed => Fix Released ** No longer affects: autofs5 (Ubuntu Xenial) ** No longer affects: upstart (Ubuntu Xenial) ** Changed in: autofs (Ubuntu Xenial) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/40189 Title: [SRU] [xenial] autofs needs to be restarted to pick up some shares To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/40189/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 40189] Re: [SRU] [xenial] autofs needs to be restarted to pick up some shares
Is there anything else to do? Any chance to get a version update in Xenial? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/40189 Title: [SRU] [xenial] autofs needs to be restarted to pick up some shares To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/40189/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 40189] Re: [SRU] [xenial] autofs needs to be restarted to pick up some shares
I've just checked in Bionic: ~~~ $ uname -rvsop Linux 4.15.0-10-generic #11-Ubuntu SMP Tue Feb 13 18:23:35 UTC 2018 x86_64 GNU/Linux $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu Bionic Beaver (development branch) Release:18.04 Codename: bionic $ sudo apt list autofs Auflistung... Fertig autofs/bionic,now 5.1.2-1ubuntu2 amd64 [installiert] ~~~ In this version the bug seems to be fixed. AutoFS works as expected. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/40189 Title: [SRU] [xenial] autofs needs to be restarted to pick up some shares To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/40189/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 40189] Re: [SRU] [xenial] autofs needs to be restarted to pick up some shares
A good first step would be for someone to check that the bug is fixed in bionic, as the package has been updated there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/40189 Title: [SRU] [xenial] autofs needs to be restarted to pick up some shares To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/40189/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs