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
Problem with dhclient restarting #4017
Comments
There might be a race involved, between: core/src/etc/inc/interfaces.inc Line 3242 in c4bc519
and core/src/etc/inc/interfaces.inc Lines 3311 to 3315 in c4bc519
In the same function... if dhclient does not respond to SIGTERM it is likely stuck in the system forever. If you can, please re-evaluate on 20.1 as 19.7 is no longer maintained. |
I'm running a newer version and still having this issue as well: My WAN connection will work fine for days with a DHCP renewal every 900 seconds from my ISP (Frontier FIOS). However, all of a sudden the WAN stops working and I see the exact same series of events seen above. |
This issue has been automatically timed-out (after 180 days of inactivity). For more information about the policies for this repository, If someone wants to step up and work on this issue, |
Wanted to add, after digging in more and troubleshooting I do not believe my issue on 20.7.1 was related to this old one so this may be better now. Mine appeared to be related to the way my ISP handled DHCP renew requests going to the gateway and seems to be fixed so far based on what I did here: https://forum.opnsense.org/index.php?topic=19143.0 |
Hello! Sometimes something strange happening on opnsesne. WAN goes to defunct state. As i see - main problem is that
The command '/sbin/dhclient -c '/var/etc/dhclient_wan.conf' -p '/var/run/dhclient.re1.pid' 're1'' returned exit code '1', the output was 'dhclient already running, pid: 71216. exiting.'
Relevant log files
If applicable, information from log files supporting your claim.
Environment
Software version used and hardware type if relevant.
e.g.:
OPNsense 19.7.10-amd64
FreeBSD 11.2-RELEASE-p16-HBSD
OpenSSL 1.0.2u 20 Dec 2019
The text was updated successfully, but these errors were encountered: