Bug#610526: Preseed: Debian Installer ignores hostname parameter

2011-01-24 Thread Matthew Palmer
On Mon, Jan 24, 2011 at 06:05:53PM +0100, Dennis Hoppe wrote:
> Am 24.01.2011 08:28, schrieb Matthew Palmer:
> > On Fri, Jan 21, 2011 at 04:54:40PM +0100, Dennis Hoppe wrote:
> >> Am 20.01.2011 02:16, schrieb Matthew Palmer:
> >>> * The kernel and initrd you're booting with; can I get the md5sums of them
> >>>   and where you got them from?
> >>
> >> i am using the file "debian-multi_5.0.7.iso" from one of the official
> >> Debian mirrors and have not changed the initrd.
> > 
> > I can't find any CD image with that name; all the files I've found follow a
> > very different naming convention.  Could you give me the full URL to the
> > file that you downloaded?
> 
> my mistake. The file above is based on my own naming convention. I used
> the following URL.
> 
> http://cdimage.debian.org/debian-cd/current/multi-arch/iso-cd/debian-507-amd64-i386-powerpc-netinst.iso

Thanks for that.  I've examined the differences between this image and the
corresponding one for 5.0.6, and I can't find anything that would account
for the difference in behaviour.  In particular, the versions of netcfg (the
component that handles the hostname) are the same, and it doesn't have a lot
of external dependencies that could affect it.

Unfortunately, without any ability to reproduce the problem, or any way to
narrow down what the difference might be, I'm afraid I can't go any further
with this bug report.  Also, as Squeeze is very close to release, and you've
reported that the squeeze installer works fine, there's a limit to how much
time I'm willing to expend trying to reproduce the problem.  If you have or
discover any further information that might help, please feel free to e-mail
the bug report, otherwise this will have to languish, and will be closed
once woody is no longer supported.

- Matt



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110124191128.gk20...@hezmatt.org



Bug#610526: Preseed: Debian Installer ignores hostname parameter

2011-01-24 Thread Dennis Hoppe
Hello Matthew,

Am 24.01.2011 08:28, schrieb Matthew Palmer:
> On Fri, Jan 21, 2011 at 04:54:40PM +0100, Dennis Hoppe wrote:
>> Am 20.01.2011 02:16, schrieb Matthew Palmer:
>>> * The kernel and initrd you're booting with; can I get the md5sums of them
>>>   and where you got them from?
>>
>> i am using the file "debian-multi_5.0.7.iso" from one of the official
>> Debian mirrors and have not changed the initrd.
> 
> I can't find any CD image with that name; all the files I've found follow a
> very different naming convention.  Could you give me the full URL to the
> file that you downloaded?

my mistake. The file above is based on my own naming convention. I used
the following URL.

http://cdimage.debian.org/debian-cd/current/multi-arch/iso-cd/debian-507-amd64-i386-powerpc-netinst.iso

Regards, Dennis



signature.asc
Description: OpenPGP digital signature


Bug#610526: Preseed: Debian Installer ignores hostname parameter

2011-01-23 Thread Matthew Palmer
On Fri, Jan 21, 2011 at 04:54:40PM +0100, Dennis Hoppe wrote:
> Am 20.01.2011 02:16, schrieb Matthew Palmer:
> > * The kernel and initrd you're booting with; can I get the md5sums of them
> >   and where you got them from?
> 
> i am using the file "debian-multi_5.0.7.iso" from one of the official
> Debian mirrors and have not changed the initrd.

I can't find any CD image with that name; all the files I've found follow a
very different naming convention.  Could you give me the full URL to the
file that you downloaded?

- Matt



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110124072807.gb20...@hezmatt.org



Bug#610526: Preseed: Debian Installer ignores hostname parameter

2011-01-21 Thread Dennis Hoppe
Hello Matthew,

Am 20.01.2011 02:16, schrieb Matthew Palmer:
> I'm having some trouble reproducing your bug report.
> 
> Here are the exact steps I took:
> 
> 1) Download the mini.iso from
> http://mirror.internode.on.net/pub/debian/dists/lenny/main/installer-i386/20090123lenny8/images/netboot/
> (other mirrors should have the same; md5sum is
> 1f497d52bb97c03810d3e87d8ecf5d94)
> 
> 2) Boot the installer ISO in a KVM VM
> 
> 3) At the graphical isolinux boot screen, press TAB and add 'hostname=basic'
> to the end of the command line
> 
> (I can't use priority=critical because I need to set a local Debian mirror,
> and auto=true just asks for a preseed file -- which I don't have because you
> haven't provided it)
> 
> 4) Manually configure the network (I disabled my DHCP server so that it
> wouldn't provide a hostname) with an IP address that doesn't reverse resolve
> (to avoid hostname being overridden via rDNS)
> 
> 5) When it asks to configure the mirror, drop into a console and verify that
> the temporary environment has the right hostname with cat /etc/hostname
> 
> 6) Let the installation proceed, automatically partitioning the disk and
> setting up some dummy users
> 
> 7) When it comes to installing grub, drop back to a console and verify that
> the target environment has the right hostname with cat /target/etc/hostname
> 
> 8) Complete the install, reboot, note that the booted system has the correct
> hostname.
> 
> Now, I know that a number of things are different between your report and my
> method of reproduction, but they *should* (big emphasis there) be irrelevant
> to how the hostname is preseeded.  Obviously one of them isn't irrelevant,
> so we need to work out what it is.
> 
> Things to check:
> 
> * The kernel and initrd you're booting with; can I get the md5sums of them
>   and where you got them from?

