-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ddclient: T5791: Keep ddclient.service in foreground #4276
Conversation
👍 |
Did you validate smoketests? The immadiately fail for me:
Using: #!/bin/sh
good=0
bad=0
for ii in $(seq 1 1000)
do
echo "DDCLIENT test - run #$ii previous good/bad ($good/$bad)"
/usr/libexec/vyos/tests/smoke/cli/test_service_dns_dynamic.py
if [ "x$?" != "x0" ]; then
bad=$((bad+1))
continue
fi
good=$((good+1))
done |
@indrajitr my bad - upon debugging the issue further I noticed the following process running: So my testcase test broke the test, as my script container |
Since the distributed ddclient.service is of type 'exec' now, avoid using process forking and let systemd manage the process directly.
fd2d452
to
dbf42ed
Compare
CI integration 👍 passed! Details
|
Change summary
Since the distributed ddclient.service is of type 'exec' now, avoid using process forking and let systemd manage the process directly.
This might help spurious issues with smoketest as well.
Types of changes
Related Task(s)
https://vyos.dev/T5791
Related PR(s)
dns dynamic
How to test / Smoketest result
Checklist: