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

Bug#410144: knetworkconfmodule writes unreadable interfaces file



Subject: kcontrol: kcm_knetworkconfmodule writes unreadable interfaces file
Package: kcontrol
Version: 4:3.5.5a.dfsg.1-5
Severity: normal

Using the KDE Network Settings control panel, change eth0 interface from
DHCP to Static IP.  There is also a wireless eth2 on this machine using DHCP.
Disabled eth0 and created a Network Profile for the wireless connection eth2.
After applying the changes, the desktop became unstable and would not
restart properly (hangs) due to the loopback interface being down.

Error on ifup lo "/etc/network/interfaces:10: misplaced option"
"ifup: couldn't read interfaces file "/etc/network/interfaces""

Contents of file follow:

---begin 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
allow-hotplug eth0
address 127.0.0.1  <-- line 10
netmask 255.0.0.0 <-- line 11
iface eth0 inet static
address 192.168.0.103
netmask 255.255.255.0

auto eth0
---end interfaces file

As soon as the address and netmask lines were moved to the section under
iface lo and saved, it came up automatically and things worked as expected.
Thanks.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages kcontrol depends on:
ii  kdebase-data           4:3.5.5a.dfsg.1-5 shared data files for the KDE 
base
ii  kdelibs4c2a            4:3.5.5a.dfsg.1-5 core libraries and binaries for 
al
ii  kicker                 4:3.5.5a.dfsg.1-5 desktop panel for KDE
ii  libacl1                2.2.41-1          Access control list shared 
library
ii  libart-2.0-2           2.3.17-1          Library of functions for 2D 
graphi
ii  libattr1               2.4.32-1          Extended attribute shared library
ii  libaudio2              1.8-2             The Network Audio System (NAS). 
(s
ii  libc6                  2.3.6.ds1-10      GNU C Library: Shared libraries
ii  libfam0                2.7.0-12          Client library to control the FAM 
ii  libfontconfig1         2.4.2-1           generic font configuration 
library
ii  libfontenc1            1:1.0.2-2         X11 font encoding library
ii  libfreetype6           2.2.1-5           FreeType 2 font engine, shared 
lib
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libgl1-mesa-glx [libgl 6.5.1-0.5         A free implementation of the 
OpenG
ii  libglu1-mesa [libglu1] 6.5.1-0.5         The OpenGL utility library (GLU)
ii  libice6                1:1.0.1-2         X11 Inter-Client Exchange library
ii  libidn11               0.6.5-1           GNU libidn library, 
implementation
ii  libjpeg62              6b-13             The Independent JPEG Group's JPEG 
ii  libpng12-0             1.2.15~beta5-1    PNG library - runtime
ii  libqt3-mt              3:3.3.7-3         Qt GUI Library (Threaded runtime 
v
ii  libraw1394-8           1.2.1-2           library for direct access to IEEE 
ii  libsm6                 1:1.0.1-3         X11 Session Management library
ii  libssl0.9.8            0.9.8c-4          SSL shared libraries
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3
ii  libusb-0.1-4           2:0.1.12-2        userspace USB programming library
ii  libx11-6               2:1.0.3-5         X11 client-side library
ii  libxcursor1            1.1.7-4           X cursor management library
ii  libxext6               1:1.0.1-2         X11 miscellaneous extension 
librar
ii  libxft2                2.1.8.2-8         FreeType-based font drawing 
librar
ii  libxi6                 1:1.0.1-4         X11 Input extension library
ii  libxinerama1           1:1.0.1-4.1       X11 Xinerama extension library
ii  libxrandr2             2:1.1.0.2-5       X11 RandR extension library
ii  libxrender1            1:0.9.1-3         X Rendering Extension client 
libra
ii  libxt6                 1:1.0.2-2         X11 toolkit intrinsics library
ii  libxtst6               1:1.0.1-5         X11 Testing -- Resource extension 
ii  usbutils               0.72-7            USB console utilities
ii  zlib1g                 1:1.2.3-13        compression library - runtime

Versions of packages kcontrol recommends:
ii  udev                          0.103-2    /dev/ and hotplug management 
daemo

-- no debconf information



Reply to: