On Fri, Sep 08, 2017 at 10:13:55PM +0300, Ivan Krylov wrote:

> When initramfs uses klibc ipconfig to get a connection before booting the 
> system
> (e.g. to allow the admin to connect to dropbear and unlock the encrypted 
> volumes),
> `ifup -a` invoked by `/etc/init.d/networking start` invoked by sysvinit 
> reports:
> "interface enp4s0 already configured".

Hm, that would mean that something already called ifup -a, or that it
modified /run/network/ifstate to make it appear as if the interface was
already brought up by ifupdown.

> This leaves the interface with an IP address,
> but resolv.conf is left empty (with a warning about any changes being 
> overwritten by
> `resolvconf`). I'm not sure how to approach this properly, so for now I run 
> `service
> networking restart` after reboots (when I don't hibernate).
> 
> What's the proper course of action? Feel free to reassign.

Can you try changing "ifup -a" in /etc/network/interfaces to "ifup --force -a"?

-- 
Met vriendelijke groet / with kind regards,
      Guus Sliepen <g...@debian.org>

Attachment: signature.asc
Description: PGP signature

Reply via email to