[15520] in Athena Bugs
sparc 8.1.11: /usr/ucb precedes /usr/ccs/bin in PATH
daemon@ATHENA.MIT.EDU (John Hawkinson)
Sat Sep 20 16:43:50 1997
Date: Sat, 20 Sep 1997 16:43:47 -0400
To: bugs@MIT.EDU
From: John Hawkinson <jhawk@MIT.EDU>
The $athena_path from /usr/athenba/lib/init/cshrc has /usr/ucb
preceding /usr/ccs/bin:
set athena_path=( /srvd/patch /usr/athena/bin /bin/athena /usr/openwin/bin \
/usr/openwin/demo /usr/bin /usr/ucb /usr/ccs/bin \
/usr/andrew/bin /usr/athena/etc /usr/sbin /sbin )
There is only one binary in common between them:
[mary-kay-commandos!jhawk] ~> ls /usr/ucb | sort > /tmp/ucbfiles
[mary-kay-commandos!jhawk] ~> ls /usr/ccs/bin | sort > /tmp/ccsfiles
[mary-kay-commandos!jhawk] ~> gcomm -12 /tmp/ucbfiles /tmp/ccsfiles
ld
[mary-kay-commandos!jhawk] ~>
I don't think that users who run "ld" want to get the UCB version,
since it's simply a shellscript wrapper around /usr/ccs/bin/ld
that causes linkage against libucb (notiroiosuly buggy).
Could /usr/ccs/bin/ please precede /usr/ucb in the path?
Looking at some more things, there are some other
conflicts. /usr/ucb/lpc precedes /usr/athena/etc/lpc (which perhaps
no one ever uses?).
These commands in /usr/sbin are preceded by variants in ucb:
df
install
quota
shutdown
I'm not sure whether it's appropriate to change this or not.
Right now on an athena workstation you can "su" and say
"shutdown -h now" rather than "shutdown -y -g0 -i0".
If that were to change then something should probably go in the
release notes about it.
df and install may have more user-visible effects.
/usr/sbin/quota is preceded by /usr/athena/bin/quota so this doesn't
matter a whole lot there.
So, to reiterate, I'd recommend making sure that /usr/ccs/bin
is ahead of /usr/ucb. It probably makes sense from an architectural
standpoint for /usr/ucb to follow /sbin, however this may cause
user-visible changes...
--jhawk