Public bug reported:

The old /etc/init.d/networking script deconfigured all the interfaces
defined in /etc/network/interfaces. By running `/etc/init.d/networking
restart`, one could make sure that all the old addresses and routes were
removed. The replacementscript for upstart doesn't do anything to
deconfigure an interface. So if you restart networking, a second default
route can be added. Which isn't what you'd expect.

Furthermore, the exitcode always seems to be '0', eventhough ifup
presents errors.

root@vps9124:/etc/init# /etc/init.d/networking restart
 * Reconfiguring network interfaces...                                          
                                                                                
     SIOCADDRT: File exists
Failed to bring up eth0.
                                                                                
                                                                              [ 
OK ]
root@vps9124:/etc/init# echo $?
0

root@vps9124:/etc/init# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04.3 LTS
Release:        10.04
Codename:       lucid


IMHO, this is unexpected and unwanted behaviour..

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/890189

Title:
  `restart networking` does not deconfigure an interface

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/890189/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to