[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RPM %post dying - pthread, fork, execve
- From: "David D. Hagood" <David Hagood aeroflex com>
- To: rpm-devel colug net, rpm-list redhat com
- Cc:
- Subject: RPM %post dying - pthread, fork, execve
- Date: Tue, 10 Aug 2004 08:22:12 -0500
I have a problem with a program using librpm - when RPMs containing %post
scriptlets are installed, the scriptlet dies. This does not happen when running
rpm from the command line.
The problem *seems* to be related to pthreads, fork, and execve - the program is
using pthreads, and librpm uses fork&execve to launch the shell. From what I've
seen elsewhere, there seems to be a problem when using fork&execve in a pthreads
environment.
Does anybody have any suggestions on how I could do one of the following:
Resolve the fork&execve problem
Gain control over libRPM to launch sub-shells with my own code (so that I could
use something other than fork&execve)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]