[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RPM %post dying - pthread, fork, execve
- From: Paul Nasrat <pnasrat redhat com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: RPM %post dying - pthread, fork, execve
- Date: Tue, 10 Aug 2004 19:31:57 -0400
On Tue, Aug 10, 2004 at 10:55:03PM +0300, Panu Matilainen wrote:
> On Tue, 2004-08-10 at 22:44, David D. Hagood wrote:
> > > Just guessing but are you calling rpmtsSetRootDir() before running the
> > > transaction? Even if the rootdir is set to NULL you have to initialize
> > > it on rpm >= 4.1, otherwise all scriptlets will fail.
> >
> > That was it - thanks!
>
> You're not the first and probably not the last either (been there... :)
> to miss that bit.
>
> Jeff & co - how about a little comment in the sources about the
> necessity of calling rpmtsSetRootDir() before rpmtsRun() ?
Probably best as doxygen, if someone feels like knocking up a patch then that's great, else I'll try and look at tomorrow...
Paul
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]