[4502] in testers

home help back first fref pref prev next nref lref last post

athena-krb5 and conf.getty

daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Jun 26 15:08:40 2000

Date: Mon, 26 Jun 2000 15:08:30 -0400 (EDT)
Message-Id: <200006261908.PAA19855@small-gods.mit.edu>
From: Greg Hudson <ghudson@MIT.EDU>
To: testers@MIT.EDU

The athena-krb5 RPM has a %post script which adds
"LOGIN=/usr/athena/etc/login.krb5" and a %preun script which removes
the line (actually, just blanks it out, which is a small bug).  When
upgrading the athena-krb5 RPM, the order of scripts seems to be:

	1. preinstall script for new RPM
	2. postinstall script for new RPM
	3. preuninstall script for old RPM
	4. preuninstall script for old RPM

So the net effect is to add a blank line to /etc/conf.getty, or to
blank out an existing "LOGIN=/usr/athena/etc/login.krb5" if there is
one.

This is a pretty critical problem; worse, it could be affecting other
RPMs which do similar things.

home help back first fref pref prev next nref lref last post