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>

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#307; Package sysvinit. (full text, mbox, link).


Acknowledgement sent to Kostis Leledakis <koleygr@gmail.com>:
New bug report received and forwarded. Copy sent to owner@bugs.devuan.org. (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

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.


Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#307; Package sysvinit. (Tue, 07 Apr 2020 14:48:01 GMT) (full text, mbox, link).


Message #8 received at 307@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: 307@bugs.devuan.org
Cc: Kostis Leledakis <koleygr@gmail.com>
Subject: Re: Configuring network interfaces during boot takes too much time.(if ethernet cable not connected or no signal)
Date: Tue, 7 Apr 2020 15:35:19 +0100
Control: tags -1 moreinfo

On Fri, 15 Mar 2019 15:59:32 +0200 Kostis Leledakis <koleygr@gmail.com> wrote:
> Package: sysvinit
> Version: 2.88dsf-59.9 amd64

Kostis,

Thanks for this and sorry for the slow reply.

I am glad you found a workaround. 

It seems to me this is really a problem with ifupdown, or perhaps eudev.

Which versions of those pacakges do you have?

ifupdown is not a forked package, Devuan uses Debian's packages directly.

There are a number of bug reports on Debian's BTS [1] relating to hangs at
boot. Perhaps you could review them and see if any are directly relevant.

Thanks

Mark

[1]  https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=ifupdown


Added tag(s) moreinfo. Request was from Mark Hindley <mark@hindley.org.uk> to 307-submit@bugs.devuan.org. (Tue, 07 Apr 2020 14:48:03 GMT) (full text, mbox, link).


Reply sent to Arne Wichmann <aw@anhrefn.saar.de>:
You have taken responsibility. (Fri, 10 Nov 2023 19:12:01 GMT) (full text, mbox, link).


Notification sent to Kostis Leledakis <koleygr@gmail.com>:
bug acknowledged by developer. (Fri, 10 Nov 2023 19:12:02 GMT) (full text, mbox, link).


Message #15 received at 307-done@bugs.devuan.org (full text, mbox, reply):

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 1 (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: Mon Nov 25 08:30:38 2024;