i am using the file "debian-multi_5.0.7.iso" from one of the official
Debian mirrors and have not changed the initrd. I only modified the file
"isolinux/txt.cfg" to choose a specific preseed config.

> * Booting without a preseed file... it's possible that your preseed file is
>   doing something hinky, so if you *must* test with a preseed file, we'll
>   need a copy of it.

Of course. Here ist my little preseed config. But exact the same file
worked with Debian 5.0.6 and also works with Debian 6.x.x.

> * Dropping priority=critical for the purposes of testing would be
>   good, too, to keep things consistent and to rule it out (although early
>   testing showed that /etc/hostname had the right value in it).

During the whole installation process the file "target/etc/hostname"
hast the content "unassinged-hostname" and the dhcp of virtualbox does
not offer any hostnames.

Regards, Dennis
 Contents of the preconfiguration file (for lenny)
### Localization
# Locale sets language and country.
d-i debian-installer/locale string de_DE.UTF-8

# Keyboard selection.
#d-i console-tools/archs select at
d-i console-keymaps-at/keymap select de-latin1-nodeadkeys
# Example for a different keyboard architecture
#d-i console-keymaps-usb/keymap select mac-usb-us

### Network configuration
# netcfg will choose an interface that has link if possible. This makes it
# skip displaying a list if there is more than one interface.
d-i netcfg/choose_interface select auto

# To pick a particular interface instead:
#d-i netcfg/choose_interface select eth1

# If you have a slow dhcp server and the installer times out waiting for
# it, this might be useful.
#d-i netcfg/dhcp_timeout string 60

# If you prefer to configure the network manually, uncomment this line and
# the static network configuration below.
#d-i netcfg/disable_dhcp boolean true

# If you want the preconfiguration file to work on systems both with and
# without a dhcp server, uncomment these lines and the static network
# configuration below.
#d-i netcfg/dhcp_failed note
#d-i netcfg/dhcp_options select Configure network manually

# Static network configuration.
#d-i netcfg/get_nameservers string 192.168.1.1
#d-i netcfg/get_ipaddress string 192.168.1.42
#d-i netcfg/get_netmask string 255.255.255.0
#d-i netcfg/get_gateway string 192.168.1.1
#d-i netcfg/confirm_static boolean true

# 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

# Disable that annoying WEP key dialog.
d-i netcfg/wireless_wep string
# The wacky dhcp hostname that some ISPs use as a password of sorts.
#d-i netcfg/dhcp_hostname string radish

# If non-free firmware is needed for the network or other hardware, you can
# configure the installer to always try to load it, without prompting. Or
# change to false to disable asking.
#d-i hw-detect/load_firmware boolean true

### Network console
# Use the following settings if you wish to make use of

Bug#610526: Preseed: Debian Installer ignores hostname parameter

2011-01-19 Thread Matthew Palmer
package netcfg
tag 610526 +moreinfo
tag 610526 +unreproducible
thanks

Hi Dennis,

I'm having some trouble reproducing your bug report.

Here are the exact steps I took:

1) Download the mini.iso from
http://mirror.internode.on.net/pub/debian/dists/lenny/main/installer-i386/20090123lenny8/images/netboot/
(other mirrors should have the same; md5sum is
1f497d52bb97c03810d3e87d8ecf5d94)

2) Boot the installer ISO in a KVM VM

3) At the graphical isolinux boot screen, press TAB and add 'hostname=basic'
to the end of the command line

(I can't use priority=critical because I need to set a local Debian mirror,
and auto=true just asks for a preseed file -- which I don't have because you
haven't provided it)

4) Manually configure the network (I disabled my DHCP server so that it
wouldn't provide a hostname) with an IP address that doesn't reverse resolve
(to avoid hostname being overridden via rDNS)

5) When it asks to configure the mirror, drop into a console and verify that
the temporary environment has the right hostname with cat /etc/hostname

6) Let the installation proceed, automatically partitioning the disk and
setting up some dummy users

7) When it comes to installing grub, drop back to a console and verify that
the target environment has the right hostname with cat /target/etc/hostname

8) Complete the install, reboot, note that the booted system has the correct
hostname.

Now, I know that a number of things are different between your report and my
method of reproduction, but they *should* (big emphasis there) be irrelevant
to how the hostname is preseeded.  Obviously one of them isn't irrelevant,
so we need to work out what it is.

Things to check:

* The kernel and initrd you're booting with; can I get the md5sums of them
  and where you got them from?

* Booting without a preseed file... it's possible that your preseed file is
  doing something hinky, so if you *must* test with a preseed file, we'll
  need a copy of it.
  
* Dropping priority=critical for the purposes of testing would be
  good, too, to keep things consistent and to rule it out (although early
  testing showed that /etc/hostname had the right value in it).

Thanks,
- Matt



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110120011656.gs3...@hezmatt.org



Bug#610526: Preseed: Debian Installer ignores hostname parameter

2011-01-19 Thread Dennis Hoppe
Package: debian-installer
Version: 20090123lenny8
Severity: normal

Hello,

i have added the following lines to the file "isolinux/txt.cfg", but the
Debian Installer ignores the hostname parameter.

label basic
menu label ^Install basic
kernel /install.386/vmlinuz
append  auto=true priority=critical vga=791
initrd=/install.386/initrd.gz file=/cdrom/preseed/basic.cfg
DEBCONF_DEBUG=5 hostname=basic -- quiet

After the installation the hostname is set to "unassigned-hostname".

This Problem only exists with the current lenny release (5.0.7). It
worked with earlier releases and the daily squeeze build.

Regards, Dennis



signature.asc
Description: OpenPGP digital signature