Bug 166666

Summary: nash readlink doesn't necessarily work with links to directories
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: mkinitrdAssignee: Peter Jones <pjones>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.0.29-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-27 16:50:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bill Nottingham 2005-08-24 14:22:28 UTC
$ mkdir foo
$ ln -s foo bar
$ echo "readlink ./bar" | /sbin/nash --quiet
/home/notting/tmp/foo
$ echo "readlink bar" | /sbin/nash --quiet
error realpath bar/foo: 2

The second *should* work, AFAIK.

Comment 1 Peter Jones 2006-02-27 16:50:42 UTC
"bar" and "./bar" should work now.  Note that "bar/." will still not expand.