Bug#612247: [Pkg-utopia-maintainers] Bug#612247: network-manager: network-manager breaks /etc/network/interfaces when upgrading from lenny to squeeze

2011-02-06 Thread Michael Biebl
On 07.02.2011 05:48, TSUCHIYA Masatoshi wrote:
 Package: network-manager
 Version: 0.8.1-6
 Severity: serious
 
 Hi,
 
 I had the working /etc/network/interfaces file for lenny:
 
 auto lo
 iface lo inet loopback
 allow-hotplug eth0
 iface eth0 inet dhcp
 iface eth0-home inet static
   address 123.123.123.123
   netmask 255.255.255.0
   gateway 123.123.123.1
   dns-nameservers 123.123.123.1
 
 It was broken by network-manager when upgrading from lenny to squeeze as
 follows:
 
 auto lo
 iface lo inet loopback
 allow-hotplug eth0
 #NetworkManager#iface eth0 inet dhcp
 #NetworkManager#iface eth0-home inet static
   address 123.123.123.123
   netmask 255.255.255.0
   gateway 123.123.123.1
   dns-nameservers 123.123.123.1
 
 This causes that a loopback device is disappeared for squeeze system,
 because this /etc/network/interfaces file is syntactically broken.

If network-manager is installed, it will bring up the loopback device on it's
own. Or do you have network-manager installed but disabled from starting?

 I believe that the network-manager postinst script must consider
 continuous lines in the /etc/network/interfaces file.

can you send me an exact copy of the file (including the backup file
/etc/network/interfaces.bak-0) please.

thanks

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#612247: [Pkg-utopia-maintainers] Bug#612247: network-manager: network-manager breaks /etc/network/interfaces when upgrading from lenny to squeeze

2011-02-06 Thread TSUCHIYA Masatoshi
Hi,

 On Mon, 07 Feb 2011 06:37:27 +0100
 bi...@debian.org (Michael Biebl) said as follows:

 This causes that a loopback device is disappeared for squeeze system,
 because this /etc/network/interfaces file is syntactically broken.

If network-manager is installed, it will bring up the loopback device on it's
own. Or do you have network-manager installed but disabled from starting?

Exactly, the loopback device exists, but, it has no correct address as
follows:

$ /sbin/ifconfig lo
loLink encap:Local Loopback  
  LOOPBACK  MTU:16436  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Therefore, generic programs does not work because they expect the
loopback address has the address 127.0.0.1.

 I believe that the network-manager postinst script must consider
 continuous lines in the /etc/network/interfaces file.

can you send me an exact copy of the file (including the backup file
/etc/network/interfaces.bak-0) please.

I attached it at the end of this message.

Regards,

-- 
TSUCHIYA Masatoshi
# 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
iface eth0 inet dhcp

iface eth0-lc inet static
address 123.123.210.28
netmask 255.255.255.0
gateway 123.123.210.1
dns-nameservers 123.123.64.100 123.123.64.102