Your message dated Thu, 17 Nov 2011 23:48:46 +0100
with message-id <[email protected]>
and subject line network-manager overrides my default route with a non-working 
one
has caused the Debian Bug report #548908,
regarding network-manager overrides my default route with a non-working one
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
548908: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548908
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: network-manager
Version: 0.7.1-2
Severity: normal

My system is setup as follows:
- an ethernet interface configured via DHCP connects up to the internet.
  Udev is setup to name this interface `eth-down'.
  This interface is taken up/down by ifplugd.
- a USB plug to which I sometimes connect a device through an ethernet
  adapter.  Udev is setup to name this interface `eth-usb'.
  this interface is taken up/down via "allow-hotplug".

All the networking is setup via /etc/network/interfaces (shown below).
network-manager is installed and running (because of gnome) but has
never been touched (i.e. default config) and no user is running
nm-applet.

As long as I don't plug in my eth-usb device, all works fine.
As long as network-manager is not running, everything works fine.
But starting from the following routing state:

# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
132.204.24.0    *               255.255.252.0   U     0      0        0 eth-down
default         sud-ouest.iro.u 0.0.0.0         UG    0      0        0 eth-down
# 

if network-manager is running and I plug my eth-usb device, I the device gets
configured correctly by ifupdown's hotplug support, but the default route
gets messed up:

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     1      0        0 eth-usb
132.204.24.0    *               255.255.252.0   U     0      0        0 eth-down
default         192.168.0.200   0.0.0.0         UG    0      0        0 eth-usb
# 


        Stefan


##### /etc/network/interfaces #############################################
auto lo
iface lo inet loopback
iface eth-down inet dhcp

allow-hotplug eth-usb
iface eth-usb inet static
        address 192.168.0.200
        netmask 255.255.255.0
        up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &
        up echo 1 > /proc/sys/net/ipv4/ip_forward &
        up iptables -P FORWARD ACCEPT &
        down iptables -D POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &
###########################################################################


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages network-manager depends on:
ii  adduser                3.110             add and remove users and groups
ii  dbus                   1.2.16-2          simple interprocess messaging syst
ii  dhcp3-client           3.1.2p1-1         DHCP client
ii  hal                    0.5.13-3          Hardware Abstraction Layer
ii  ifupdown               0.6.9             high level tools to configure netw
ii  libc6                  2.9-25            GNU C Library: Shared libraries
ii  libdbus-1-3            1.2.16-2          simple interprocess messaging syst
ii  libdbus-glib-1-2       0.82-1            simple interprocess messaging syst
ii  libgcrypt11            1.4.4-4           LGPL Crypto library - runtime libr
ii  libglib2.0-0           2.22.0-1          The GLib library of C routines
ii  libgnutls26            2.8.3-3           the GNU TLS library - runtime libr
ii  libgpg-error0          1.6-1             library for common error values an
ii  libhal1                0.5.13-3          Hardware Abstraction Layer - share
ii  libnl1                 1.1-5             library for dealing with netlink s
ii  libnm-glib0            0.7.1-2           network management framework (GLib
ii  libnm-util1            0.7.1-2           network management framework (shar
ii  libpolkit-dbus2        0.9-4             library for accessing PolicyKit vi
ii  libpolkit2             0.9-4             library for accessing PolicyKit
ii  libtasn1-3             2.3-1             Manage ASN.1 structures (runtime)
ii  libudev0               0.141-2           libudev shared library
ii  libuuid1               2.16.1-3          Universally Unique ID library
ii  lsb-base               3.2-23            Linux Standard Base 3.2 init scrip
ii  wpasupplicant          0.6.9-3           client support for WPA and WPA2 (I
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages network-manager recommends:
pn  dnsmasq-base               <none>        (no description available)
ii  iptables                   1.4.4-2       administration tools for packet fi
ii  network-manager-gnome      0.7.1-1       network management framework (GNOM
ii  policykit                  0.9-4         framework for managing administrat
ii  ppp                        2.4.4rel-10.1 Point-to-Point Protocol (PPP) - da

Versions of packages network-manager suggests:
pn  avahi-autoipd                 <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 0.9.1.95-1

Should be fixed now.

network-manager (0.9.1.95-1) unstable; urgency=low

  * New upstream release (0.9.2 rc1).
    - Fix connection sharing with newer iptables versions. (Closes: #638995)
    - Fix handling of numeric SSIDs in the keyfile plugin. (Closes: #642912)
  * debian/watch: Track .xz tarballs.
  * debian/libnm-util2.symbols: Add new symbols for libnm-util.
  * debian/patches/04-dont-update-routing-and-dns-for-unmanaged-devices.patch
    - Avoid blowing away existing routes and resolv.conf if NM never managed
      any devices. (Closes: #546893, #624159, #637005, #641904)
  * debian/control: Add Build-Depends on libglib2.0-doc for proper
    cross-references in the gtk-doc API documentation.
  * Enable default hardening options from dpkg-buildflags.
    - Use buildflags.mk snippet in debian/rules.
    - Add Build-Depends on dpkg-dev (>= 1.6.1).

 -- Michael Biebl <[email protected]>  Thu, 03 Nov 2011 21:32:50 +0100
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to