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

Bug 110051

Summary: scponly // amd64 / emt64t (nocona) // required library not copied (no such file or directory message upon login)
Product: Gentoo Linux Reporter: andreas <bugsgentooorg>
Component: New packagesAssignee: AMD64 Project <amd64>
Status: VERIFIED NEEDINFO    
Severity: enhancement CC: toolchain
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description andreas 2005-10-21 10:54:51 UTC
On amd64, ld-linux-x86-64.so.2 doesn't get copied, as it resides in /lib64 
instead of /lib. 
 
This results in the following log entries: 
 session opened for user scponly by (uid=0) 
 running: /usr/bin/scp -t . (username: scponly(xxx) 
 failed: /usr/bin/scp -t . with error No such file or directory(2) 
 
Copying the lib resolves the issue. Sorry no patch, weekend now ;-) 

Reproducible: Always
Steps to Reproduce:
1. emerge scponly  
2. attempt login (fail)  
 
Actual Results:  
'connection closed' on client 

Expected Results:  
login to chrooted scponly(c) 

1. copy /lib64/ld-linux-x86-64.so.2 to chroot 
2. attempt login (succeed)
Comment 1 SpanKY gentoo-dev 2005-10-21 17:01:49 UTC
neglected to post `emerge info` like the bug report page told you to

/lib/ld-linux-x86-64.so.2 and /lib64/ld-linux-x86-64.so.2 should be symlinks
Comment 2 andreas 2005-10-23 23:51:35 UTC
1. It says 'where appropriate'. I don't think it's appropriate.   
   
> /lib/ld-linux-x86-64.so.2 and /lib64/ld-linux-x86-64.so.2 should be symlinks  
  
Maybe you should verify. 
 
Closing. Circus.