Displaying 3 results from an estimated 3 matches for "strace_output".
2018 Nov 08
2
Re: guestfs_launch() fails when C application is started as a systemd service
Here are strace outputs per process.
strace_output.22076 is the plugin's pid. (A little before forking)
strace_output.22077 runs qemu-img
strace_output.22078 is a mystery to me
strace_output.22079 is rm -rf to the overlay image and its temporary dir.
Best Regards,
Peter
On Wed, Nov 7, 2018 at 4:38 PM Richard W.M. Jones <rjones@redhat.com...
2018 Nov 07
2
Re: guestfs_launch() fails when C application is started as a systemd service
> That makes no sense because we are supposed to have just forked
successfully
I just realized libguestfs uses fork. Now we know why qemu-img worked - I
launched it with popen.
> So it must be something to do with collectd and how it runs programs.
> Is it using LD_PRELOAD trickery, or replacing libc, or using seccomp?
If I understand the question correctly - it's about how
2018 Nov 08
0
Re: guestfs_launch() fails when C application is started as a systemd service
On Thu, Nov 08, 2018 at 04:51:31PM +0200, Peter Dimitrov wrote:
> Here are strace outputs per process.
>
> strace_output.22076 is the plugin's pid. (A little before forking)
Ah ha.
Close reading of the waitpid(2) man page says:
ECHILD (for waitpid() or waitid()) The process specified by pid (wait‐
pid()) or idtype and id (waitid()) does not exist or is not a
child of th...