[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
http://www.freedesktop.org/wiki/Software/hal/ ** Changed in: hal (Ubuntu) Status: Incomplete = Invalid ** Changed in: baltix Status: Incomplete = Invalid -- 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/44874 Title: auto smbfs mount in /etc/fstab causes hald hang at boot To manage notifications about this bug go to: https://bugs.launchpad.net/hal/+bug/44874/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
** Changed in: nautilus Status: Invalid = Unknown ** Changed in: nautilus Importance: Unknown = Critical -- auto smbfs mount in /etc/fstab causes hald hang at boot https://bugs.launchpad.net/bugs/44874 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
Thank you for reporting this bug. Does this occur in Lucid? ** Changed in: hal (Ubuntu) Status: Confirmed = Incomplete ** Changed in: baltix Status: New = Incomplete -- auto smbfs mount in /etc/fstab causes hald hang at boot https://bugs.launchpad.net/bugs/44874 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
** Changed in: hal (Ubuntu) Assignee: Martin Pitt (pitti) = (unassigned) -- auto smbfs mount in /etc/fstab causes hald hang at boot https://bugs.launchpad.net/bugs/44874 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
** Changed in: nautilus Status: New = Invalid -- auto smbfs mount in /etc/fstab causes hald hang at boot https://bugs.launchpad.net/bugs/44874 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
From GNOME upstream: It seems from the Ubuntu report that this is a HAL bug and not a Nautilus one, so closing NOTGNOME. Thanks for the report, please feel free to report any other bugs you find. ** Changed in: hal (Ubuntu) Assignee: (unassigned) = Martin Pitt (pitti) -- auto smbfs mount in /etc/fstab causes hald hang at boot https://bugs.launchpad.net/bugs/44874 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
replacing smbfs with cifs in fstab seemed to help for me. Long waits at boot time went away and the filesystem seems available. Manually mounting the filesystem every boot wasn't an option, because servers are supposed to be available automagically. (Dapper under VMWare) -- auto smbfs mount in /etc/fstab causes hald hang at boot https://bugs.launchpad.net/bugs/44874 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
I think it might be worth adding something I have noticed: the bug is more of a problem for shares where there are a large number of files/directories present. I am generally able to boot successfully if I only attach to small shares (those with few files/folders in the root) but experience the hanging issue when the shares are large, with a large number of files/folders in the root of the share. Hope this helps any developer with the time to look at this; it's probably a fairly minor timing issue. -- auto smbfs mount in /etc/fstab causes hald hang at boot https://bugs.launchpad.net/bugs/44874 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
...and I have also noticed that it affects both cifs and smbfs. -- auto smbfs mount in /etc/fstab causes hald hang at boot https://bugs.launchpad.net/bugs/44874 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
Hi, Thanks for all the advise, this HAL problem happened on my old pc ages ago and being lazy and busy i've used the wireless laptop for a while.. until now.. anyway. Got the shares working thru cifs but had a few issues so i thought why didn't this error happen on the laptop ? hmmm, so i put the original shares back in fstab and ONLY added the pre_up sleep 5 line to eth0 in the interfaces file (thanks Andras Nemeseri) and all the shares are working fine. thanks. -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
according to this thread: http://www.ubuntuforums.org/showthread.php?p=1660934#post1660934 the hal error happens when mounting by ip address. if you enable wins support and mount with netbios name '//netbiosname/share', the hal error goes away. -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
This sucks. Why does nobody take care of it? It just can't be that an operating system aiming at taking market share away from Microsoft (Bug #1) COMPLETELY STALLS if a network share is unavailable. -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
[edit] forgot to mention in reference to my fstab and permissions my shares are all passwordless and I want anonymous r/w - hence why everythings 777. -- O)-c -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
I think it's largely ignored because as people have suggested, if you use cifs instead of smbfs it works, without stalling. From what I know cifs is the replacement for smbfs. (from man mount.cifs: The CIFS protocol is the successor to the SMB protocol) It's installed when you install smbfs. I had to start using it trying to get Ubuntu to connect to a 2003AD server, and I noticed how much better it seems to work. No more hang on boot, no more hanging if the share goes offline (it seamlessly drops and picks up the remote share as it goes up and down) my fstab: //192.168.1.1/share /media/data cifs file_mode=0777,dir_mode=0777,uid=0,gid=0,auto,rw,nouser,credentials=/etc/fstab_smb_credentials 0 0 fstab_smb_credentials: username=user% password=password I've had absolutely no problems since I started using it (and I auto mount shares with it on at least half a dozen systems) changes from using smbfs were: changing smbsf to cifs (obviously) replacing dmask=777,fmask=777 with file_mode=0777,dir_mode=0777 and stripping the whitespace from the credentials file (cifs would choke on it) I'd seen it mentioned here, but never knew anything about it until I had to research 2003AD stuff. I'd been using smbfs because (like so many people) I'd started my Linux learning at ubuntuguide.org who still say to use smbfs While I agree smbfs requires fixing, at least from the perspective of compatibility - I think it's a documentation problem, users need to know to use cifs instead of smbfs On 10/22/06, Dennis Heinson [EMAIL PROTECTED] wrote: This sucks. Why does nobody take care of it? It just can't be that an operating system aiming at taking market share away from Microsoft (Bug #1) COMPLETELY STALLS if a network share is unavailable. -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- O)-c -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
May I link to my bug report Bug#62607, which addresses some issues I have with cifs. Perhaps some other cifs users can confirm it. -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
** Changed in: nautilus (upstream) Status: Unknown = Unconfirmed -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
** Bug watch added: GNOME Bug Tracker #361541 http://bugzilla.gnome.org/show_bug.cgi?id=361541 ** Also affects: nautilus (upstream) via http://bugzilla.gnome.org/show_bug.cgi?id=361541 Importance: Unknown Status: Unknown -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
Same here. When the samba share is auto mounted in /etc/fstab, HAL fails to initialise, the desktop is stalled for a couple of minutes. Then the desktop appears, and the samba share gets mounted. When doing lshal immediately in a terminal I got a message saying that HAL could not be connected to, either it was not running or not ready. After a couple of minutes trying lshal again shows me 94 entries from the global list. In other words, HAL seems stalled itself, waiting (too) long for samba to finish (even though it has nothing to do with samba I feel but it is in fstab the share is mounted so...). The work around, putting noauto in the fstab and after the desktop appears, mounting the share by hand seems to do it... for now. Let someone please take a look at this... System specs: AMD Athlon 64 3500+ ASUS A8V-X 2x 256MB PC3200 DDR400 Ubuntu Dapper Drake (up-to-date) Radeon 9550 AGP8x -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
** Also affects: Baltix Importance: Untriaged Status: Unconfirmed -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
I'm also experiencing this issue. Changing the mounts to cifs has alleviated the symptom of a hanging hald on startup. -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
I don't think this is a bug in smbfs. Since I upgraded to Dapper, my cifs (i.e. not smbfs) mount in /etc/fstab hasn't been working on boot. There weren't any obvious problems, no errors from the kernel, and no hangups*, so I was a bit puzzled but didn't get around to investigating it. The share doesn't get used very often and a simple 'sudo mount /mnt/share' mounted it when I needed it. Today I found this report and tried the workaround suggested, by adding noauto to the fstab entry and putting 'mount /mnt/share' in /etc/rc.local. This fixed the problem. It seems to me there is a general problem with mounting network shares, not just smbfs. I've not tried nfs. * unlike the experiences described here with smbfs - although I'm using Kubuntu and don't have Gnome installed, which may have affected things since some people mentioned problems with Nautilus. -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
I just (mid August '06) auto-upgraded to Dapper from Breezy. I encountered the same problem on reboot. The workaround provided by Nathaniel B. Jayme above worked for me. This is a serious problem for anyone upgrading from Breezy to Dapper with smbfs mounts in their fstab. Please fix! Successful workaround comment: https://launchpad.net/distros/ubuntu/+source/hal/+bug/44874/comments/48 -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
I want to clarify and give credit where it is due; the full workaround using rc.local was proposed by mambro and then further detailed for us less skilled users by Mr. Jayme. -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
One month later and still no solution, or at least, not a permanent one. I have this same annoying bug (Failed to initialize HAL after adding smbfs share to /etc/fstab), however only when I boot with kernel 2.6.15-26-386. Booting with a previous version of the kernel, 2.6.15-23-386, everything is working fine. I would say: Devs hop to it!. -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
To me this solution partially helped: sudo apt-get remove --purge hal dbus I really don't need neither hal, nor dbus. But I need the samba shares to be automatically mounted at boot time. It *partially* works means that sometimes it mounts all samba shares, sometimes it skips some mounts. So it's like a lottery or roulette: every morning at work I don't know if it will mount all my shares. Now I've tried to add pre-up sleep 5 in /etc/network/interfaces: as Andras told in his comment ( https://launchpad.net/distros/ubuntu/+source/hal/+bug/44874/comments/44 ) I rebooted and all my shares are mounted. I hope it will work also during the next days ;-) -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
hello, i encountered this experience with placing auto mountable smbfs in /etc/fstab if this is the case try the solution: 1) place a noauto option in your /etc/fstab smbfs entry 2) mount network shares using /etc/rc.local if your network share is to be mounted to /mnt/shared then within /etc/rc.local place mount /mnt/shared the mount command will further check fstab for correct mount options Placing it in /etc/rc.local ensures that all modules are loaded before mounting the network share. Hope this helps -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
The noauto/mount in rc.local does work, and that is how I am currently working around the issue. However, this is a workaround and NOT a solution. There is no reason mounting network shares in fstab should not work, and it worked fine in Breezy. Upgrading from Breezy gives the impression that Dapper is broken. To a novice user, there is nothing in the symptoms of this bug (long load time with no taskbar/nautilus) that points to a network share as the problem. This bug is a regression from Breezy, and I am very surprised that it has not received developer attention after nearly 2 months. Please solve this bug. -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
anybody tried using the _netdev option in fstab that may work ;) -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
well, it seems quite a big bug to me as well. Isn't it enough to have shipped Dapper with issues like this untouched? it seems to affect a lot of people. -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
If worked here - at least for now (I restarted the system a few times without problems). In my opinion, this work-around also points to a timing issue between starting the ethernet network, starting the samba system and mouting the network shares. Most of most of the above mentioned suggestions influence the point in time when a specific service is started: putting smbfs in /etc/modules: early in the boot process mounting shares in /etc/rc.local: late in the boot process pre-up sleep 5 in /etc/network/interfaces: give something else more time to finish This would also be consistent with my observation that the /etc/modules variant sometimes work and sometimes it doesn't. My guess: This problem is a hick-up in the multi-threaed booting process introduced sometime during the latest Dapper pre-releases. -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
** Bug 46931 has been marked a duplicate of this bug -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
A workaround could be to configure /etc/fstab with noauto and put in /etc/rc.local mount /mnt/sambadirectory. I've tried it and it works. -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 44874] Re: auto smbfs mount in /etc/fstab causes hald hang at boot
mambo your work around works for my situation. thanks, John -- auto smbfs mount in /etc/fstab causes hald hang at boot https://launchpad.net/bugs/44874 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs