[Bug 1305271] Re: Manual interfaces do not come up

Luke Pascoe luke at osnz.co.nz
Wed Apr 9 21:06:44 UTC 2014


Confirmed via testing on a seperate VM.

Looking at the source of ifupdown-0.7~beta2ubuntu11/ifupdown.nw the
following change appears to be the cause:

ip link set dev %iface% [[mtu %mtu%]] [[address %hwaddress%]] up

...

Yes, package compiled without that line and interface now comes up.
why...

OK, the "up" line above is run _before_ the up lines in
/etc/network/interfaces, at which point the vlan doesn't exist.

Modifying the interfaces stanza as follows resolves the issue:

# VLAN 3
auto reporter1
iface reporter1 inet manual
        pre-up ip l s dev intpub up
        pre-up vconfig add intpub 3
        pre-up ip l s dev intpub.3 name reporter1
        up ip l s dev reporter1 up
        up ip a a xx.xx.xx.xx/29 dev reporter1
        up ip a a 2403:9800:xx:xx::1/64 dev reporter1
        down ip a del xx.xx.xx.xx/29 dev reporter1
        down ip l s dev reporter1 down
        down vconfig rem reporter1

So, not sure if this is a bug exactly, but the change made in the latest
patch DOES break existing functionality while attempting to add new
features, this is (in my opinion) unacceptable for a stable version
package update.

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

Title:
  Manual interfaces do not come up

Status in “ifupdown” package in Ubuntu:
  New

Bug description:
  Ubuntu 12.04.4 LTS amd64

  After upgrading to 0.7~beta2ubuntu11, "manual" interfaces won't come
  up. Rolled back to 0.7~beta2ubuntu10 and they work.

  Interface definition in /etc/network/interfaces (one of many):

  # VLAN 3
  auto reporter1
  iface reporter1 inet manual
          up ip l s dev intpub up
          up vconfig add intpub 3
          up ip l s dev intpub.3 name reporter1
          up ip l s dev reporter1 up
          up ip a a xx.xx.xx.xx/29 dev reporter1
          up ip a a 2403:9800:xx:xx::1/64 dev reporter1
          down ip a del xx.xx.xx.xx/29 dev reporter1
          down ip l s dev reporter1 down
          down vconfig rem reporter1

  Error when running ifup reprter1:

  Device "reporter1" does not exist.

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



More information about the foundations-bugs mailing list