Bug#694771: installation-reports: s390x installer creates invalid /etc/network/interfaces
Package: installation-reports
Severity: normal
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
I installed Debian Wheezy 64-bit s390x in Hercules emulator according to
these instructions:
http://www.josefsipek.net/docs/s390-linux/hercules-s390.html
* What exactly did you do (or not do) that was effective (or
ineffective)?
I followed the instructions (with tunnel IP addresses 192.168.144.1 and
192.168.144.2)
When asked for a domain name, I entered nothing - just . (to forward a
line to Linux) and enter
* What was the outcome of this action?
The installation went fine (network was properly working and it was
possible to download and install all packages from the network).
However, the installer wrote invalid /etc/network/interfaces on the
target system.
The file has "dns-search " line. Because the keywork "dns-search"
doesn't have any parameter, the networking script considers the file
syntax invalid, refuses to process the file and networking doesn't work
at all in newly booted system.
The file lacks a "gateway" option, although gateway was entered during
installation.
The installer created this /etc/networking/interfaces file:
---
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto ctc0
iface ctc0 inet static
address 192.168.144.2
netmask 255.255.255.255
network 0.0.0.0
broadcast 255.255.255.255
pointopoint 192.168.144.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.128.1
dns-search
---
When I removed "dns-serach " from /etc/network/interfaces and added
"gateway 192.168.144.1", networking works fine in the installed system.
* What outcome did you expect instead?
/etc/network/interfaces should be correct. There shouldn't be
"dns-serach " line and there should be "gateway 192.168.144.1" line.
*** End of the template - remove these lines ***
-- Package-specific info:
Boot method: s390x generic kernel and initrd
Image version: ftp://ftp.debian.org/debian/dists/wheezy/main/installer-s390x/current/images/generic/ 14th Nov 2012
Date: 30th Nov 2012
Machine: Hercules s390 emulator
Partitions: <df -Tl will do; the raw partition table is preferred>
Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
Initial boot: [O]
Detect network card: [O]
Configure network: [O]
Detect CD: [ ]
Load installer modules: [O]
Clock/timezone setup: [O]
User/password setup: [O]
Detect hard drives: [O]
Partition hard drives: [O]
Install base system: [O]
Install tasks: [O]
Install boot loader: [O]
Overall install: [E]
Comments/Problems:
<Description of the install, in prose, and any thoughts, comments
and ideas you had during the initial install.>
--
Please make sure that the hardware-summary log file, and any other
installation logs that you think would be useful are attached to this
report. Please compress large files using gzip.
Once you have filled out this report, mail it to submit@bugs.debian.org.
==============================================
Installer lsb-release:
==============================================
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
DISTRIB_RELEASE="7.0 (wheezy) - installer build 20121114"
X_INSTALLATION_MEDIUM=generic
==============================================
Installer hardware-summary:
==============================================
uname -a: Linux z-series 3.2.0-4-s390x #1 SMP Debian 3.2.32-1 s390x GNU/Linux
lspci -knn: pcilib: Cannot open /proc/bus/pci
lspci -knn: lspci: Cannot find any working access method.
lsmod: Module Size Used by
lsmod: dm_mod 100240 0
lsmod: md_mod 127754 0
lsmod: xfs 839741 0
lsmod: ext4 522458 1
lsmod: crc16 12343 1 ext4
lsmod: jbd2 101583 1 ext4
lsmod: ext3 234115 0
lsmod: jbd 88295 1 ext3
lsmod: vfat 21369 0
lsmod: fat 65583 1 vfat
lsmod: ext2 91301 0
lsmod: mbcache 17129 3 ext2,ext3,ext4
lsmod: lcs 43857 0
lsmod: dasd_eckd_mod 82370 4
lsmod: ctcm 94140 0
lsmod: dasd_mod 79914 3 dasd_eckd_mod
lsmod: ccwgroup 17534 2 ctcm,lcs
lsmod: fsm 12610 1 ctcm
df: Filesystem 1K-blocks Used Available Use% Mounted on
df: none 24932 20 24912 0% /run
df: tmpfs 124656 0 124656 0% /dev
df: /dev/dasda1 2366068 565852 1776180 24% /target
df: /dev/dasda1 2366068 565852 1776180 24% /dev/.static/dev
df: tmpfs 124656 0 124656 0% /target/dev
free: total used free shared buffers
free: Mem: 249312 104576 144736 0 7892
free: -/+ buffers: 96684 152628
free: Swap: 0 0 0
/proc/cmdline: ro locale=C
/proc/cpuinfo: vendor_id : IBM/S390
/proc/cpuinfo: # processors : 8
/proc/cpuinfo: bogomips per cpu: 114.00
/proc/cpuinfo: features : esan3 zarch stfle msa ldisp eimm etf3eh highgprs
/proc/cpuinfo: processor 0: version = 00, identification = 000069, machine = 9672
/proc/cpuinfo: processor 1: version = 00, identification = 100069, machine = 9672
/proc/cpuinfo: processor 2: version = 00, identification = 200069, machine = 9672
/proc/cpuinfo: processor 3: version = 00, identification = 300069, machine = 9672
/proc/cpuinfo: processor 4: version = 00, identification = 400069, machine = 9672
/proc/cpuinfo: processor 5: version = 00, identification = 500069, machine = 9672
/proc/cpuinfo: processor 6: version = 00, identification = 600069, machine = 9672
/proc/cpuinfo: processor 7: version = 00, identification = 700069, machine = 9672
/proc/iomem: 00000000-0fffffff : System RAM
/proc/iomem: 00000000-003bed27 : Kernel code
/proc/iomem: 003bed28-005c91df : Kernel data
/proc/iomem: 00603000-006c564b : Kernel bss
/proc/interrupts: CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7
/proc/interrupts: EXT: 1015567 842910 708978 621535 535428 488008 486914 475236
/proc/interrupts: I/O: 126255 90863 27192 14611 7436 5042 3312 2282
/proc/interrupts: CLK: 942309 750185 614896 526634 458852 421711 416071 412510 [EXT] Clock Comparator
/proc/interrupts: EXC: 14 49259 13036 9963 7036 7392 6008 5424 [EXT] External Call
/proc/interrupts: EMS: 73222 43460 81042 84939 69534 58900 64823 57292 [EXT] Emergency Signal
/proc/interrupts: TMR: 0 0 0 0 0 0 0 0 [EXT] CPU Timer
/proc/interrupts: TAL: 0 0 0 0 0 0 0 0 [EXT] Timing Alert
/proc/interrupts: PFL: 0 0 0 0 0 0 0 0 [EXT] Pseudo Page Fault
/proc/interrupts: DSD: 0 0 0 0 0 0 0 0 [EXT] DASD Diag
/proc/interrupts: VRT: 0 0 0 0 0 0 0 0 [EXT] Virtio
/proc/interrupts: SCP: 23 6 4 0 6 5 12 10 [EXT] Service Call
/proc/interrupts: IUC: 0 0 0 0 0 0 0 0 [EXT] IUCV
/proc/interrupts: CPM: 0 0 0 0 0 0 0 0 [EXT] CPU Measurement
/proc/interrupts: CIO: 5 5 1 1 1 0 0 0 [I/O] Common I/O Layer Interrupt
/proc/interrupts: QAI: 0 0 0 0 0 0 0 0 [I/O] QDIO Adapter Interrupt
/proc/interrupts: DAS: 60297 40318 10868 7345 4122 3519 1699 1484 [I/O] DASD
/proc/interrupts: C15: 0 0 0 0 0 0 0 0 [I/O] 3215
/proc/interrupts: C70: 0 0 0 0 0 0 0 0 [I/O] 3270
/proc/interrupts: TAP: 0 0 0 0 0 0 0 0 [I/O] Tape
/proc/interrupts: VMR: 0 0 0 0 0 0 0 0 [I/O] Unit Record Devices
/proc/interrupts: LCS: 0 0 0 0 0 0 0 0 [I/O] LCS
/proc/interrupts: CLW: 0 0 0 0 0 0 0 0 [I/O] CLAW
/proc/interrupts: CTC: 65953 50540 16323 7265 3313 1523 1613 798 [I/O] CTC
/proc/interrupts: APB: 0 0 0 0 0 0 0 0 [I/O] AP Bus
/proc/interrupts: CSC: 0 0 0 0 0 0 0 0 [I/O] CHSC Subchannel
/proc/interrupts: NMI: 0 0 0 0 0 0 0 0 [NMI] Machine Check
/proc/meminfo: MemTotal: 249312 kB
/proc/meminfo: MemFree: 144496 kB
/proc/meminfo: Buffers: 7900 kB
/proc/meminfo: Cached: 66820 kB
/proc/meminfo: SwapCached: 0 kB
/proc/meminfo: Active: 16064 kB
/proc/meminfo: Inactive: 38348 kB
/proc/meminfo: Active(anon): 6296 kB
/proc/meminfo: Inactive(anon): 12 kB
/proc/meminfo: Active(file): 9768 kB
/proc/meminfo: Inactive(file): 38336 kB
/proc/meminfo: Unevictable: 26596 kB
/proc/meminfo: Mlocked: 0 kB
/proc/meminfo: SwapTotal: 0 kB
/proc/meminfo: SwapFree: 0 kB
/proc/meminfo: Dirty: 648 kB
/proc/meminfo: Writeback: 0 kB
/proc/meminfo: AnonPages: 6336 kB
/proc/meminfo: Mapped: 4000 kB
/proc/meminfo: Shmem: 20 kB
/proc/meminfo: Slab: 15292 kB
/proc/meminfo: SReclaimable: 8056 kB
/proc/meminfo: SUnreclaim: 7236 kB
/proc/meminfo: KernelStack: 1472 kB
/proc/meminfo: PageTables: 328 kB
/proc/meminfo: NFS_Unstable: 0 kB
/proc/meminfo: Bounce: 0 kB
/proc/meminfo: WritebackTmp: 0 kB
/proc/meminfo: CommitLimit: 124656 kB
/proc/meminfo: Committed_AS: 12556 kB
/proc/meminfo: VmallocTotal: 134217728 kB
/proc/meminfo: VmallocUsed: 2628 kB
/proc/meminfo: VmallocChunk: 134209016 kB
/proc/meminfo: HugePages_Total: 0
/proc/meminfo: HugePages_Free: 0
/proc/meminfo: HugePages_Rsvd: 0
/proc/meminfo: HugePages_Surp: 0
/proc/meminfo: Hugepagesize: 1024 kB
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: s390x
Kernel: Linux 3.2.0-4-s390x (SMP w/8 CPU cores)
Locale: LANG=cs_CZ.utf8, LC_CTYPE=cs_CZ.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Reply to: