[CentOS] Problem with xen on Centos-4.4?

Mon Jan 22 15:03:21 UTC 2007
Jim Perrin <jperrin at gmail.com>

> Now however I am having remarkably similar problems with two official
> Centos-4.4 updates, xorg-x11-xfs and openssh-server.  Can anybody give me
> some clues as to what is going on and how I might correct this.  I am sure
> that xen is involved in this somehow because I run four other servers with
> Centos-4.4 and none of them have displayed this problem.
>
> This is what I am seeing when trying to update via yum:

> error: %pre(openssh-server-3.9p1-8.RHEL4.17.1.i386) scriptlet failed, exit
> status 255
> error:   install: %pre scriptlet failed (2), skipping
> openssh-server-3.9p1-8.RHEL4.17.1
>
> Updated: openssh-server.i386 0:3.9p1-8.RHEL4.17.1
> Complete!


This basically means that the package files were put in place
correctly but the scripts which run before the install failed.

rpm -q openssh-server --scripts shows the following for the preinstall script:

preinstall scriptlet (using /bin/sh):
/usr/sbin/useradd -c "Privilege-separated SSH" -u 74 \
        -s /sbin/nologin -r -d /var/empty/sshd sshd 2> /dev/null || :

The xorg-x11-xfs package preinstall is a bit more to choke down, so
I'll let you do that on your own if you wish.

That both of them fail is an indication that something is indeed
horked. Are these instances running as a guest, or is this the host
box?



-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell