[CentOS] mock %post(pam) failure

Bill Campbell centos at celestial.com
Fri Apr 10 00:54:40 UTC 2009


On Thu, Apr 09, 2009, Stuart Jansen wrote:
>I recently upgraded an internal build server from C5.2 to C5.3 and now
>I'm experiencing problems initializing the mock buildroot. Specifically,
>I'm getting the following error:
>
>------
>/var/tmp/rpm-tmp.77062: line 6: cat: command not found
>/var/tmp/rpm-tmp.77062: line 7: rm: command not found
>/var/tmp/rpm-tmp.77062: line 22: install: command not found
>/var/tmp/rpm-tmp.77062: line 25: install: command not found
>error: %post(pam-0.99.6.2-4.el5.i386) scriptlet failed, exit status 127

This looks like the PATH environment variable is not set properly
in the RPM build script (or your /bin/ directory is missing which
would cause severe heartburn :-).

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186  Skype: jwccsllc

If the government can take a man's money without his consent, there is no
limit to the additional tyranny it may practise upon him; for, with his
money, it can hire soldiers to stand over him, keep him in subjection,
plunder him at discretion, and kill him if he resists.
	Lysander Spooner, 1852


More information about the CentOS mailing list