Tom Sightler wrote:
On Thu, 2007-07-05 at 22:54 -0400, Tom Sightler wrote:
If you put a symbolic link to /bin/etc in /usr/local/bin
^^^^^^^^
This should of course be:
If you put a symbolic link to /bin/echo in /usr/local/bin
There are actually several places ksh looks:
20:53 [EMAIL PROTECTED] ~]$ strace -f -e trace=process,file ./ktest
execve("./ktest", ["./ktest"], [/* 46 vars */]) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib/libdl.so.2", O_RDONLY) = 3
open("/lib/i686/nosegneg/libm.so.6", O_RDONLY) = 3
open("/lib/i686/nosegneg/libc.so.6", O_RDONLY) = 3
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 3
mount("", "", NULL, 0, "") = -1 ENOENT (No such file or
directory)
stat64("/dev/null", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
stat64("/home/summer", {st_mode=S_IFDIR|0751, st_size=20480, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0751, st_size=20480, ...}) = 0
readlink("/proc/21529/exe", "/bin/ksh", 4096) = 8
open("./ktest", O_RDONLY|O_LARGEFILE) = 3
access("/usr/lib/qt-3.3/bin/echo", X_OK) = -1 ENOENT (No such file or
directory)
access("/usr/kerberos/bin/echo", X_OK) = -1 ENOENT (No such file or
directory)
access("/usr/local/bin/echo", X_OK) = -1 ENOENT (No such file or
directory)
Test \c
exit_group(0) = ?
Process 21529 detached
20:53 [EMAIL PROTECTED] ~]$
Seems to me the best fix is for Red Hat to do it. Red Hat's broken
compatibility with earlier releases, and whatever individual users do,
it's still going to bite those unprepared.
If RH fixes it, then it's done for everyone forever.
--
Cheers
John
-- spambait
[EMAIL PROTECTED] [EMAIL PROTECTED]
Please do not reply off-list
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list