It may take a few moments for the strace process to properly terminate
and write all logs to the backing storage
eval $(udevadm info --export --query=env --name=${LOOPDEV}p2)
setup_basic_environment
- inst_binary mktemp
+ dracut_install mktemp
# mask some services that we do not want to run in these tests
ln -fs /dev/null $initdir/etc/systemd/system/systemd-hwdb-update.service
stopStrace() {
kill -s TERM $COPROC_PID
+ # Make sure the strace process is indeed dead
+ while kill -0 $COPROC_PID 2>/dev/null; do sleep 0.1; done
}
startJournalctl() {
pid1ReloadWithStrace() {
startStrace
systemctl daemon-reload
+ sleep $sleepAfterStart
stopStrace
}