postfix race condition with DHCP, copies an empty resolv.conf
Bug #1661992 reported by
Christophe Lyon
This bug report is a duplicate of:
Bug #1519331: Postfix cannot resolve DNS if network was unavailable when it was started, such as on a laptop.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postfix (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
I think there is a race condition at startup between postfix and DHCP (or the network startup code), leading to an empty copy of resolv.conf.
Specifically, I'm running Ubuntu 16.10 on an x86_64 workstation, which gets its network configuration via DHCP.
I am also using postfix, and since "a few weeks", the outgoing mails are pending in the mail queue until I do 'service postfix restart', which updates postfix's copy of resolv.conf in /var/spool/
When I say since "a few weeks", it's because I'm not exactly sure when the problem appeared, but for sure it used to work. I'd say the problem appeared when I upgraded from 16.04 to 16.10.
To post a comment you must log in.