Devuan bug report logs - #307
Configuring network interfaces during boot takes too much time.(if ethernet cable not connected or no signal)

Package: sysvinit; Reported by: Kostis Leledakis <>; dated Fri, 15 Mar 2019 14:03:01 UTC; Maintainer for sysvinit is (unknown).

Message received at

Received: (at submit) by; 15 Mar 2019 14:00:03 +0000
From: Kostis Leledakis <>
Date: Fri, 15 Mar 2019 15:59:32 +0200
Subject: Configuring network interfaces during boot takes too much time.(if

Package: sysvinit
Version: 2.88dsf-59.9 amd64

During installation I have configured your network interfaces just
through ethernet and have no wifi available on my laptop. The bug is
that during every boot the OS is looking to configure my network
interfaces (and this is good but)... If my ethernet cable is unplugged
or if I have no (or bad) signal on my ethernet the boot becomes too
slow (I have to wait more than 10-15 seconds just for the OS to
realize there is not signal on my cable or even that the cable is not
even plugged in).

Sometimes I don't want to use internet, and/or I have not available
cable to plug in during the installation and this non-reasoned delay
is really annoying.

I asked about that problem in and got a great
answer that fixed the problem from the member @A.B there.

The answer is to configure my /etc/network/interfaces file to be like:

allow-hotplug eth0
iface eth0 inet dhcp
    pre-up ip link set eth0 up && sleep 1
    pre-up [ $(cat /sys/class/net/eth0/carrier) -eq 1 ]
iface eth0 inet6 auto
    pre-up ip link set eth0 up && sleep 1
    pre-up [ $(cat /sys/class/net/eth0/carrier) -eq 1 ]

You can find the answer and the question here:

I am not sure witch package should configure this file during
installation and not even if there is a package that deals with this
configuration file but this seems more relative to me after a question
I made about it before filling this bug.

If this fix is working (and for me it does and seems really clever)
next releases should take care of this case and use a similar aproach
during network configuration on boot.


PS: If this bug have positive feedback from devuan developers, I
suppose that other distros should adapt their final fix and methods.

Acknowledgement sent to Kostis Leledakis <>:
New bug report received and forwarded. Copy sent to Full text available.

Report forwarded to,
bug#307; Package sysvinit. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <>.
Last modified: Fri, 15 Nov 2019 21:39:01 UTC