Description of problem: This was discovered when trying to install the freeipa package. During installation a number of services are configured and need to be restarted. The installer was hanging whenever a service was restarted. While trying to diagnose this I discovered that strace -f will also demonstrate the hang. Version-Release number of selected component (if applicable): systemd-17-1.fc15.x86_64 Steps to Reproduce: 1. yum install ntpd strace 2. strace -f /sbin/service restart ntpd
Created attachment 476839 [details] python script that demonstrates the hang If you change the value of capture_output in the script to False then the script will exit gracefully.
Fixed upstream: http://cgit.freedesktop.org/systemd/commit/?id=7f6d613516020bf390d8de25bbbb2551ea8dade0 Note that the strace -f issue is unrelated to the python popen() issue. The strace -f issue happens because strace interferes with the process tree and PR_SETDEATHSIG hence loses its meaning. Not sure we really need to fix that given that this only happens when strace as debugging tool is used. The popen() issue is fixed.
Built a new package now in koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=2798040 Please test and reopen in case this desn't fix the issue.
Using this build I was able to do a minimal FreeIPA server installation. Still need to do more testing but initial results are very positive.