[26326] in Athena Bugs
linux 9.3.18: add
daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Mon Jan 24 21:58:40 2005
Message-Id: <200501250258.j0P2w4qa014876@opus.mit.edu>
To: bugs@mit.edu
Date: Mon, 24 Jan 2005 21:58:04 -0500
From: "Jacob Morzinski" <jmorzins@mit.edu>
cc: jmorzins@mit.edu
Errors-To: bugs-bounces@mit.edu
System name: opus.mit.edu
Type and version: i686 9.3.18 (with mkserv)
Display type: nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro] (rev 15)
Shell: /bin/athena/bash
Window manager: sawfish
What were you trying to do?
I've gotten used to being able to type "add", by itself
with no lockername argument, to see which lockers I've
added to my path.
I'm also pleased that I can [k]su to root, and type
"add lockername", and things still work.
I attempted to combine the two, and typed "add" with no
locker name, as root.
What's wrong:
The computer effectively ran an old-style "attach"
command, with the output you would get if you omitted
"-Padd", captured the output of "attach", and tried to
execute that output.
Under tcsh, the effects are limited to an error about
"filesystem: Command not found". Under bash, the shell
shows that error but goes on to continue to attempt to
execute all of the output; which means it tries to
execute one command for each locker in my path.
If I have "consult", "moira", "sipb", "infoagents",
"graphics", "windowmanagers", etc., attached, the output
is:
# add
bash: filesystem: command not found
bash: ----------: command not found
bash: consult: command not found
moira: No ticket file found reading Kerberos ticket file.
bash: sipb: command not found
bash: infoagents: command not found
bash: graphics: command not found
bash: windowmanagers: command not found
The culprit seems to be the $add_flags. When root, the
"$add_flags" are "-a -h -n". The command
/bin/athena/attach -Padd -b -a -h -n
produces dramatically different output from the command
/bin/athena/attach -Padd -b
or even
/bin/athena/attach -Padd -b -a
What should have happened:
When invoked as -Padd, it seems like attach should
consistently give output in add's format, even if
-h and -n are passed in.
Please describe any relevant documentation references:
[Please replace this line with your information.]
Thank you,
Jacob Morzinski jmorzins@mit.edu