Updating ifupdown to 0.6.8ubuntu10 breaks non-NM configurations that have /etc/NetworkManager/nm-system-settings.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ifupdown (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Binary package hint: ifupdown
I run systems with static ip address based networking. They do use or have NetworkManger installed.
Imagine my absolute joy and surprise to update my systems, reboot, and find this:
yagisan@doomguy:~$ sudo /etc/init.
* Reconfiguring network interfaces...
WARNING: ifup -a is disabled in favour of NetworkManager.
Set ifupdown:
But wait ? I don't HAVE network manager. Lets check if my interfaces are up ?
yagisan@doomguy:~$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:892 errors:0 dropped:0 overruns:0 frame:0
TX packets:892 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:50768 (50.7 KB) TX bytes:50768 (50.7 KB)
vnet0 Link encap:Ethernet HWaddr b2:0c:e4:db:a5:5c
inet addr:192.168.122.1 Bcast:192.
inet6 addr: fe80::b00c:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:167 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:36571 (36.5 KB)
No - they clearly ARE NOT.
REVERT THIS HALF-ARSED SYSTEM BREAKING CHANGE NOW. I get the joy of reverting all these systems you broke with such a thoughtless and careless update.
I have an idea - lets check what priority these packages are.
yagisan@doomguy:~$ apt-cache show ifupdown
Package: ifupdown
Priority: important
Section: base
Installed-Size: 268
Maintainer: Ubuntu Core Developers <email address hidden>
Original-
Architecture: amd64
Version: 0.6.8ubuntu10
Replaces: netbase (<< 4.00)
Depends: net-tools, libc6 (>= 2.4), debconf (>= 1.2.0) | debconf-2.0, lsb-base (>= 1.3-9ubuntu3), netbase (>= 4.30ubuntu2)
Suggests: iproute, dhcp3-client | dhcp-client, ppp
Filename: pool/main/
Size: 58760
MD5sum: dcfd760f49ff08f
SHA1: 0e92104ad976fcf
SHA256: 1e2697d47e84684
Description: high level tools to configure network interfaces
This package provides the tools ifup and ifdown which may be used to
configure (or, respectively, deconfigure) network interfaces based on
interface definitions in the file /etc/network/
Bugs: mailto:<email address hidden>
Build-Essential: yes
Origin: Ubuntu
Task: minimal
Oh look - ifupdown is IMPORTANT and is part of the MINIMAL task. No mention ANYWHERE there of needing Network-Manager.
yagisan@doomguy:~$ apt-cache show network-manager
Package: network-manager
Priority: optional
Section: net
Installed-Size: 2040
Maintainer: Ubuntu Core Dev Team <email address hidden>
Original-
Architecture: amd64
Version: 0.7~~svn2008100
Replaces: network-
Depends: libc6 (>= 2.4), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>= 0.74), libglib2.0-0 (>= 2.16.0), libhal1 (>= 0.5.8.1), libnl1, libnm-glib0 (>= 0.7~~svn20080908), libnm-util0 (>= 0.7~~svn20080908), libnspr4-0d (>= 1.8.0.10), libnss3-1d (>= 3.12.0~1.9b1), libpolkit-dbus2 (>= 0.7), libpolkit2 (>= 0.7), libuuid1 (>= 1.05), iproute, iputils-arping, lsb-base (>= 2.0-6), wpasupplicant (>= 0.6.1~), dbus (>= 0.60), hal (>= 0.5.7.1), update-
Recommends: network-
Conflicts: network-
Filename: pool/main/
Size: 292068
MD5sum: 126a6e09bf8c8af
SHA1: e52f8ea78a90dc4
SHA256: 988274125612c5d
Description: network management framework daemon
NetworkManager attempts to keep an active network connection available at all
times. It is intended only for the desktop use-case, and is not intended for
usage on servers. The point of NetworkManager is to make networking
configuration and setup as painless and automatic as possible. If using DHCP,
NetworkManager is _intended_ to replace default routes, obtain IP addresses
from a DHCP server, and change nameservers whenever it sees fit.
.
This package provides the userspace daemons.
.
Homepage: http://
Bugs: mailto:<email address hidden>
Origin: Ubuntu
Task: ubuntu-desktop, kubuntu-desktop, edubuntu-desktop, edubuntu-
Would you look at that - it's an OPTIONAL package, that is part of the UBUNTU-DEKSTOP task.
Could you EVER possibly envisage that someone somewhere just may not be using the ubuntu-desktop meta package ? Clearly not. It's not like you have an Ubuntu Server setup right ??? oh wait you do - well - i guess they'll find their networking stops as well.
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu.
yagisan@doomguy:~$ lsb_release -rd
Description: Ubuntu intrepid (development branch)
Release: 8.10
2) The version of the package you are using, via 'apt-cache policy packagename' or by checking in Synaptic.
yagisan@doomguy:~$ apt-cache policy ifupdown
ifupdown:
Installed: 0.6.8ubuntu10
Candidate: 0.6.8ubuntu10
Version table:
*** 0.6.8ubuntu10 0
500 http://
100 /var/lib/
0.6.8ubuntu9 0
500 cdrom://Ubuntu 8.10 _Intrepid Ibex_ - Alpha amd64 (20080903.2) intrepid/main Packages
yagisan@doomguy:~$ apt-cache policy network-manager
network-manager:
Installed: (none)
Candidate: 0.7~~svn2008100
Version table:
0.
500 http://
0.
100 /var/lib/
0.
500 cdrom://Ubuntu 8.10 _Intrepid Ibex_ - Alpha amd64 (20080903.2) intrepid/main Packages
3) What you expected to happen
Networking to continue function so that ifup -a brings up all interfaces in /etc/interfaces that where listed as "auto" as it should.
4) What happened instead
I get no networking and a message stating I have to use an application that is not a dependency and not installed, and will never be installed, as it's not appropriate for that machine.
Changed in ifupdown: | |
assignee: | nobody → james-w |
importance: | Undecided → Critical |
status: | New → In Progress |
Changed in ifupdown (Ubuntu): | |
status: | Fix Released → In Progress |
status: | In Progress → Fix Released |
<james_w> Yagisan: actually, can you tell me if you have /etc/NetworkMan ager/nm- system- settings. conf ager/nm- system- settings. conf ager/nm- system- settings. conf` is enough to break it, the check is clearly wrong.
<Yagisan> james_w, when I removed that file you asked for (this morning) I got networking back. I just did a quick check by touching a blank file there - and networiking went down again
<persia> Which file?
<Yagisan> /etc/NetworkMan
<persia> That should only be there if network manager is installed.
<Yagisan> it was at one stage. long long ago.
<persia> If `touch /etc/NetworkMan
<james_w> Yagisan: ok, so it is the issue