[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#343269: marked as done (hostname/domain name preseeding is quite broken)



Your message dated Fri, 26 Oct 2012 09:18:23 +0000
with message-id <E1TRg3b-0007CX-68@franck.debian.org>
and subject line Bug#606636: fixed in netcfg 1.99
has caused the Debian Bug report #606636,
regarding hostname/domain name preseeding is quite broken
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.debian.org
immediately.)


-- 
606636: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606636
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
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-----

--- End Message ---

Reply to: