Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113864 - 'user' option for sshfs/fuse in /etc/fstab
Summary: 'user' option for sshfs/fuse in /etc/fstab
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-28 18:49 UTC by Matt Dew
Modified: 2005-12-26 17:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fuse-2.4.1.patch (fuse-2.4.1.patch,568 bytes, text/plain)
2005-12-03 15:29 UTC, Peter Hyman
Details
fuse-2.4.2.patch (fuse-2.4.2.patch,574 bytes, text/plain)
2005-12-03 15:31 UTC, Peter Hyman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Dew 2005-11-28 18:49:03 UTC
if I have an entry in /etc/fstab such as 'sshfs#username@hostname     
/tmp/fakemount     fuse   user,port=222  0 0'

The 'user' option screws up sshfs/fuse.

Reproducible: Always
Steps to Reproduce:
1. add entry to /etc/fstab as shown in details.
2. mount /tmp/fakemount
3.

Actual Results:  
fusermount: mount failed: Invalid argument



Line 46:
replace 
OPTIONS="$@"
with 
OPTIONS=`echo $@ | sed 's/,user//'` # remove user option
Comment 1 Matt Dew 2005-11-28 19:07:54 UTC
(In reply to comment #0)
> if I have an entry in /etc/fstab such as 'sshfs#username@hostname     
> /tmp/fakemount     fuse   user,port=222  0 0'
> 
> The 'user' option screws up sshfs/fuse.
> 
> Reproducible: Always
> Steps to Reproduce:
> 1. add entry to /etc/fstab as shown in details.
> 2. mount /tmp/fakemount
> 3.
> 
> Actual Results:  
> fusermount: mount failed: Invalid argument
> 
> 
> 
> Line 46:
> replace 
> OPTIONS="$@"
> with 
> OPTIONS=`echo $@ | sed 's/,user//'` # remove user option

Oops. The file is /sbin/mount.fuse
Comment 2 Peter Hyman 2005-12-03 15:29:50 UTC
Created attachment 74014 [details]
fuse-2.4.1.patch

fix memory leak for fuse 2.4.1
Comment 3 Peter Hyman 2005-12-03 15:31:00 UTC
Created attachment 74015 [details]
fuse-2.4.2.patch

fix memory leak for 2.4.2. fuse.c has changed a lot in this version. I really
recommend bumping it. I also recomment having a cvs version available, as is
done with enlightenment. JMHO
Comment 4 Peter Hyman 2005-12-03 15:32:20 UTC
yikes, bugzilla moved me to the wrong bug. Removing patches intended for a
different fuse bug.
Comment 5 Peter Hyman 2005-12-03 15:35:57 UTC
Comment on attachment 74015 [details]
fuse-2.4.2.patch

sorry, bugzilla crossed me  up!
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2005-12-24 16:45:40 UTC
Matt, can you please report this bug upstream to the fuse mailing list?
When they fix it and release a new version and the ebuild is bumped it will also be fixed in gentoo.
Comment 7 Matt Dew 2005-12-26 17:57:24 UTC
Email sent to fuse-devel@lists.sourceforge.net list.