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

Package: sysvinit; Maintainer for sysvinit is Devuan Developers <devuan-dev@lists.dyne.org>; Source for sysvinit is src:sysvinit.

Reported by: Kostis Leledakis <koleygr@gmail.com>

Date: Fri, 15 Mar 2019 14:03:01 UTC

Severity: normal

Tags: moreinfo

Done: Arne Wichmann <aw@anhrefn.saar.de>

Full log


🔗 View this message in rfc822 format

MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: Arne Wichmann <aw@anhrefn.saar.de>
Subject: bug#307: marked as done (Configuring network interfaces during
 boot takes too much time.(if ethernet cable not connected or no signal))
Message-ID: <handler.307.D307.169964343224009.ackdone@bugs.devuan.org>
References: <ZU5_K7cZgu_TI5du@anhrefn.saar.de>
 <CAE4Op1q+Xd1WSzr_wDsEWHGL9bTAxQjWrB5rf6FtvXhszEP4Ww@mail.gmail.com>
X-Devuan-PR-Message: closed 307
X-Devuan-PR-Package: sysvinit
X-Devuan-PR-Keywords: moreinfo
X-Devuan-PR-Source: sysvinit
Reply-To: 307@bugs.devuan.org
Date: Fri, 10 Nov 2023 19:12:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1699643521-24018-0"
[Message part 1 (text/plain, inline)]
Your message dated Fri, 10 Nov 2023 20:06:19 +0100
with message-id <ZU5_K7cZgu_TI5du@anhrefn.saar.de>
and subject line bug #307 closing - no info for 3 years
has caused the Devuan bug report #307,
regarding Configuring network interfaces during boot takes too much time.(if ethernet cable not connected or no signal)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.devuan.org
immediately.)


-- 
307: https://bugs.devuan.org/cgi/bugreport.cgi?bug=307
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems
[Message part 2 (message/rfc822, inline)]
From: Kostis Leledakis <koleygr@gmail.com>
To: submit@bugs.devuan.org
Subject: Configuring network interfaces during boot takes too much time.(if ethernet cable not connected or no signal)
Date: Fri, 15 Mar 2019 15:59:32 +0200
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 unix.stackexchange.com 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:
https://unix.stackexchange.com/a/503306/237337

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.

Thanks.

PS: If this bug have positive feedback from devuan developers, I
suppose that other distros should adapt their final fix and methods.
[Message part 3 (message/rfc822, inline)]
From: Arne Wichmann <aw@anhrefn.saar.de>
To: 307-done@bugs.devuan.org
Subject: bug #307 closing - no info for 3 years
Date: Fri, 10 Nov 2023 20:06:19 +0100
[Message part 4 (text/plain, inline)]
Please reopen this bug if it is still relevant.

cu

AW
-- 
[...] If you don't want to be restricted, don't agree to it. If you are
coerced, comply as much as you must to protect yourself, just don't support
it. Noone can free you but yourself. (crag, on Debian Planet)
Y Plentyn (aw@saar.de)
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sat May 4 23:54:27 2024;