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

Install with preseeding report / problem with domainname



Package: installation-reports

Debian-installer-version: stable build from SVN stable branch
uname -a: Linux sarge 2.6.8-2-k7 #1 Thu May 19 18:03:29 JST 2005 i686 GNU/Linux
Date: mid october 2005
Method: Install on a local network using mirror and http preseeding  
Machine: Vmware
Processor: AuthenticAMD 1GHz
Memory: 256M
Root Device: /dev/sda1
Root Size/partition table: 
/dev/sda1              7882560    627804   6854340   9% /
tmpfs                   128356         0    128356   0% /dev/shm
Output of lspci and lspci -n:
0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)
0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
0000:00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 08)
0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB
0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 08)
0000:00:0f.0 VGA compatible controller: VMWare Inc [VMWare SVGA II] PCI Display Adapter
0000:00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)
0000:00:11.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10)
0000:00:12.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 02)

0000:00:00.0 0600: 8086:7190 (rev 01)
0000:00:01.0 0604: 8086:7191 (rev 01)
0000:00:07.0 0601: 8086:7110 (rev 08)
0000:00:07.1 0101: 8086:7111 (rev 01)
0000:00:07.2 0c03: 8086:7112
0000:00:07.3 0680: 8086:7113 (rev 08)
0000:00:0f.0 0300: 15ad:0405
0000:00:10.0 0100: 1000:0030 (rev 01)
0000:00:11.0 0200: 1022:2000 (rev 10)
0000:00:12.0 0401: 1274:1371 (rev 02)

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot worked:    [O]
Configure network HW:   [O]
Config network:         [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Create file systems:    [O]
Mount partitions:       [O]
Install base system:    [O]
Install boot loader:    [O]
Reboot:                 [O]

Comments/Problems:

After install I get /etc/hosts containing this
----------------------------------------------------
> cat /etc/hosts
127.0.0.1       localhost.localdomain   localhost       sarge

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
------------------------------------------------------

The problem is then that dnsdomainname is "localdomain"
hostname -f gives "localhost.localdomain"

This happens in all case because of the netboot that is done with dhcp.
Fixed address in preseeding file has no effect, 
> d-i netcfg/get_hostname string unassigned-hostname
> d-i netcfg/get_domain string unassigned-domain
has no effect

The problem seems to be located in:
branches/d-i/sarge/packages/netcfg/netcfg-common.c:        fprintf(fp, "127.0.0.1\tlocalhost.localdomain\tlocalhost")

I tried the piece of code that writes hosts file from trunc with no effect  
I tend to believe that in dhcp the hostname shouldn't be written at the end of 127.0.0.1 line

Cheers

Christian


Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: