[2594] in SIPB_Linux_Development
Re: /bin/login (ttylogin) and /etc/sendmail.cf (athena-rc)
daemon@ATHENA.MIT.EDU (Derek Atkins)
Fri Feb 12 10:13:42 1999
To: Salvatore Valente <svalente@MIT.EDU>
Cc: linux-dev@MIT.EDU
From: Derek Atkins <warlord@MIT.EDU>
Date: 12 Feb 1999 10:10:30 -0500
In-Reply-To: Salvatore Valente's message of Fri, 12 Feb 1999 02:02:53 -0500
GREAT!
Salvatore Valente <svalente@MIT.EDU> writes:
> 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.
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL N1NWH
warlord@MIT.EDU PGP key available