Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 176365

Summary: sys-fs/fuse-2.6.4 - /sbin/mount.fuse wrapper is b0rked
Product: Gentoo Linux Reporter: Jakub Moc <jakub.moc>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: major CC: genstef
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /sbin/mount.fuse diff between 2.6.3 and 2.6.4
mount.fuse patch
mount.fuse patch

Description Jakub Moc 2007-04-28 15:25:41 UTC
The wrapper script is plain borked

$ mount /mnt/sshfs/jakub-devbox/
/sbin/mount.fuse: line 23: die: command not found
mount.fuse# sshfs#jakub@dev.gentooexperimental.org:/home/jakub
/sbin/mount.fuse: line 26: exit: /mnt/sshfs/jakub-devbox: numeric argument required

The respective fstab line (been working for ages until now).

sshfs#jakub@dev.gentooexperimental.org:/home/jakub	/mnt/sshfs/jakub-devbox		fuse	noauto,user,port=22,uid=kuba,gid=users	0 0
Comment 1 Jakub Moc 2007-04-28 15:27:06 UTC
Created attachment 117491 [details, diff]
/sbin/mount.fuse diff between 2.6.3 and 2.6.4

Diff between working (2.6.3) and non-working (2.6.4) script attached; happy hunting.
Comment 2 Jakub Moc 2007-04-28 15:35:59 UTC
Created attachment 117492 [details, diff]
mount.fuse patch

A patch to fix this... You need either function die { ... }  or die() { ... }, die { ... } really won't cut it...
Comment 3 Jakub Moc 2007-04-28 15:37:31 UTC
Created attachment 117493 [details, diff]
mount.fuse patch

Helps to not make it reversed... ;/
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2007-04-28 20:29:00 UTC
thanks fixed