Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81581 - net-fs/shfs requires net-misc/x11-ssh-askpass
Summary: net-fs/shfs requires net-misc/x11-ssh-askpass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Saleem Abdulrasool (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-10 22:45 UTC by whereami
Modified: 2006-03-22 12:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description whereami 2005-02-10 22:45:35 UTC
net-fs/shfs requires net-misc/x11-ssh-askpass.
This only comes up when you try to shfsmount with --persistent.

Reproducible: Always
Steps to Reproduce:
1. emerge shfs
2. shfsmount --persistent user@host /mnt/shfs
3. go boom


Actual Results:  
error on console:
ssh_askpass: exec(/usr/lib/misc/ssh-askpass): No such file or directory
Permission denied, please try again.

Expected Results:  
no error, and the x11-ssh-askpass dialog should appear, asking for a password.

whereami@thang whereami $ su -
Password: 
thang root # emerge info
Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r14 x86_
64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  9 2005, 22:53:54)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /
var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.osuos
l.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib acpi alsa avi bash-completion berkdb bitmap-fonts cd
cdparanoia cdr crypt cups dir
ectfb dvd dvdr dvdread f77 fbcon flac font-server fortran gif gpm gtk gtk2 ipv6
jack java jp2 jpeg lzw lz
w-tiff mad matroska motif mozilla mpeg multilib ncurses nls nptl nptlonly nvidia
oggvorbis opengl oss pam
 perl png python quicktime readline samba ssl tcpd tiff truetype truetype-fonts
type1-fonts usb userlocal
es xinerama xml2 xmms xpm xrandr xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 whereami 2005-10-08 00:02:43 UTC
any reason this hasn't been done yet?
Comment 2 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-01-04 15:14:56 UTC
Fixed in -r2.  Please test, it should hit portage mirrors near you in ~2 hours.
Comment 3 Marc Aarts 2006-01-05 03:58:32 UTC
(In reply to comment #1)
> any reason this hasn't been done yet?

what about if i want to use shfs on a system without X?

there's no use for xorg on my server and now this updated ebuild drags in lots of X related stuff because net-misc/x11-ssh-askpass is required.
Comment 4 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-01-05 10:40:56 UTC
Well, it would be nice if I could find how exactly it gets called (so I can write up a patch).  The other option is that you can just put net-misc/x11-ssh-askpass-1.2.4.1-r1 into /etc/portage/profile/package.provided
Comment 5 whereami 2006-01-05 14:22:29 UTC
I was thinking the dependancy should be attached to the X USE flag. I'm not sure (can't test here atm), but i would guess it has another mechanism for asking for a password when X is not present. It also might not re-ask for a password if you are using public key authentication and have ssh-agent/Keychain set up (again, i have not tested this), so there are ways around this that the user might just have to figure out for themselves if they don't have/want X.
Comment 6 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-01-07 13:38:34 UTC
Could you please test doing a mount with --persistent on the machine without X? (just emerge -Oav shfs) and if that does indeed function, I will add the X useflag to the ebuild.
Comment 7 Kevin Winter 2006-03-20 19:27:05 UTC
(In reply to comment #6)
> Could you please test doing a mount with --persistent on the machine without X?
> (just emerge -Oav shfs) and if that does indeed function, I will add the X
> useflag to the ebuild.
> 

$ sudo shfsmount --persistent -o uid=myuser,gid=myuser myuser@remotehost:/home/myuser/ lab.cs
myuser@RebelDevelopement ~/src $ Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password,keyboard-interactive).
shfsmount: Cannot create connection

myuser@RebelDevelopement ~/src $ ls lab.cs
myuser@RebelDevelopement ~/src $

This is with -r2, No X.  I haven't used --persistent before, and only found this bug because i was searching for open bugs concerning net-misc/x11-ssh-askpass.  I'm siding with the i-dont-want-x11 side.  Certainly not wanted on a headless server.  Never had problems without --persistent.  Maybe make it an X use flag anyway?
Comment 8 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-03-22 12:55:51 UTC
Added useflag in -r3.  Please sync and test in ~2 hours.