On Sat, Mar 17, 2018 at 01:26:19PM +0100, Heinrich Schuchardt wrote:

> My system is booting from iSCSI. This implies that the network interface
> has to be always up.
> 
> The ifupdown-wait-online.service blocks booting for 5 minutes:
> 
> iscsistart: version 2.0-874
> iscsistart: initiator reported error (15 - session exists)
> root: recovering journal
> root: clean, 228233/2064384 files, 2669304/8257536 blocks
> [FAILED] Failed to start Raise network interfaces.

This line indicates that it failed to bring up the network interfaces
marked auto using ifup.

> See 'systemctl status networking.service' for details.
> [  OK  ] Reached target Network.
>          Starting Network Time Service...
>          Starting OpenBSD Secure Shell server...
> [  OK  ] Started OpenBSD Secure Shell server.
> [  OK  ] Started Network Time Service.
> [FAILED] Failed to start Wait for network to be configured by ifupdown.

The ifupdown-wait-online service failed because ifupdown never
succesfully brought a network interface up itself. This is the default
behaviour of the ifupdown-wait-online script. You can also have it wait
until a default route is present by adding the following line to
/etc/default/networking:

WAIT_ONLINE_METHOD=route

But you should try to find out why ifupdown failed bringing up the
network in the first place. You could do that by removing the auto eth*
lines from /etc/network/interfaces, reboot, and then run ifup -v eth0;
ifup -v eth0:1 by hand, and check for any error messages.

-- 
Met vriendelijke groet / with kind regards,
      Guus Sliepen <[email protected]>

Attachment: signature.asc
Description: PGP signature

Reply via email to