[18325] in Athena Bugs
two bugs in athena-krb5 RPM on IS-Linux
daemon@ATHENA.MIT.EDU (Ronnie G Misra)
Wed Sep 20 19:34:03 2000
Message-Id: <200009202333.TAA20908@all-night-tool.mit.edu>
To: bugs@MIT.EDU, linux-testers@MIT.EDU
cc: rgmisra@MIT.EDU
Date: Wed, 20 Sep 2000 19:33:51 -0400
From: Ronnie G Misra <rgmisra@MIT.EDU>
I apologize if I am not supposed to send to these lists.
I found two bugs in the athena-krb5-8.4-10 package.
The first bug is in the pre-uninstall script, and has already been
reported to bugs@mit.edu. The script looks like this:
[ $1 = 0 ] || exit 0
sed -e '\,/usr/athena/etc/login.krb5,d' /etc/conf.getty >
/etc/conf.getty.new
mv /etc/conf.getty.new/sedout /etc/conf.getty
It fails because /etc/conf.getty.new is a file, not a directory, so
the last line is incorrect.
The second bug causes the TERM variable to be set to unknown on
console logins. When the package is installed, it modifies
/etc/inittab, replacing /sbin/getty with /sbin/mingetty. On RedHat,
mingetty is responsible for setting the TERM variable, and getty does
not do this unless the terminal type is passed on the command
line. Thus, the lines:
1:2345:respawn:/sbin/getty tty1
2:2345:respawn:/sbin/getty tty2
...
should be:
1:2345:respawn:/sbin/getty tty1 VC linux
2:2345:respawn:/sbin/getty tty2 VC linux
...
(VC is the default speed setting in /etc/gettydefs.)
Please cc any comments to rgmisra@mit.edu, as I am not yet on the
linux-testers list (but will be when moira updates).
Ronnie Misra
rgmisra@mit.edu