Re: Becareful with up2date over SSH session

Stephen Smoogen <[email protected]> Mon, 2 Aug 2004 14:29:33 -0600 (MDT)
Newsgroups gmane.linux.redhat.taroon
Message-ID <[email protected]>
On Sat, 31 Jul 2004, Eduardo Kaftanski wrote:

>On Sat, Jul 31, 2004 at 11:03:22AM -0600, Stephen Smoogen wrote:
>> 
>> I tried bringing up a RHEL ES system yesterday to the beta channel 
>> yesterday. I followed the usual procedure I do with any RHEL box which 
>> is to log in via SSH and then do a /usr/sbin/up2date --nox -u
>> 
>> This normally works and works in most of my beta testing before. However 
>> right after downloading all the packages and beginning to update 
>> packages, ssh was killed after glibc was updated. This killed the 
>> up2date and the DB was in a bad state. It looks like about 20 packages 
>> were still on the disk but not in the database so when I was able to get 
>> the system going again.. I needed to do a manual rebuild of the RPM 
>> database, and then an rpm -Uvh --force /var/spool/up2date/*rpm and then 
>> go through the various .rpmsave/new/orig files to see what had been 
>> 'lost'. Thankfully not a lot that I can tell.
>> 
>
>
>The only time this has bitten me is when I was working on system
>that had a rootkit installed that replaced normal sshd...


I wondered about that.. but chkrootkit didnt find anything. I am going 
to try some more.


-- 
Stephen John Smoogen		[email protected]
Los Alamos National Lab  CCN-5 Sched 5/40  PH: 4-0645
Ta-03 SM-1498 MailStop B255 DP 10S  Los Alamos, NM 87545
-- "We cannot have a free government without elections; and if the
-- rebellion could force us to forgo, or postpone, a national election,
-- it might fairly claim to have already conquered us." Abraham Lincoln


--
Taroon-beta-list mailing list
[email protected]
http://www.redhat.com/mailman/listinfo/taroon-beta-list