Re: RPM chokes when "running preinstall script"

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

 



On Mon, 2005-05-16 at 11:23 -0400, James Olin Oden wrote:
> On 5/16/05, Aizer Danny-BDA023 <Danny.Aizer@xxxxxxxxxxxx> wrote:
> > Well - we've figured it out: /var/tmp directory was missing (it was
> > there
> > previously, but was mistakenly deleted).
> > 
> > It seems that RPM creates the temporary scripts for sh to run under
> > /var/tmp.
> > 
> Yes it does.
> > Can it be changed to use /tmp ?
> > 
> Don't know, but if you look in lib/psm.c at the runScript(s?)
> function, in there it makes the  call to create the tmp file for the
> scriptlet.  That is an internal function, and you can find it
> somewhere in the source.   Looking at that function should answer your
> question (I'm a bit busy on non-rpm stuff, otherwise I would look for
> you).

It uses whatever dir rpm %_tmppath macro points to, so yes it can be
changed to use /tmp.

	- Panu -


[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