[CentOS] Problem with xen on Centos-4.4?

Jim Perrin
Mon, 22 Jan 2007 15:03:21 -0000

> 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