Debian Bug report logs -
#343269
hostname/domain name preseeding is quite broken
Reported by: Joey Hess <joeyh@debian.org>
Date: Wed, 14 Dec 2005 02:48:06 UTC
Severity: normal
Tags: patch
Merged with 544513,
561573,
606636
Found in versions netcfg/1.46, netcfg/1.51
Fixed in version netcfg/1.99
Done: Philipp Kern <pkern@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#343269; Package netcfg.
(full text, mbox, link).
Acknowledgement sent to Joey Hess <joeyh@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: netcfg
Severity: normal
The support for preseeding the hostname and domain name is very broken in
netcfg. The debconf questions netcfg/get_hostname and netcfg/get_domain are
badly named (should be netcfg/hostname and netcfg/domain). netcfg sets
these to values that it finds in dns or dhcp with no regard to any
existing preseeded value, so you can't override the dns or dhcp with
preseeding, which should be possible for installing on a broken network.
The installation manual puts the best face it can on netcfg's behavior
with this:
# Any hostname and domain names assigned from dhcp take precedence over
# values set here. However, setting the values still prevents the questions
# from being shown, even if values come from dhcp.
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain
I think that netcfg's use of these variables needs to be rewritten, to
make it
a) take care to not trample over existing settings
b) if there is no existing value, use dhcp/dns to get a good default
c) if the user enters something wrong or goes back, unset the value to
avoid a) above preventing b) from working when the question is asked
again
Since it would change the behavior of the two questions to do this, and
require preseeding changes, this would be a good chance to rename them
too.
--
see shy jo
[signature.asc (application/pgp-signature, inline)]
Forcibly Merged 343269 606636.
Request was from Christian PERRIER <bubulle@debian.org>
to control@bugs.debian.org.
(Sat, 11 Dec 2010 06:36:05 GMT) (full text, mbox, link).
Added tag(s) patch.
Request was from Matthew Palmer <mpalmer@debian.org>
to control@bugs.debian.org.
(Thu, 30 Dec 2010 06:57:06 GMT) (full text, mbox, link).
Disconnected #606636 from all other report(s).
Request was from Matthew Palmer <mpalmer@debian.org>
to control@bugs.debian.org.
(Sun, 02 Jan 2011 05:03:03 GMT) (full text, mbox, link).
Information stored
:
Bug#343269; Package netcfg.
(Sun, 06 Feb 2011 06:45:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthew Palmer <mpalmer@debian.org>:
Extra info received and filed, but not forwarded.
(Sun, 06 Feb 2011 06:45:08 GMT) (full text, mbox, link).
Message #18 received at 343269-quiet@bugs.debian.org (full text, mbox, reply):
Just a quick note on this issue: I'm definitely planning on fixing this up
for Wheezy, and sooner rather than later. However, my work on IPv6 has
completely rewritten this part of the codebase, so the patch from Floris has
no hope of applying cleanly. I will, however, be writing an equivalent
patch as soon as the IPv6 code lands in master.
- Matt
Message #19 received at 606636-close@bugs.debian.org (full text, mbox, reply):
Source: netcfg
Source-Version: 1.99
We believe that the bug you reported is fixed in the latest version of
netcfg, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 606636@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Philipp Kern <pkern@debian.org> (supplier of updated netcfg package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 26 Oct 2012 11:11:53 +0200
Source: netcfg
Binary: netcfg netcfg-static
Architecture: source amd64
Version: 1.99
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Philipp Kern <pkern@debian.org>
Description:
netcfg - Configure the network (udeb)
netcfg-static - Configure a static network (udeb)
Closes: 606636 690330
Changes:
netcfg (1.99) unstable; urgency=low
.
[ Philipp Kern ]
* netcfg.c (main): Remove a local definition of hostname.
(Closes: #690330)
* Override the hostname found via DHCP or DNS with the preseeded
value of the new variable netcfg/hostname, if set. Patch by
Floris Bos. (Closes: #606636)
* Add myself to uploaders.
.
[ Updated translations ]
* Amharic (am.po) by Tegegne Tefera
* Asturian (ast.po) by Mikel González
* Welsh (cy.po) by Dafydd Tomos
* Esperanto (eo.po) by Felipe Castro
* Spanish (es.po) by Javier Fernández-Sanguino
* Galician (gl.po) by Jorge Barreiro
* Kannada (kn.po) by Prabodh
* Serbian (sr.po) by Karolina Kalic
* Tamil (ta.po) by Dr.T.Vasudevan
* Ukrainian (uk.po) by Yuri Chornoivan
Checksums-Sha1:
55a47b7cd65096717206b9b39426bb7bc7783350 1518 netcfg_1.99.dsc
98d4e679c9b3480202ee1c127eda776e60e5eab3 748696 netcfg_1.99.tar.gz
dca3eb05661026b41de4ef43f2e59bf053a64312 419386 netcfg_1.99_amd64.udeb
b6881915852d035e4f58e66d175b72b958d96e85 329518 netcfg-static_1.99_amd64.udeb
Checksums-Sha256:
ae993da0a66add191dd2f9157fd8b63c2da89b7217b93d65357d304951d75789 1518 netcfg_1.99.dsc
e0fdf2fb607ae7b2f7088fef0f25906aa709be01fd264af737e044f24ec14f56 748696 netcfg_1.99.tar.gz
d9104607381ee49356dd5e66a9b69abcabd789b3de4c509063f0e426f0788178 419386 netcfg_1.99_amd64.udeb
f2b12a51a0074a157686389ea754cb0afc613b77db55943de7ecfe03d0f17cdc 329518 netcfg-static_1.99_amd64.udeb
Files:
29a58a7b9975d0dd1d2758cae1b019ee 1518 debian-installer optional netcfg_1.99.dsc
4d42fc6ce25d2d63699ba07c6c6e8e5e 748696 debian-installer optional netcfg_1.99.tar.gz
357b9cd2ab2bb8a0a4212005bc1b5086 419386 debian-installer optional netcfg_1.99_amd64.udeb
0ea55ac1779f938d04b13fc252638841 329518 debian-installer optional netcfg-static_1.99_amd64.udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQEcBAEBCAAGBQJQilP5AAoJEERuJUU10FbsqccH/jasqQWvkAk8OvDScbhtLyB0
da+97levmxSP1qy5H6sIpmDDD5KOpamK/GjY38UeM8/o++fa1EoxPwHc+WG3CMiy
hkX7urMRUP9YrwIq5loFcuWpy2Dv2ozldGMgn99dxZleivEjhUDrTLvr6kIl5PqZ
sBxfyiQXSpOJTdPMLdET6ji+muLRCtNz5FT8ECtGgW2BJRFT1eCIIQZOtU6N6+g8
ktpdGSaEDiIK+IC3pmnv9D+Qw4MOxljvBEeRheh6nQv6EZdsEzAELj3mr3Jm9VhG
RmuU7BxSpFQYLk/iq6YMGZNiRaXKSR6z+iiwJ4yUilUP1zTqFGAA1H62mLc2GM0=
=3yDy
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 13 May 2013 07:26:36 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Jan 5 15:50:46 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.