[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2013-01-24 Thread Hungerburg
Thank you Stéphane, in those log files I found the message:

  device br0 already exists; can't create bridge with the same name
  Failed to bring up br0.

In /etc/network/interfaces below the br0 stance I had just to remove
some lines:

  pre-up brctl addbr br0
  pre-up brctl addif br0 eth1 
  pre-up brctl addif br0 tap0 
  ifconfig br0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255

These maybe were necessary in 10.04 lucid, when I set up the system
first.

So the update of bridge-utils made the config simpler in the end. Great!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2013-01-18 Thread Hungerburg
Please excuse the incomplete information; But I highly suspect it is
releated, and maybe some bells ring with the experts.

The week a system that I manage (xubuntu 12.04.1) failed to connect to
the net on reboot. The br0 bridge interface does not get fully
configured. There is nothing in syslog that points at a specific
failure. The startup GUI shows waiting for network and waiting 60
more seconds for network before the greeter comes up.

The bridge interface is used to bridge eth1 and OpenVPN tap0. It is
solely configured from /etc/network/interfaces.

I found that after tearing down the bridge completely, ifup br0
successfully completes. But it fails at boot time. bridge-utils may be
the only package update between the last reboot, when thins still were
fine (some 80 days ago).

Next week I may collect more information (ifquery br0 # of the
disfunctional bridge, brctl show, etc).

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2013-01-18 Thread Stéphane Graber
The most relevant log files are in /var/log/upstart/network*

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-11-04 Thread Launchpad Bug Tracker
This bug was fixed in the package bridge-utils - 1.5-2ubuntu7

---
bridge-utils (1.5-2ubuntu7) precise-proposed; urgency=low

  * Don't call ifup from udev hook, instead just create the bridge and let
upstart bring it up. Fixes hang at boot time. (LP: #1003656)
 -- Stephane Graber stgra...@ubuntu.com   Fri, 26 Oct 2012 17:16:59 +0200

** Changed in: bridge-utils (Ubuntu Precise)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-10-31 Thread gadLinux
I have the same problem with quantal (image installed by MAAS)

I've just created a bridge br0 in the interfaces file and now the system does 
not boot.
it seems br0 is not going up

if I do a brcrl addbr br0 everything works.

I have not the bonding one, but seems to be the same error.

The output of initctrl list shows:

upstart-udev-bridge is runing
upstart-socket-bridge is running

cloud-init is running...

it seems that cloud-init needs the interface up to continue but it never
goes up...

Also, I've modified the /etc/network/if-pre.up.d/bridge to show what
interfaces are up when the system stalls:

It shows that $IF_BRIDGE_PORTS goes empty, and is executed twice...

It should have the bridge port br0 in my case...

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-10-31 Thread gadLinux
I added a rule in udev to bring up the port directly with brctl addbr
br0 and now everything works.

But I don't know the cause.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-10-28 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-branches/ubuntu/precise/bridge-utils
/precise-proposed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-10-27 Thread Gary Richards
Gah, ignore my comment, perhaps the new version is working.

The issue I see now seems to be that on the last reboot the MAC address
of the bond has obtained the MAC of the other ethernet interface in the
bond rather than the MAC address of eth0 (which is the one hard wired in
my dhcpd config), meaning it's unable to obtain an IP address to to my
dhcp server not knowing what address to give it.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-10-27 Thread Gary Richards
OK... if I force the MAC address of my bridge to be the one expected by
my dhcp server then 1.5-2ubuntu7 works.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-10-26 Thread Adam Conrad
Hello andrew, or anyone else affected,

Accepted bridge-utils into precise-proposed. The package will build now
and be available at http://launchpad.net/ubuntu/+source/bridge-
utils/1.5-2ubuntu7 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from
verification-needed to verification-done.  If it does not, change the
tag to verification-failed.  In either case, details of your testing
will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: bridge-utils (Ubuntu Precise)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-09-11 Thread Stéphane Graber
Rationale for not touching vlan is that it's never calling ifup and so
shouldn't be able to cause a similar deadlock situation as bridge-utils.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-09-11 Thread Stéphane Graber
I just spent a few minutes trying to figure out the ordering based on the 
scripts for Andrew's system, it's basically:
- eth0 appears
  - triggers udev
- triggers upstart
  - triggers ifup eth0
- triggers bonding
  - bond0 appears
- triggers udev
  - triggers bridge-network-interface
- triggers ifup br0
  - br0 appears
- triggers udev
  - triggers upstart
- triggers ifup br0 = fails, already configured
  - dhclient br0 = fails as it's blocking and no interface in 
bond
  - triggers upstart
- triggers ifup bond0
  - eth0 is joined in the bond
- eth1 appears
  - triggers udev
- triggers upstart
  - triggers ifup eth1
- triggers bonding
  - eth1 is joined in the bond


As you can see, it's relatively complex. The main problem as easily seen above 
is that udev being sequential, the ifup br0 will be called before the bond 
interface is fully setup and so will fail to acquire an IP as nothing's in the 
bond at this point.

A possible way around the problem would be to only create the bridge
from the udev hook but not actually call ifup, letting the upstart job
take care of this. This would make the code similar to what vlan and
ifenslave are currently doing where as far as I know we're not getting a
similar deadlock.

I have a system reproducing this bug, so I'll now be trying my
workaround and re-read all the scripts once more to see if I missed
something.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-09-11 Thread Launchpad Bug Tracker
This bug was fixed in the package bridge-utils - 1.5-4ubuntu2

---
bridge-utils (1.5-4ubuntu2) quantal; urgency=low

  * Revert last chance as udev doesn't accept that syntax.
  * Set BRIDGE_HOTPLUG=yes as that's the behaviour we had in the past and
need for the event based networking. Reverting change from 1.5-4.
  * Don't call ifup from bridge-network-interface, instead just call brctl
and let udev/upstart bring the interface up (LP: #1003656)
 -- Stephane Graber stgra...@ubuntu.com   Tue, 11 Sep 2012 10:45:45 -0400

** Changed in: bridge-utils (Ubuntu Quantal)
   Status: Triaged = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-09-10 Thread Stéphane Graber
Also re-opening the bridge-utils task.

** Changed in: bridge-utils (Ubuntu Quantal)
   Status: Fix Released = Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-09-10 Thread Stéphane Graber
** Changed in: vlan (Ubuntu Quantal)
   Status: Triaged = Invalid

** No longer affects: vlan (Ubuntu Precise)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-09-09 Thread Steve Langasek
Stéphane,

  * Start vlan-network-interface in the background to avoid blocking the
rest of the udev events (most importantly the upstart one).
(LP: #1003656)

This doesn't appear to be a correct fix.  I noticed here while working
on an unrelated boot issue that udev is now spitting warning messages
about these run rules not being valid, because udev tries to find a
helper with '' in the name:

Sep  9 02:28:52 virgil udevd[1887]: failed to execute '/lib/udev/bridge-network-
interface' 'bridge-network-interface': No such file or directory
Sep  9 02:28:52 virgil udevd[1888]: failed to execute 
'/lib/udev/vlan-network-interface' 'vlan-network-interface': No such file or 
directory

So, reopening this report.

** Changed in: vlan (Ubuntu Quantal)
   Status: Fix Released = Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-09-09 Thread Stéphane Graber
Hmm, that's odd, not sure why I didn't get these when I last tested the
change...

I'll put this one back on my todo for tomorrow to figure out how to
properly fix it or if I can't find a better way quickly, revert the
change.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-09-07 Thread Stéphane Graber
** Summary changed:

- bond entries in /etc/network/interfaces fail without indent (when adding a 
bond the bridge fails to acquire a dhcp address)
+ bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down 
boot

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-09-07 Thread Launchpad Bug Tracker
This bug was fixed in the package bridge-utils - 1.5-4ubuntu1

---
bridge-utils (1.5-4ubuntu1) quantal; urgency=low

  * Start bridge-network-interface in the background to avoid blocking the
rest of the udev events (most importantly the upstart one).
(LP: #1003656)
 -- Stephane Graber stgra...@ubuntu.com   Fri, 07 Sep 2012 17:35:13 -0400

** Changed in: bridge-utils (Ubuntu Quantal)
   Status: Triaged = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1003656] Re: bridge-utils/vlan udev hooks prevent execution of upstart hook, slowing down boot

2012-09-07 Thread Stéphane Graber
A quick test on my test systems and on the reporter's system didn't show any 
side effect, so I went ahead and pushed it to Ubuntu 12.10 in both the vlan and 
bridge-utils packages.
I'll wait a few more weeks before pushing this to Ubuntu 12.04 so we can spot 
any potential regression introduced by the change.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1003656

Title:
  bridge-utils/vlan udev hooks prevent execution of upstart hook,
  slowing down boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1003656/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs