FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 09-13-2012, 02:23 PM
Canek Peláez Valdés
 
Default sshfs - cannot unmount as normal user

On Thu, Sep 13, 2012 at 6:37 AM, Helmut Jarausch
<jarausch@igpm.rwth-aachen.de> wrote:
> Hi,
>
>
> Since a short time I have a critical problem with sshfs.
> I cannot unmount it !
>
> Doing, e.g.,
>
> sshfs -o transform_symlinks -o Cipher="blowfish" numa-sv:/Save /numa-sv
>
> works just fine.
>
> df shows
> numa-sv:/Save 148976776 102070872 40882408 72% /numa-sv
>
> grep /numa-sv /etc/mtab shows
>
> numa-sv:/Save /numa-sv fuse.sshfs rw,nosuid,nodev 0 0
>
>
> BUT trying to do (which has been working for a long time)
>
> fusermount -u /numa-sv
>
> now gives
>
> fusermount: entry for /numa-sv not found in /etc/mtab
>
> sudo umount /numa-sv
> and
> sudo fusermount -u /numa-sv
>
> do work, but then I'd have to generate a general rule in /etc/sudoers and
> add everybody to the group 'wheel' which I'd like to avoid.
>
>
> I'm using
>
> kernel 3.5.3
>
> openssh 6.1_p1
>
> sshfs-fuse (GIT version 2012/09/13)
>
> fuse 2.9.1-r1
>
> I can't use fuse from GIT since it breaks many packages on my machine.
>
> Many thanks for a hint,
> Helmut.

It works here with sshfs-fuse-2.4. Maybe it is because the directory
lives directly under /? Try mounting it in a directory inside $HOME,
and see if it works that way.

Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
 
Old 09-13-2012, 05:33 PM
Nikos Chantziaras
 
Default sshfs - cannot unmount as normal user

On 13/09/12 14:37, Helmut Jarausch wrote:

Hi,


Since a short time I have a critical problem with sshfs.
I cannot unmount it !


Since two days I think, I have the same problem. Not with sshfs, but
with NTFS-3G, which uses FUSE. I can mount as user, but I can only
unmount as root.


I've no idea what package is responsible for this change of behavior.
"qlop -l" for the last 6 days shows:


Sat Sep 8 13:20:41 2012 >>> dev-libs/elfutils-0.155
Sat Sep 8 13:21:02 2012 >>> app-crypt/p11-kit-0.14
Sat Sep 8 13:25:54 2012 >>> app-emulation/wine-1.5.12
Sat Sep 8 23:10:52 2012 >>> sys-apps/kmod-10
Sat Sep 8 23:11:19 2012 >>> net-misc/openssh-6.1_p1
Sun Sep 9 17:15:50 2012 >>> sys-apps/portage-2.1.11.14
Sun Sep 9 17:28:38 2012 >>> dev-libs/mpc-1.0.1
Sun Sep 9 17:28:50 2012 >>> media-sound/alsa-utils-1.0.26
Sun Sep 9 17:28:53 2012 >>> dev-util/gdbus-codegen-2.32.4
Sun Sep 9 17:29:30 2012 >>> dev-libs/libxml2-2.8.0-r2
Sun Sep 9 17:30:03 2012 >>> app-crypt/gcr-3.4.1
Sun Sep 9 17:30:30 2012 >>> gnome-base/gnome-keyring-3.4.1
Sun Sep 9 17:30:42 2012 >>> gnome-base/libgnome-keyring-3.4.1
Sun Sep 9 17:57:55 2012 >>> sys-devel/gcc-4.6.3
Sun Sep 9 18:13:49 2012 >>> sys-devel/gcc-4.7.1
Sun Sep 9 21:18:39 2012 >>> dev-lang/v8-3.12.19.7
Mon Sep 10 12:46:27 2012 >>> dev-libs/libxslt-1.1.26-r4
Mon Sep 10 12:46:44 2012 >>> gnome-base/librsvg-2.36.3
Mon Sep 10 12:46:52 2012 >>> dev-libs/quazip-0.5
Mon Sep 10 12:47:23 2012 >>> app-crypt/gcr-3.4.1-r1
Mon Sep 10 19:28:47 2012 >>> net-print/cups-filters-1.0.24
Mon Sep 10 19:30:21 2012 >>> kde-base/kdepimlibs-4.9.1-r1
Mon Sep 10 19:31:01 2012 >>> kde-base/konqueror-4.9.1-r1
Tue Sep 11 01:11:44 2012 >>> app-crypt/gcr-3.4.1-r2
Tue Sep 11 13:08:28 2012 >>> app-misc/mc-4.8.5
Tue Sep 11 21:17:04 2012 >>> dev-vcs/mercurial-2.3.1
Tue Sep 11 21:17:19 2012 >>> media-libs/taglib-1.8
Wed Sep 12 00:33:16 2012 >>> net-libs/libpcap-1.3.0
Wed Sep 12 15:10:14 2012 >>> sys-apps/portage-2.1.11.16
Wed Sep 12 15:31:13 2012 >>> x11-apps/xbacklight-1.2.0
Wed Sep 12 15:32:15 2012 >>> x11-libs/cairo-1.12.2-r4
Wed Sep 12 15:32:20 2012 >>> app-benchmarks/i7z-0.27.2
Wed Sep 12 15:40:34 2012 >>> dev-util/qt-creator-2.6.0_beta
Thu Sep 13 20:25:53 2012 >>> dev-lang/v8-3.12.19.8
Thu Sep 13 20:26:48 2012 >>> net-dns/bind-tools-9.9.1_p3
Thu Sep 13 20:27:04 2012 >>> app-admin/sudo-1.8.6_p1
Thu Sep 13 20:27:22 2012 >>> gnome-base/librsvg-2.36.3
Thu Sep 13 20:27:40 2012 >>> dev-cpp/libcmis-0.1.0-r1
 
