[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
I think the reason that moving S31umountnfs.sh to K14umountnfs.sh addresses the problem because there is now a dhcdbd script at K16dhcdbd which takes DHCP connections down much earlier than it should. So I believe that in addition to the wpasupplicant bug, we have a bug in dhcdbd; both of these run stop scripts at a much earlier point in the shutdown than S31umountnfs.sh, and should be moved to S35 or S36 for consistency with existing behavior. There is also definitely still a bug in samba, which should not take so long to time out on an unmount request when it's detectable that the network is down; but the init script bugs are rather easier to fix, and are bugs in their own right. ** Also affects: dhcdbd (Ubuntu) Importance: Undecided Status: New ** Changed in: dhcdbd (Ubuntu) Importance: Undecided => Medium Status: New => Confirmed -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
I fix it on my system too changing the order umountnfs executes on inits 0 and 6 and think it may no have any problems as it says not root neither top levels mounts are unmount (the ones system need to continue shutdown properly): # Short-Description: Unmount all network filesystems except the root file system. # Description: Also unmounts all virtual filesystems (proc, devfs, devpts, #usbfs, sysfs) that are not mounted at the top level. ** Changed in: samba (Ubuntu) Status: Incomplete => Confirmed -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
I agree with flaccid: This perpetuating and ennoying bug should be fixed as soon as possible! That has even become more important with Hardy, since "smbfs" does not exist as a workaround any more, "smbmount" being nothing more than a wrapper for "mount.cifs". The simple solution proposed in the link quoted by flaccid is the same as what I mentionned above, changing the shutdown-sequence. Would please an expert have a look at this to make sure it cannot cause other troubles! -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
Please fix this perpetuating bug, there are quite a few solutions noted, the simplest being http://whereofwecannotspeak.wordpress.com/2007/12/25 /unmount-samba-filesystems-before-shutdown-or-reboot/ I believe there are also duplicate bugs. -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
This is a very old and well known problem. See also http://ubuntuforums.org/showthread.php?t=772774 and http://ubuntuforums.org/showthread.php?t=293513&highlight=cifs+vfs I wonder why this bug is not fixed yet! It has been proposed to change S31umountnfs.sh to K14umountnfs.sh in /etc/rc0.d and /etc/rc6.d. For me that works fine, but I am not shure that it can't create inconveniences in other cases. Please have a look at this simple workaround whether it can be recommended. -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
This bug occurred for me on 7.04. Yesterday I upgraded to 8.04 through 7.10, and the problem still exists. Haven't yet tried the workaround I mentioned, but I'm fairly sure it will work, since manual unmounting fixes/works around it. FYI, my reports are just for logging off, haven't seen any problems during startup. -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
I don't know if this bug is related to #212019, but the unmounting problem exists for me on a machine with no wifi-capabilities. I'm about to try http://ubuntuforums.org/showthread.php?t=293513 as a fix tonight, but that sounds like a workaround rather than a solutioni. -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
I am commenting here to keep this thread alive, and wondering if any of the wpasupplicant team are looking at it? More than happy to keep experimenting and chatting about it! Thanks. Hamish -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
Hi Steve I have changed wpa-ifupdown to S41 for both rc0.d and rc6.d, but I still get the problem. [EMAIL PROTECTED]:/etc/rc0.d$ ls K01gdm K30squidS30urandom K01usplash K39ufw S31umountnfs.sh K16dhcdbdK50alsa-utils S40umountfs K20apportK59mountoverflowtmp S41wpa-ifupdown K20atieventsdK99laptop-mode S60umountroot K20avahi-daemon README S90halt K20hddtemp S01linux-restricted-modules-common K25hwclock.shS20sendsigs [EMAIL PROTECTED]:/etc/rc6.d$ ls K01gdm K30squidS30urandom K01usplash K39ufw S31umountnfs.sh K16dhcdbdK50alsa-utils S40umountfs K20apportK59mountoverflowtmp S41wpa-ifupdown K20atieventsdK99laptop-mode S60umountroot K20avahi-daemon README S90reboot K20hddtemp S01linux-restricted-modules-common K25hwclock.shS20sendsigs Is there something else that needs to be changed? Can this be escalated? Hamish -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
The last part of this is a wpasupplicant bug. The ordering of the shutdown scripts is already well-established, and unmounting remote filesystems takes place at S31 (S31umountnfs.sh). wpasupplicant needs to be fixed to run its shutdown script later than this; probably at S35 or S36, which is the point in the runlevel sequence where networking as a whole is shut down in Debian. ** Also affects: wpasupplicant (Ubuntu) Importance: Undecided Status: New ** Changed in: wpasupplicant (Ubuntu) Importance: Undecided => Medium Status: New => Confirmed -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
Hi Chuck I can umount and re- mount the shares using the command line (sudo umount -a and sudo mount -a) and it works successfully. I get nautilus sessions opening for each mounted drive every time I do this, which is very annoying! I can do the following: [EMAIL PROTECTED]:~$ sudo mount -t cifs //192.168.73.10/ /home/hamish/nas_ Password: And it works successfully :-) I *really* think that the problem is to do with the system attempting to read the /etc/fstab file and mount the drives *before* the network is up, and the reverse on the dismounts at shutdown/restart. [EMAIL PROTECTED]:/etc/rc2.d$ ls README S12dbus S20powernowd S89cron S01policykitS18avahi-daemon S20rsync S98usplash S05vbesaveS20apmd S24dhcdbd S99acpi-support S10acpid S20apport S24hal S99laptop-mode S10powernowd.early S20atieventsd S25pulseaudio S99rc.local S10sysklogd S20cupsys S30gdm S99rmnologin S10xserver-xorg-input-wacom S20hotkey-setupS89anacron S99stop-readahead S11klogd S20nvidia-kernel S89atd This works OK, as I get the drives mounted and then a separate nautilus session opens for each connected drive (which as I said previously is very annoying!), but we have the errors in the logs to prove that not all is good with this system of mounting drives. [EMAIL PROTECTED]:/etc/rc0.d$ ls K01gdm K39ufw S20sendsigs K01usplash K50alsa-utils S30urandom K16dhcdbd K59mountoverflowtmp S31umountnfs.sh K20apport K99laptop-mode S40umountfs K20atieventsd README S60umountroot K20avahi-daemonS01linux-restricted-modules-common S90halt K25hwclock.sh S15wpa-ifupdown [EMAIL PROTECTED]:/etc/rc6.d$ ls K01gdm K39ufw S20sendsigs K01usplashK50alsa-utils S30urandom K16dhcdbdK59mountoverflowtmp S31umountnfs.sh K20apport K99laptop-mode S40umountfs K20atieventsd README S60umountroot K20avahi-daemonS01linux-restricted-modules-common S90reboot K25hwclock.sh S15wpa-ifupdown As you can see, S40umountfs is *after* S15wpa-ifupdown in both the above rc0.d and rc6.d. I *strongly* believe this is the problem. Hope this helps Hamish -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
Do you get the same error when you mount the share using the command line? chuck -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
lspci -vvnn ** Attachment added: "lspci -vvnn" http://launchpadlibrarian.net/13194770/lspci.txt -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
...although I have included the error message in the original description above: CIFS VFS: server not responding CIFS VFS: no response for cmd 50 mid eventually after 2-3 minutes this times out and the computer restarts, but it isn't really good enough Hamish -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
dmesg look for" [ 62.697883] CIFS VFS: Error connecting to IPv4 socket. Aborting operation [ 62.697948] CIFS VFS: cifs_mount failed w/return code = -101 then after that wlan0 is configured i think the timing of these operations is the problem how do i get the shutting down logs so I can show you the errors there? Hamish ** Attachment added: "dmesg log" http://launchpadlibrarian.net/13194695/dmesg.txt -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
/var/log/messages from last startup [EMAIL PROTECTED]:~$ uname -r 2.6.24-15-generic ** Attachment added: "/var/log/messages" http://launchpadlibrarian.net/13194682/messages%20log.txt -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
Is there anything in the logs about your connection? Thanks chuck ** Changed in: samba (Ubuntu) Status: New => Incomplete -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 211631] Re: CIFS/SMBFS issue (was not resolved on #207441)
** Description changed: I installed smbfs, and then put some entries into /etc/fstab, so they automount on startup. An example of this is here: /// /home/hamish/ cifs credentials=/home/hamish/.smbcredentials,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0 ** note the use of "cifs" in the lines above ** (The username and password are in the .smbcredentials file) On startup, for each entry in the /etc/fstab file, I get the following in dmesg: [ 70.495504] CIFS VFS: Error connecting to IPv4 socket. Aborting operation [ 70.495569] CIFS VFS: cifs_mount failed w/return code = -101 But the shares are mounted, and a nautilus session opens up (which is also annoying...) Also logging off with CIFS shares mounted in /etc/fstab, it sits with an error message: CIFS VFS: server not responding CIFS VFS: no response for cmd 50 mid And takes about 2 minutes to timeout. This also happened with Gutsy Should the timing of the mounting and dismounting be changed so that it works? It is related to the starting of network-manager and CIFS shares trying to connect on startup *before* the network is up, and dismounting the shares *after* network-manager is stopped. Hamish - - PS: note to Chuck Short. I am using cifs. -- CIFS/SMBFS issue (was not resolved on #207441) https://bugs.launchpad.net/bugs/211631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs