> well i've now been able to restart 3 of the 4 systems about 5-10x each 
> through the day. all have
> had their gateway and dns- settings from /e/n/i reliably set. that is, until 
> now. i've got one
> system that did not get gateway or dns- settings.

The gateway is set directly from ifup (by calling 'ip route add default
via ...').  But the resolv.conf entries are set by the /etc/network/if-
up.d/000resolvconf script, which is only run if all other interface
configuration succeeded, so if you're missing the dns that could just
mean some other part of the interface setup failed (e.g. setting the
gateway).

> is there a way to check for a failure status code tied to ifup or
resolvconf runs during startup?

are you using upstart or systemd?  For upstart look in the
/var/log/upstart/network* log files, for systemd look in
/var/log/syslog.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1628552

Title:
  on startup gateway & dns- options in /etc/network/interfaces are not
  always set

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1628552/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to