Old 09-13-2012, 07:44 PM
Neil Bothwick
 
Default sshfs - cannot unmount as normal user

On Thu, 13 Sep 2012 20:33:55 +0300, Nikos Chantziaras wrote:

> > Since a short time I have a critical problem with sshfs.
> > I cannot unmount it !
>
> Since two days I think, I have the same problem. Not with sshfs, but
> with NTFS-3G, which uses FUSE. I can mount as user, but I can only
> unmount as root.
>
> I've no idea what package is responsible for this change of behavior.
> "qlop -l" for the last 6 days shows:

It appears to be the kernel module AFACT. I tried every version of fuse
going back to 2.8.6, all with the same problem. Then I tried it on a box
still running a 3.9.6 kernel and it worked as it should.


--
Neil Bothwick

Scientists decode the first confirmed alien transmission from outer space
...
"This really works! Just send 5*10^50 H atoms to each of the five star
systems listed below. Then, add your own system to the top of the list,
delete the system at the bottom, and send out copies of this message to
100 other solar systems. If you follow these instructions, within 0.25 of
a galactic rotation you are guaranteed to receive enough hydrogen in
return to power your civilization until entropy reaches its maximum!"
 
Old 09-13-2012, 08:05 PM
Nikos Chantziaras
 
Default sshfs - cannot unmount as normal user

On 13/09/12 22:44, Neil Bothwick wrote:

On Thu, 13 Sep 2012 20:33:55 +0300, Nikos Chantziaras wrote:


Since a short time I have a critical problem with sshfs.
I cannot unmount it !


Since two days I think, I have the same problem. Not with sshfs, but
with NTFS-3G, which uses FUSE. I can mount as user, but I can only
unmount as root.

I've no idea what package is responsible for this change of behavior.
"qlop -l" for the last 6 days shows:


It appears to be the kernel module AFACT. I tried every version of fuse
going back to 2.8.6, all with the same problem. Then I tried it on a box
still running a 3.9.6 kernel and it worked as it should.


This can't be it. I didn't update the kernel. But I booted an older
kernel anyway to test (3.5.2) and the problem was still there.


Something else changed.
 
Old 09-13-2012, 11:34 PM
Neil Bothwick
 
Default sshfs - cannot unmount as normal user

On Thu, 13 Sep 2012 23:05:36 +0300, Nikos Chantziaras wrote:

> > It appears to be the kernel module AFACT. I tried every version of
> > fuse going back to 2.8.6, all with the same problem. Then I tried it
> > on a box still running a 3.9.6 kernel and it worked as it should.
>
> This can't be it. I didn't update the kernel. But I booted an older
> kernel anyway to test (3.5.2) and the problem was still there.

3.5.2 isn't that much older, when did this stop working for you? I
haven't used sshfs in a while, I've no idea when it broke here. BTW that
should read 3.0.6 for the older kernel I tried it on.


--
Neil Bothwick

Help a man when he is in trouble and he will remember you when he is in
trouble again
 
Old 09-14-2012, 01:29 AM
Nikos Chantziaras
 
Default sshfs - cannot unmount as normal user

On 14/09/12 02:34, Neil Bothwick wrote:

On Thu, 13 Sep 2012 23:05:36 +0300, Nikos Chantziaras wrote:


It appears to be the kernel module AFACT. I tried every version of
fuse going back to 2.8.6, all with the same problem. Then I tried it
on a box still running a 3.9.6 kernel and it worked as it should.


This can't be it. I didn't update the kernel. But I booted an older
kernel anyway to test (3.5.2) and the problem was still there.


3.5.2 isn't that much older, when did this stop working for you? I
haven't used sshfs in a while, I've no idea when it broke here. BTW that
should read 3.0.6 for the older kernel I tried it on.


About 3 days ago. Maybe 4.
 
Old 09-14-2012, 07:48 AM
Helmut Jarausch
 
Default sshfs - cannot unmount as normal user

On 09/13/2012 04:23:15 PM, Canek Peláez Valdés wrote:

On Thu, Sep 13, 2012 at 6:37 AM, Helmut Jarausch
<jarausch@igpm.rwth-aachen.de> wrote:
> Hi,
>
>
> Since a short time I have a critical problem with sshfs.
> I cannot unmount it !
>
> Doing, e.g.,
>
> sshfs -o transform_symlinks -o Cipher="blowfish" numa-sv:/Save
/numa-sv

>
> works just fine.
>
> df shows
> numa-sv:/Save 148976776 102070872 40882408 72% /numa-sv
>
> grep /numa-sv /etc/mtab shows
>
> numa-sv:/Save /numa-sv fuse.sshfs rw,nosuid,nodev 0 0
>
>
> BUT trying to do (which has been working for a long time)
>
> fusermount -u /numa-sv
>
> now gives
>
> fusermount: entry for /numa-sv not found in /etc/mtab
>
> sudo umount /numa-sv
> and
> sudo fusermount -u /numa-sv
>
> do work, but then I'd have to generate a general rule in
/etc/sudoers and

> add everybody to the group 'wheel' which I'd like to avoid.
>
>
> I'm using
>
> kernel 3.5.3
>
> openssh 6.1_p1
>
> sshfs-fuse (GIT version 2012/09/13)
>
> fuse 2.9.1-r1
>
> I can't use fuse from GIT since it breaks many packages on my
machine.

>
> Many thanks for a hint,
> Helmut.

It works here with sshfs-fuse-2.4. Maybe it is because the directory
lives directly under /? Try mounting it in a directory inside $HOME,
and see if it works that way.



Unfortunately, this doesn't work either.
It seems to be related to a recent kernel as others have similar
problems with fuse reported elsewhere.


Thanks,
Helmut.
 
Old 09-19-2012, 07:23 PM
Nikos Chantziaras
 
Default sshfs - cannot unmount as normal user

On 13/09/12 14:37, Helmut Jarausch wrote:


Since a short time I have a critical problem with sshfs.
I cannot unmount it !


I filed a bug now:

https://bugs.gentoo.org/show_bug.cgi?id=435540

Everyone who's affected should feel free to confirm there.
 
Old 09-19-2012, 08:34 PM
Paul Hartman
 
Default sshfs - cannot unmount as normal user

On Wed, Sep 19, 2012 at 2:23 PM, Nikos Chantziaras <realnc@gmail.com> wrote:
> On 13/09/12 14:37, Helmut Jarausch wrote:
>>
>>
>> Since a short time I have a critical problem with sshfs.
>> I cannot unmount it !
>
>
> I filed a bug now:
>
> https://bugs.gentoo.org/show_bug.cgi?id=435540
>
> Everyone who's affected should feel free to confirm there.

Happens here, too, with mp3fs. I'm not able to login to Gentoo
Bugzilla now but will add my vote later if I get a chance.
 
Old 09-24-2012, 03:34 PM
Nikos Chantziaras
 
Default sshfs - cannot unmount as normal user

On 13/09/12 14:37, Helmut Jarausch wrote:


Since a short time I have a critical problem with sshfs.
I cannot unmount it !

Doing, e.g.,

sshfs -o transform_symlinks -o Cipher="blowfish" numa-sv:/Save /numa-sv

works just fine.

[...]

BUT trying to do (which has been working for a long time)

fusermount -u /numa-sv

now gives

fusermount: entry for /numa-sv not found in /etc/mtab


OK, the culprit was util-linux-2.22. If you want a fix right now, the
upstream patch that fixed the issue is:


http://git.kernel.org/?p=utils/util-linux/util-linux.git;a=patch;h=4be900c51d371a7a41495e4eca2d29 fc77c20c7c
 

Thread Tools




All times are GMT. The time now is 07:50 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org