Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2515 - execvp failed for smbmnt
Summary: execvp failed for smbmnt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-07 01:45 UTC by Alastair Nicol
Modified: 2003-02-04 19:42 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 Alastair Nicol 2002-05-07 01:45:26 UTC
hiya,
  mount -t smbfs -u username=x,password=x  //my/share /mnt/smb

fails with
execvp of smbmnt failed. no such file or directory

smbmnt is in PATH so i dont understand why its not being picked up.

doing a 

ln -s /usr/sbin/smbmnt /bin/smbmnt 

corrects the problem

is this a problem with the ebuild script???

Al
Comment 1 Alastair Nicol 2002-05-10 10:06:46 UTC
this was a build from samba-2.2.4.ebuild

after some investigation...

updating the ebuild script to add to the .configure

--bindir=/usr/sbin

appears to be a better long term fix, samba appears to work ok for me after this
change
however i dont know if this has broken anything else.

also...
samba/files/samba-2.2.2-smbmount.diff gets added to the build for 2.2.4,
this is to remove a "ln -s" for smbmnt in the samba sources.
why this patch?? there are no comments. is this to fix a sandbox error??

Al





Comment 2 Donny Davies (RETIRED) gentoo-dev 2002-05-10 13:37:10 UTC
probably a bug.  i'll investigate as time allows.
Comment 3 Donny Davies (RETIRED) gentoo-dev 2002-05-14 00:56:48 UTC
okay, hopefully i've fixed this.

please try samba-2.2.4-r1


thx for reporting.