[2592] in SIPB_Linux_Development
Re: /bin/login (ttylogin) and /etc/sendmail.cf (athena-rc)
daemon@ATHENA.MIT.EDU (Salvatore Valente)
Fri Feb 12 02:03:08 1999
Date: Fri, 12 Feb 1999 02:02:53 -0500
To: Derek Atkins <warlord@MIT.EDU>
Cc: linux-dev@MIT.EDU
In-Reply-To: "[2570] in SIPB_Linux_Development"
From: Salvatore Valente <svalente@MIT.EDU>
I did a little more testing (by creating a second revision of the
"trigger" package) and found out that there is no problem with the
current ttylogin.spec scripts.
When you upgrade a package, both the %postun and any triggers in the
package get run. So, when you upgrade the ttylogin package, first the
%postun gets run, which erases the /bin/login symlink and renames
/bin/login.orig back to /bin/login. Then, the trigger runs, which
renames /bin/login back to /bin/login.orig again and recreates the
symlink again.
All is well.
Sal.