RPM %post dying - pthread, fork, execve

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

 



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)



_______________________________________________ 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