Hi,

as you may know, I'm the Debian developer in charge for Yum. At my
company (GPLHost), we use yum for setting-up CentOS VMs for our
customers. While it works very well if the Xen dom0 is running Lenny, it
currently fails with the following output:

M  Installing     : pam-0.99.6.2-6.el5_5.2.x86_64
  79/107/var/tmp/rpm-tmp.FOXgio: line 10: cat: command not found
/var/tmp/rpm-tmp.FOXgio: line 11: rm: command not found
/var/tmp/rpm-tmp.FOXgio: line 26: install: command not found
/var/tmp/rpm-tmp.FOXgio: line 29: install: command not found
Non-fatal POSTIN scriptlet failure in rpm package
pam-0.99.6.2-6.el5_5.2.x86_64

warning: %post(pam-0.99.6.2-6.el5_5.2.x86_64) scriptlet failed, exit
status 127

To fix it, I have to run in single user mode (with extra = "single" in
the xen domU configuration file), then run:

yum install pam

That reinstalls about 87 packages, including pam itself. Then I have the
message:

warning: /etc/pam.d/system-auth created as /etc/pam.d/system-auth.rpmnew

so I have to copy the system-auth.rpmnew in system-auth (otherwise, the
file is zero bytes, and you can't login). Then everything works.

So, do you guys have any idea what's going on? What is broken here? Is
there a chance that a newer version of yum will do better (Debian
Squeeze has version 3.2.25)? I'd appreciate help, so that I can fix this
bad situation.

Cheers,

Thomas
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to