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

Bug#497285: marked as done (not possible to preseed that no gatway should be used?)



Your message dated Mon, 08 Sep 2008 13:47:04 +0000
with message-id <E1Kch56-0000OD-4x@ries.debian.org>
and subject line Bug#497285: fixed in netcfg 1.45
has caused the Debian Bug report #497285,
regarding not possible to preseed that no gatway should be used?
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.)


-- 
497285: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497285
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: netcfg

It seems it's not possible to tell netcfg via preseeding that no
gateway should be used.  I thought this was possible but I cannot
figure out how and the code suggests that it's not possible.

joeyh made the following change in 2005 to allow preseeding:

Index: static.c
===================================================================
--- static.c	(revision 28680)
+++ static.c	(revision 28681)
@@ -132,7 +132,9 @@
       ptr[1] = '\0';
     }
     
-    debconf_set(client, "netcfg/get_gateway", ptr1);
+    debconf_get(client, "netcfg/get_gateway");
+    if (empty_str(client->value))
+      debconf_set(client, "netcfg/get_gateway", ptr1);
 
     return 0;
 }

This sets netcfg/get_gateway to the calculated gateway if
netcfg/get_gateway is empty.  So when you preseed an empty value, the
calculated gateway will be used.

Wouldn't it make sense to check if the seen flag is set?

-- 
Martin Michlmayr
http://www.cyrius.com/



--- End Message ---
--- Begin Message ---
Source: netcfg
Source-Version: 1.45

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:

netcfg-static_1.45_amd64.udeb
  to pool/main/n/netcfg/netcfg-static_1.45_amd64.udeb
netcfg_1.45.dsc
  to pool/main/n/netcfg/netcfg_1.45.dsc
netcfg_1.45.tar.gz
  to pool/main/n/netcfg/netcfg_1.45.tar.gz
netcfg_1.45_amd64.udeb
  to pool/main/n/netcfg/netcfg_1.45_amd64.udeb



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 497285@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martin Michlmayr <tbm@cyrius.com> (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: SHA1

Format: 1.8
Date: Mon, 08 Sep 2008 16:27:20 +0300
Source: netcfg
Binary: netcfg netcfg-static
Architecture: source amd64
Version: 1.45
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Martin Michlmayr <tbm@cyrius.com>
Description: 
 netcfg     - Configure the network (udeb)
 netcfg-static - Configure a static network (udeb)
Closes: 497285
Changes: 
 netcfg (1.45) unstable; urgency=low
 .
   [ Martin Michlmayr ]
   * Put in a special case to allow preseeding of no gateway via
     netcfg/get_gateway=none.  (Closes: #497285).
 .
   [ Updated translations ]
   * Arabic (ar.po) by Ossama M. Khayat
   * Belarusian (be.po) by Pavel Piatruk
   * Greek, Modern (1453-) (el.po) by quad-nrg.net
   * Esperanto (eo.po) by Felipe Castro
   * Basque (eu.po) by Iñaki Larrañaga Murgoitio
   * Finnish (fi.po) by Esko Arajärvi
   * French (fr.po) by Christian Perrier
   * Gujarati (gu.po) by Kartik Mistry
   * Hebrew (he.po) by Omer Zak
   * Croatian (hr.po) by Josip Rodin
   * Italian (it.po) by Milo Casagrande
   * Georgian (ka.po) by Aiet Kolkhi
   * Portuguese (Brazil) (pt_BR.po) by Felipe Augusto van de Wiel (faw)
   * Tamil (ta.po) by Dr.T.Vasudevan
   * Turkish (tr.po) by Mert Dirik
   * Traditional Chinese (zh_TW.po) by Tetralet
Checksums-Sha1: 
 de2d9ba8b26a21459a4266cd62440b71fcb52e9b 1006 netcfg_1.45.dsc
 7b2ca9ff43667190ace13f5664cae6130c069ae6 350964 netcfg_1.45.tar.gz
 17d54c8456361c76b36b7ffb9a2b31f88b799d17 276588 netcfg_1.45_amd64.udeb
 dc1f0dc0e878c40385d865c824c3bbe74e824e67 214224 netcfg-static_1.45_amd64.udeb
Checksums-Sha256: 
 c39e2fe4cf8fa8e216acb0dd82cc57a7212ec87382bdcaf77cfb73b9d1d10895 1006 netcfg_1.45.dsc
 b1ae09ca9d2418cce5f300a7d4a1cc6f3ab90a997403881256b23c7ccfa71812 350964 netcfg_1.45.tar.gz
 ea3d8085e6cf4ff8d4fae7ce22262e4e640b71479769e00bc6f68b832babe93b 276588 netcfg_1.45_amd64.udeb
 59b4f7face7dd3c545751398f7dba59d236f892b286b4832485c915b37887798 214224 netcfg-static_1.45_amd64.udeb
Files: 
 0b92577a0dd57c76f07243f1183e2868 1006 debian-installer optional netcfg_1.45.dsc
 96ac0aee57f21a75b4760dffa9ece8ca 350964 debian-installer optional netcfg_1.45.tar.gz
 241b79397bd176bcc2d81518b5593c07 276588 debian-installer optional netcfg_1.45_amd64.udeb
 64d416be70a23398e79ff860b28be7cc 214224 debian-installer optional netcfg-static_1.45_amd64.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkjFKkwACgkQKb5dImj9VJ88GACggb/OXaEVhdqVdko7NIwzNdUy
3YoAn2HdhcBG5OXupGAUjo6kV/Zr2u7x
=TRNP
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: