RE: RE: %pre script failures in alternate root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jeff-

[root@maxwell dir.1]# rpm --version
RPM version 4.2.3

	I guess it is a bit old.

-Aaron 

> -----Original Message-----
> From: rpm-list-bounces@xxxxxxxxxx 
> [mailto:rpm-list-bounces@xxxxxxxxxx] On Behalf Of Jeff Johnson
> Sent: Friday, October 27, 2006 4:11 PM
> To: RPM Package Manager
> Subject: Re: RE: %pre script failures in alternate root
> 
> On 10/27/06, Aaron Hanson <a.hanson@xxxxxx> wrote:
> > Hi All-
> >
> >         I just resolved this; I had no /var/tmp in my 
> chroot area. I 
> > guess the rc (2) is a standard shell rc (NOENT). Works fine once I 
> > added /var/tmp.
> >
> >         Strange that %post scripts worked but %pre did not...
> >
> 
> %pre has alway had a "best effort" semantic for hysterical reasons.
> 
> But yes, rpm writes scriptlets into %{_tmppath} (i.e. 
> /var/tmp) before executing.
> 
> Hmmm, I'm pretty sure that I added a lazy mkdir on /var/tmp 
> the 14th or 15th time I had to diagnose this problem years ago.
> 
> What version of rpm are you using?
> 
> 73 de Jeff
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
> 

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux