Open run2000 opened 4 years ago
Other bits of information that may be relevant:
I had previously de-installed dhcpcd5 and installed iproute2, which may be the reason this script is being used. I'm using Fetchmail in daemon mode, setting the appropriate variable in /etc/default/fetchmail:
# This file will be used to declare some vars for fetchmail
#
# Uncomment the following if you don't want localized log messages
# export LC_ALL=C
# If you want to specify any additional OPTION to the start
# scripts specify them here
# OPTIONS=...
# Declare here if we want to start fetchmail. 'yes' or 'no'
START_DAEMON=yes
systemctl restart fetchmail
It's also likely that 1 August was the day that I happened to install Fetchmail, so the /etc/resolvconf/update-libc.d/fetchmail script has probably been failing the whole time.
This seemed to start happening on 1 August, having been working ok up until this point.
I was having problems where the eth0 interface would fail to start. Looking in journalctl, I was seeing these error messages:
journalctl -u ifup@eth0.service
The actual problem is in the fetchmail script under /etc/resolvconf/update-libc.d/fetchmail:
The problem is that invoke-rc.d is not on the path. The workaround is to provide the absolute path in this script:
Result:
journalctl -u ifup@eth0.service