--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linux-container: Debconf network settings could provide more useful defaults
- From: Philip Hands <phil@hands.com>
- Date: Sun, 20 May 2012 11:50:40 +0100
- Message-id: <8762brdt33.fsf@poker.hands.com>
Package: linux-container
Version: 1-6
Severity: wishlist
Hi,
The debconf networking questions for linux-container default to
192.168.0.* defaults for all settings, which is fair enough, but once
the IP address has been set to something else these defaults are liable
to simply cause confusion, given that they are bound to be wrong.
As a minimum, I'd suggest clearing the defaults for the rest of the
settings if the IP address selected is not in the 192.168.0.0 network
and/or the subnet mask has been changed (which should probably be the
second question).
It would be even better to calculate reasonable guesses for all the
other questions from the IP address & netmask -- or alternatively
just leave them blank if doing so will provoke ifconfig to do the right
thing.
If leaving them blank is the right thing to do, the prompt should
also encourage this more -- saying something like:
It is OK to leave this blank, as it will normally be correctly set
based on your other settings unless you are doing something unusual.
It might even be worth lowering the priority of some of these questions,
perhaps conditionally on the netmask being one of the usual ones.
Cheers, Phil.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages linux-container depends on:
ii debconf [debconf-2.0] 1.5.43
linux-container recommends no packages.
Versions of packages linux-container suggests:
ii openssh-server 1:5.9p1-5
-- debconf information excluded
--- End Message ---