Your message dated Sun, 07 Apr 2013 22:03:43 +0000
with message-id <e1uoxgd-0007hw...@franck.debian.org>
and subject line Bug#703747: fixed in netcfg 1.108
has caused the Debian Bug report #703747,
regarding netcfg: preseed netcfg: confusion or regression about disable_dhcp,
disable_autoconfig and use_autoconfig
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 ow...@bugs.debian.org
immediately.)
--
703747: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703747
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: netcfg
Version: 1.106
Severity: normal
Tags: d-i
Dear Maintainer,
* What led up to the situation?
I have built a preseed.cfg file to perform an automated installation on a
remote
Virtual Machine with a static IP address.
The original iso image was downloaded from:
http://ftp.debian.org/debian/dists/wheezy/main/installer-
amd64/current/images/netboot/mini.iso [built on 20130211]
Then the iso image has been rebuild with a custom initrd including the
preseed.cfg
file at its root, with:
[...]
# gunzip initrd.gz
# ls preseed.cfg | cpio --create --append --format newc --file initrd
# gzip --best initrd
[...]
# genisoimage [...]
I'm not an expert nor a wizard of preseeding, but enough familiar with this
technique
to read and understand documentation. First of all, I have read this page:
http://www.debian.org/devel/debian-installer/News/2013/20130217
where it is explicitly said:
'Use netcfg/disable_autoconfig instead of netcfg/disable_dhcp (#689531).'
This is confirmed by:
http://lists.debian.org/debian-boot/2012/10/msg00054.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689531#25
and even
/var/lib/dpkg/info/netcfg.templates in the initrd of the installer.
But with:
d-i netcfg/disable_autoconfig boolean true
netcfg still try DHCP first, and installation fails.
* What exactly did you do (or not do) that was effective (or
ineffective)?
I don't own an amd64 PC, so I have performed other tests with my i386 laptop. I
have
played with several sets of configuration in preseed.cfg or on boot command
line, with
the following, surprising results:
d-i netcfg/disable_autoconfig boolean true
-> doesn't work
d-i netcfg/use_autoconfig boolean false
-> doesn't work
d-i netcfg/disable_autoconfig boolean true
d-i netcfg/use_autoconfig boolean false
-> doesn't work
on boot cmdline: netcfg/disable_autoconfig=true netcfg/use_autoconfig=false
-> doesn't work
But with the official mini.iso (the same as above but for i386), without
preseed.cfg or
whatever, just on boot command line of the default menu entry:
netcfg/disable_dhcp
-> leads me directly to the configuration of a static IP
Now, if I put this in a preseed.cfg:
d-i netcfg/disable_dhcp boolean true
d-i netcfg/get_ipaddress string 192.168.1.86/24
d-i netcfg/get_gateway string 192.168.1.1
d-i netcfg/get_nameservers string 192.168.1.1
it works like a charm
So, what about netcfg/use_autoconfig and netcfg/disable_autoconfig ?
Or what about the documentation ?
I don't understand.
The version of netcfg shipped in the downloaded mini.iso is 1.106;
there was a bugreport against the same program, version 1.92, to say that
d-i netcfg/disable_dhcp boolean true
fails [1]. Is 1.106 a regression ?
Now, to build a generic preseed.cfg file that could work with different
versions of the
installer, and to be sure DHCP config is skipped, I use:
d-i netcfg/disable_dhcp boolean true
d-i netcfg/disable_autoconfig boolean true
d-i netcfg/use_autoconfig boolean false
knowing that at least one of them (and probably two) is useless; but how to
know
which, in advance...
cheers,
quidame
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688273
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-proposed-updates')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-486
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---
Source: netcfg
Source-Version: 1.108
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 703...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Philipp Kern <pk...@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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 07 Apr 2013 22:00:45 +0200
Source: netcfg
Binary: netcfg netcfg-static
Architecture: source amd64
Version: 1.108
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Philipp Kern <pk...@debian.org>
Description:
netcfg - Configure the network (udeb)
netcfg-static - Configure a static network (udeb)
Closes: 688273 697890 703747
Changes:
netcfg (1.108) unstable; urgency=low
.
[ Samuel Thibault ]
* Do not set netcfg/use_autoconfig to true just because netcfg/disable_dhcp
is false (which is the default), otherwise netcfg/disable_autoconfig has no
effect. (Closes: #703747, #688273)
.
[ Philipp Kern ]
* Install iw whenever wireless-tools is installed on the target.
Patch by Charles Plessy. (Closes: #697890)
.
[ Updated translations ]
* Amharic (am.po) by Tegegne Tefera
* Croatian (hr.po) by Tomislav Krznar
* Tamil (ta.po) by Dr.T.Vasudevan
Checksums-Sha1:
1b9539171e083f47d7d43f533c750ab95f8db16c 1520 netcfg_1.108.dsc
bcc5f09f90f2ed37f6c7fc0059ad8d4cc344cf00 761952 netcfg_1.108.tar.gz
0f7b86f521125cc0aa912ebb33c0b8eea91dde0b 425080 netcfg_1.108_amd64.udeb
c2bc3ad40313441d11de9f639db9a546fdc66b4e 332918 netcfg-static_1.108_amd64.udeb
Checksums-Sha256:
3c3595ccaf02b0f918300bd3170378717ba803b2eadff1b50ad21cbbf0922bc5 1520
netcfg_1.108.dsc
c98e128149ba6f837de4430b05b04be084e6b139ebbb4bf8dbc04c61ce1ac669 761952
netcfg_1.108.tar.gz
a6e7a5e4a36d9e83f2e4645f9a6d96cb4786f93abcec36fabcceb24a45237682 425080
netcfg_1.108_amd64.udeb
76be7ade542e061ea66e76b597c6b892334cfb4b7840252c2bd98c5680b74f4f 332918
netcfg-static_1.108_amd64.udeb
Files:
c7515b78e549bcaf7ec8830d8262a093 1520 debian-installer optional
netcfg_1.108.dsc
1f41600b6b3f0816825404dce64068c7 761952 debian-installer optional
netcfg_1.108.tar.gz
b32d3a0401f5c60c0606b045724c9896 425080 debian-installer optional
netcfg_1.108_amd64.udeb
9f37fe70033ec7f446def2e698be53eb 332918 debian-installer optional
netcfg-static_1.108_amd64.udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQEcBAEBAgAGBQJRYdEJAAoJEERuJUU10FbsmM4IAJEr2IqeAl3xQ1QYm3HuIUz0
rdd+Snjev2yhWjiqE2u6iChxXGQU9pdVsdeEEEJp9bwifD4FoKB8Lw7R8Z6xH7zx
KWD7IukqLmgxLn34Sn6igLRc1Nob5jWDciOBKLbEnXMPhevp9Ba0D/IHkHKnbumE
28IujiKaeWFo9roRUph2MIx1n/SfXLub6msfO50f0FK0QtPGFx2UW3Jqa+2KATCi
gv22erOOc2Ha+c/1GRNkABZTCmB034UWDtV2tyU/C/EYmgdz/x9wGCuetWDmRAqL
QHb+hSoifbIAKSDjDciu5HfukexCv9pOgB8/zvDXceFsP6MV55VAEfvsbpRbaQY=
=HEYu
-----END PGP SIGNATURE-----
--- End Message ---