On Mon, May 09, 2011 at 09:41:42PM +0200, Santiago Garcia Mantinan wrote:
> > The attached patch implements the udev rule that we discussed to trigger
> > bring-up of bridges when a member interface is made available via the
> > kernel.

> Thanks, I was already looking at the ubuntu patch, I have applied it but I
> have several questions...

> You run "mkdir -p /var/run/network" I suppose this is because the script may
> be run when that dir hasn't been yet created by other scripts run by
> upstart, is that right?

Ah, sorry, this is /etc/network/run on Debian; the directory is created by
/etc/init.d/ifupdown, which may not be run yet when the udev rule triggers,
yes.

(Soon, it looks like /run will be the official place for this in both Debian
and Ubuntu; this has been discussed on debian-devel, I don't know what the
guidelines are for transitioning to it.)

> I have been trying it and it doesn't work, it seems we don't have ifquery on
> Debian (whatever that is) or at least I haven't been able to find it, is it
> also upstart related? or some other Ubuntu difference? comments? ideas?

Sorry for this as well!  ifquery is an interface I added to ifupdown in
Ubuntu specifically for use by jobs such as this one.  It was submitted to
Debian in bug #568479, but there has been no response from the maintainer;
ifupdown is effectively unmaintained.  And I see no way to reliably
implement this udev rule without such an 'ifquery' interface.

If you think this is the right way to go, perhaps you could consider NMUing
ifupdown?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]

Attachment: signature.asc
Description: Digital signature

Reply via email to