[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
This bug was fixed in the package mountall - 2.52 --- mountall (2.52) unstable; urgency=low * Don't emit extra 'mounting' events for mounts already in progress; this will cause double triggering of some jobs for remote filesystems, and can also cause us to miss 'mounted' events. LP: #1048017. * Fix mountall upstart job to not start a subshell for reading /proc/cmdline, since this causes upstart to lose track of the daemon process and leaves mountall-net unable to signal it to retry network mounts. LP: #1235013. -- Steve Langasek vor...@debian.org Wed, 09 Oct 2013 04:12:51 + ** Changed in: mountall (Ubuntu) Status: Fix Committed = 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/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
pat@Pats-Main:~$ sudo initctl status mountall [sudo] password for pat: mountall start/running, process 266 pat@Pats-Main:~$ ps 266 PID TTY STAT TIME COMMAND I moved ~/.smbcredentials to /.smbcredentials and chown'ed it to root:pat 0777. It's still not automounting on login. Let me know when you're getting way too frustrated for this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
Oh, already well past frustrated, here. :) But the latest results at least confirm one thing, the mountall process is dying before mountall- net signals it (and before it successfully mounts the network mounts, either). This doesn't make it any less confusing - if mountall died, upstart should have detected that and marked the job as 'stopped' (and possibly handled any errors from mountall itself). Something's going very wrong here, but I have no guesses as to what, except if you have some local upstart jobs that are blocking signals or some of your system binaries have been modified (which you could check by installing debsums and running 'debsums -s', I suppose). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
OK, I accuired a wild hair and downgraded mountall to v2.48build1(raring) and now everything is alright. I still get the flood of cifs errors on boot, but once I log on, my cifs shares are mounted. I looked for my mountall.log, but it appears to have gone MIA... :$ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
Ah, and now I'm able to reproduce this problem here... and have pinned down which change of mine caused it. Apparently mountall-net was broken for everyone, and I just managed to not notice. Sorry about that. I'll push a fix ASAP for 13.10. ** Changed in: cifs-utils (Ubuntu) Status: New = Invalid ** Changed in: mountall (Ubuntu) Status: New = Fix Committed ** Changed in: mountall (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
** Branch linked: lp:ubuntu/mountall -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
So I've just debugged bug #1233610 regarding a similar issue with NFS mounts. Do you have a hostname for 192.168.1.13 that's resolvable via DNS (*not* via /etc/hosts)? If so, perhaps you could try mounting by name instead of IP to work around the kernel's behavior when asked to mount from an unreachable server. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
OK, just so I didn't misunderstand, I made these changes in fstab: //www.buddlespit.org/Shares /mnt/Shares cifs guest,uid=1000,iocharset=utf8,sec=ntlmv2 00 //Server/Homes /mnt/Homes cifs auto,_netdev,credentials=/home/pat/.smbcredentials,iocharset=utf8,sec=ntlmv2 0 0 I own www.buddlespit.org and it's pointed at the server, and the servers host name is 'Server' I can mount via 'sudo mount -a' both with the above addresses and with 192.168.1.13. I've attached another mountall.log ** Attachment added: mountall.log https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/1235013/+attachment/3865267/+files/mountall.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
In the latest log I do see the network mounts being attempted several times, but with no trigger shown in the log. That seems to be consistent with the mountall-net.log, which shows mountall isn't there to be signalled. What does the network configuration for this machine look like? Are you using /etc/network/interfaces, NetworkManager, or something else to manage your networks, and how many network interfaces does this client have? Once the system is booted, is mountall still running? ('sudo initctl status mountall') Have you modified any of the mountall upstart jobs in the past? (Please run 'apport-collect -p mountall 1235013' to attach information about the package state to the bug.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
apport information ** Tags added: apport-collected saucy ** Description changed: Description:Ubuntu Saucy Salamander (development branch) Release:13.10 cifs-utils: Installed: 2:6.0-1ubuntu2 upstart: Installed: 1.10-0ubuntu3 Since the release of beta2, I haven't been able to load network drives listed in fstab: # file system mount point type options dumppass UUID=1533d97d-6039-4b92-95ad-4369f12c1174 /ext4 errors=remount-ro 01 UUID=55B6-4281/boot/efivfat defaults 01 UUID=1e943141-03e9-474a-ab10-448649bc05d7 /homeext4 defaults 02 UUID=f145f314-b90b-42a7-961a-3c1bdfd7bce8 none swap sw 00 //192.168.1.13/Shares /mnt/Shares cifs guest,uid=1000,iocharset=utf8 00 //192.168.1.13/Homes /mnt/Homes cifs credentials=/home/pat/.smbcredentials,iocharset=utf8,sec=ntlm 0 0 from mountall-net.log: /proc/self/fd/9: 3: kill: No such process /proc/self/fd/9: 3: kill: No such process When I open Dolphin and click on the device' Shares on 192.168.1.13: An error occurred while accessing 'Shares on 192.168.1.13', the system responded: mount: only root can mount //192.168.1.13/Shares on /mnt/Shares At the end of the boot process, the very last line says: Loading network drives[ok] My fstab loading of cifs drives worked beautifully until 13.10 (12.04, 12.10, 13.04). I've tried with and without options: auto, noauto, _netdev, sec=ntlm, sec lanman + --- + .run.mount.utab: + + ApportVersion: 2.12.5-0ubuntu1 + Architecture: amd64 + DistroRelease: Ubuntu 13.10 + InstallationDate: Installed on 2013-09-14 (23 days ago) + InstallationMedia: Kubuntu 13.04 Raring Ringtail - Release amd64 (20130424) + MarkForUpload: True + NonfreeKernelModules: nvidia + Package: mountall 2.51 + PackageArchitecture: amd64 + ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.11.0-11-generic root=UUID=1533d97d-6039-4b92-95ad-4369f12c1174 ro quiet nosplash vmalloc=256M iommu=pt --verbose + ProcVersionSignature: Ubuntu 3.11.0-11.17-generic 3.11.3 + Tags: saucy + Uname: Linux 3.11.0-11-generic x86_64 + UpgradeStatus: Upgraded to saucy on 2013-09-28 (9 days ago) + UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo ** Attachment added: .etc.fstab.txt https://bugs.launchpad.net/bugs/1235013/+attachment/3865400/+files/.etc.fstab.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
Sorry, ran it twice because of an error. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
pat@Pats-Main:~$ sudo initctl status mountall [sudo] password for pat: mountall start/running, process 266 I believe I'm running the default NetworkManager installed by Kubuntu. I haven't changed it. /etc/network/interfaces: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback /etc/NetworkManager/NetworkManager.conf: [main] plugins=ifupdown,keyfile,ofono dns=dnsmasq no-auto-default=8C:89:A5:32:34:31, [ifupdown] managed=false -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
pat@Pats-Main:~$ ifconfig eth0 Link encap:Ethernet HWaddr 8c:89:a5:32:34:31 inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::8e89:a5ff:fe32:3431/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:176193 errors:0 dropped:0 overruns:0 frame:0 TX packets:228021 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:69686165 (69.6 MB) TX bytes:283259872 (283.2 MB) loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:2216 errors:0 dropped:0 overruns:0 frame:0 TX packets:2216 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:273262 (273.2 KB) TX bytes:273262 (273.2 KB) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
Ok, so no modified conffiles. //Server/Homes /mnt/Homes cifs auto,_netdev,credentials=/home/pat/.smbcredentials,iocharset=utf8,sec=ntlmv2 00 This is a potential source of boot-time unreliability, fwiw; /mnt/Homes can't be mounted until /home/pat/.smbcredentials is available, but this information is encoded in the mount options in a way mountall can't parse. It might be best to move the key file to the root filesystem. $ sudo initctl status mountall mountall start/running, process 266 $ and is process 266 actually running? ('ps 266') -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
** Also affects: upstart Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/upstart/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
from mountall-net.log: /proc/self/fd/9: 3: kill: No such process /proc/self/fd/9: 3: kill: No such process And what is the output of /var/log/upstart/mountall.log? Please boot with '--verbose' added to the kernel commandline and attach the resulting log file. ** Project changed: upstart = mountall (Ubuntu) ** Changed in: mountall (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
** Attachment added: Attached mountall.log https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+attachment/3863369/+files/mountall.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
** Changed in: mountall (Ubuntu) Status: Incomplete = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
So the logs together show that the filesystems are not being mounted because the mount is attempted before the network is up, and that mountall has for some reason exited before the network comes up and the mountall-net job has a chance to signal mountall with SIGUSR1. I'm not sure what's causing this; will try to reproduce it here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
On previous releases, I usually got the cifs error when the drives were mounted, but they were mounted once I logged in and opened Dolphin. So, something between 13.04 and 13.10 changed. I should also note that I upgraded to 13.10. It's not a clean install. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235013] Re: 13.10-Network (cifs) drives do not load.
I should also point out that I can mount the drives manually and I can mout the drives with 'sudo mount -a'. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235013 Title: 13.10-Network (cifs) drives do not load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1235013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs