I'm out of the office until 1st August. On 15 May 2011, at 10:43, Markus <243...@bugs.launchpad.net> wrote:
> Still not working on Natty without fsname > > ** Summary changed: > > - In hardy, sshfs /etc/mtab and /etc/fstab do not match, umount and > unmount through "Disk Mounter" applet do not work > + sshfs /etc/mtab and /etc/fstab do not match, umount and unmount > through "Disk Mounter" applet / Nautilus do not work > > ** Branch linked: lp:ubuntu/natty/sshfs-fuse > > -- > You received this bug notification because you are a member of > Papercutters, which is subscribed to One Hundred Paper Cuts. > https://bugs.launchpad.net/bugs/243298 > > Title: > sshfs /etc/mtab and /etc/fstab do not match, umount and unmount > through "Disk Mounter" applet / Nautilus do not work > > Status in One Hundred Paper Cuts: > Invalid > Status in “sshfs-fuse” package in Ubuntu: > Confirmed > > Bug description: > In hardy heron, a fuse based sshfs mount that is mounted through > /etc/fstab does NOT match its corresponding entry in /etc/mtab. > > I am filing this as a bug, because it breaks a number of standard > ubuntu/gnome/debian/linux utilities, including umount and the unmount > capability of the "Disk Mounter" applet. > > For example, this line in /etc/fstab: > > sshfs#username@ubuntusshserver:/home/username > /home/username/mnt/sshfs/ubuntusshserver/username fuse > comment > = > sshfs > ,users > ,exec > ,nodev > ,nosuid > ,rw > ,nosuid > ,noauto > ,uid > = > 1000 > ,gid > =1000,allow_other,reconnect,transform_symlinks,port=22,BatchMode=yes > 0 0 > > results in this line in /etc/mtab (when this mount point is mounted): > > username@ubuntusshserver:/home/username > /home/username/mnt/sshfs/ubuntusshserver/username fuse.sshfs > rw,nosuid,nodev,max_read=65536,allow_other,user=username 0 0 > > The line mentioned for /etc/fstab allows me to easily mount the sshfs > mount point from mount or the "Disk Mounter" applet with no problems, > but breaks umount and "Disk Mounter" for unmounting. "fusermount -u" > or "fusermount -u -z" still work. > > Running the following line to use sed to edit /etc/mtab to correct > the > problem after a mount results in desired behavior, and verifies that > this problem is a bug: > > sudo sed 's/\(^[^@]\{1,\}@\)\(.\{1,\}\) fuse\.sshfs /sshfs#\1\2 fuse > /' -i /etc/mtab > > This line is, of course, a workaround for the bug, and requires su > privileges to run, so it is NOT a solution. > > The source package for this bug should be sshfs-fuse 1.9-1. The > binary package is sshfs. I believe that this behavior did not exist > in fiesty fawn, and cannot tell you if it existed in gutsy gibbon. I > am almost sure that this is new to hardy heron, so it is probably a > design change that resulted in some bugs. I also believe that this > bug is the true cause of bug#152978 (see > https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/152978/comments/11) > > Here are the results from 'lsb_release -rd': > Description: Ubuntu 8.04 > Release: 8.04 > > Here are the results from 'apt-cache policy sshfs': > apt-cache policy sshfs > sshfs: > Installed: 1.9-1 > Candidate: 1.9-1 > Version table: > *** 1.9-1 0 > 500 http://archive.ubuntu.com hardy/universe Packages > 100 /var/lib/dpkg/status > > Here is my kernel from 'uname -a': > Linux ubuntu 2.6.24-19-generic #1 SMP Wed Jun 18 14:15:37 UTC 2008 > x86_64 GNU/Linux > > > WORKAROUND to mount using /etc/fstab: > > sshfs#u...@login1.example.com:/home/user /mnt/sshdisk fuse > user,noauto,fsname=sshfs#u...@login1.example.com:/home/user 0 0 > > (this is supposed to be one line in fstab) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/243298 Title: sshfs /etc/mtab and /etc/fstab do not match, umount and unmount through "Disk Mounter" applet / Nautilus do not work To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/243298/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs