unable to remount shares at startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
smb4k (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: smb4k
Program: smb4k
Ubuntu version: Ubuntu 8.04
package version: 0.9.3-0ubuntu1
The problem:
Using the "Remount recently used shares on program start" makes smb4k hang during next program restart.
It starts to scan for network or something and it never finish, unless I click on the "Abort" button.
I think I found the cause of the problem:
the shares it is trying to mount are on a pc called: SERVER which is the samba name of that pc. the shares or mounted as:
//SERVER/Share1
//SERVER/Share2
etc...
SERVER is not resolvable by any ip address, it is not inside the /etc/hosts file either.
however if I scan for network and manually mount the shares by clicking on them (Or using the bookmarks) they are mounted without any problem, smb4k is able to do it, it fails only when it try to remount theme at program start.
How to Produce the error:
1) mount through smb4k a share of a server having the "Remount recently used shares on program start" option enabled, then close smb4k.
2) ensure the samba server name is not resolvable by any ip address.
3) switch off and switch on smb4k.
4) it should hang and wait forever until the "Abort" button is pressed
How I solved:
I add in /etc/hosts a row like this:
192.168.0.1 SERVER
now smb4k is able to mount theme at start without manual interaction.
I wonder, why smb4k is able to find and mount theme manually but not at startup ? this is the reason why I think this is a bug.
This bug was fixed in the package smb4k - 0.10.1-0ubuntu1
---------------
smb4k (0.10.1-0ubuntu1) jaunty; urgency=low
* New upstream release for KDE 4
* Closes
- (LP: #238011)
- (LP: #248510)
- (LP: #261803)
- (LP: #262225)
- (LP: #275539)
* Updated debian/
- control: updated for new deps and removed old deps, bumped versions,
modified Maintainer
- rules: removed all but the kde4.mk for cdbs
-- <email address hidden> (Richard A. Johnson) Sun, 23 Nov 2008 12:14:34 -0600