Package: ifupdown
Version: 0.8.31
Severity: normal

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.
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.
See 'systemctl status ifupdown-wait-online.service' for details.
[  OK  ] Reached target Network is Online.
         Starting iSCSI initiator daemon (iscsid)...


~$ systemctl status ifupdown-wait-online.service
● ifupdown-wait-online.service - Wait for network to be configured by
ifupdown
   Loaded: loaded (/lib/systemd/system/ifupdown-wait-online.service;
enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2018-03-14 07:37:11 UTC;
3min 2s ago
 Main PID: 222 (code=exited, status=1/FAILURE)


The ifupdown-wait-online.service should recognize that the interface
eth0 is already up and configure eth0:1.

$ cat /etc/network/interfaces.d/eth0
auto eth0
iface eth0 inet dhcp

auto eth0:1
iface eth0:1 inet static
    address 192.168.1.14
    netmask 255.255.255.0
    gateway 192.168.1.254

Best regards

Heinrich Schuchardt

Reply via email to