Debian Bug report logs - #610752
Make the link detection timeout preseedable

version graph

Package: netcfg; Maintainer for netcfg is Debian Install System Team <debian-boot@lists.debian.org>; Source for netcfg is src:netcfg.

Reported by: Matthew Palmer <mpalmer@debian.org>

Date: Sat, 22 Jan 2011 00:51:05 UTC

Severity: wishlist

Found in version netcfg/1.59

Reply or subscribe to this bug.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#610752; Package netcfg. (Sat, 22 Jan 2011 00:51:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matthew Palmer <mpalmer@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Sat, 22 Jan 2011 00:51:08 GMT) Full text and rfc822 format available.

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

From: Matthew Palmer <mpalmer@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Make the link detection timeout preseedable
Date: Sat, 22 Jan 2011 11:48:09 +1100
Package: netcfg
Version: 1.59
Severity: wishlist
User: debian-qa@lists.debian.org
Usertags: gift

With the closing of #414117, we've introduced a more robust method of
detecting which network interfaces we want to configure have link.  This is
required because link autonegotiation (and other associated shenanigans like
802.1X authentication) can take some time.

The problem is, the Ethernet spec is fairly quiet on the subject of
precisely how long we need to wait.  Based on a bit of testing, the value of
"3 seconds" for the wait time has been set as the default -- currently a
hardcoded value in the NETCFG_LINK_WAIT_TIME #define (netcfg.h).

The outcome of this bug report is to allow this value to be preseedable. 
Things that need to happen:

* A dummy template needs to go into debian/netcfg-common.templates to
  register the debconf variable (I'm thinking netcfg/link_wait_timeout)
* netcfg_link_detect() needs to use debconf_get to retrieve the value of
  this variable, turn it into an integer, and use it in place of
  NETCFG_LINK_WAIT_TIME
* All traces of NETCFG_LINK_WAIT_TIME can then be eradicated
* The installation manual appendix on available preseedable options must be
  updated to include this variable, with some meaningful documentation.

- Matt




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#610752; Package netcfg. (Sat, 22 Jan 2011 06:48:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christian PERRIER <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Sat, 22 Jan 2011 06:48:03 GMT) Full text and rfc822 format available.

Message #10 received at 610752@bugs.debian.org (full text, mbox):

From: Christian PERRIER <bubulle@debian.org>
To: 610752@bugs.debian.org
Subject: Re: Bug#610752: Make the link detection timeout preseedable
Date: Sat, 22 Jan 2011 07:36:54 +0100
[Message part 1 (text/plain, inline)]
Quoting Matthew Palmer (mpalmer@debian.org):

> * The installation manual appendix on available preseedable options must be
>   updated to include this variable, with some meaningful documentation.


Beware that the installation guide is not in git, so branching for
wheezy might be mor edifficult.

I indeed wonder it if would make sense to switch the i-g to git once
it is released.

[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 13:21:12 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.