On 01/06/2023 13:59, Miroslav Lichvar wrote: > On Thu, Jun 01, 2023 at 01:51:27PM +0200, jvoisin wrote: >> On 01/06/2023 13:31, Miroslav Lichvar wrote: >>> On Thu, Jun 01, 2023 at 01:16:17PM +0200, jvoisin wrote: >>>> is there a way to tell the strace wrapper to follow children? >>> >>> Try CHRONYD_WRAPPER="strace -f" ./002-extended >>> >>> but you will need to terminate it manually (e.g. ctrl-c). >>> >> ``` >> alpine:/home/jvoisin/chrony/test/system# CHRONYD_WRAPPER="strace -f" >> TEST_SCFILTER=1 ./002-extended >> Testing extended configuration: >> non-default settings: >> starting chronyd >> ``` >> >> then it doesn't start. > > Yes, that's expected. Press ctrl-c after few seconds and check the log > file for ioctls. >
``` alpine:/home/jvoisin/chrony/test/system# CHRONYD_WRAPPER="strace -f" TEST_SCFILTER=1 ./002-extended Testing extended configuration: non-default settings: starting chronyd ^C alpine:/home/jvoisin/chrony/test/system# grep -i iotcl tmp/chronyd.out alpine:/home/jvoisin/chrony/test/system# ``` no luck :/ -- To unsubscribe email [email protected] with "unsubscribe" in the subject. For help email [email protected] with "help" in the subject. Trouble? Email [email protected].
