[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#294303: hotplug: Bad NET invocation: $INTERFACE is not set



On Tue, Feb 22, 2005 at 12:15:26PM +0100, Marco d'Itri wrote:
> On Feb 22, Horms <horms@debian.org> wrote:
> 
> > Ok, no one listened to my explanation the first time around,
> > so here is the point-form version.
> > 
> > * Tun is a misc device.
> > * It is not a net device.
> So why net.agent ends up being called for it?

The funny thing is, that it doesn't for me.

If you conpare the trace I sent and the one that Artur sent
we see this difference

Feb 11 00:12:42 blabluga udev[6599]: configured rule in '/etc/udev/rules.d/udev.rules[98]' applied, 'tun' becomes 'net/%k'

I checked and I don't have /etc/udev/rules.d/udev.rules on my system,
but it seems to me that it is this file that is making the translation
from misc to net. And it is this translation that I am wondering
about the validity of.

To explain in other words. When /sbin/hotplug is called by the kernel
it is called for a misc device. Somewhere in userspace
(/etc/udev/rules.d/udev.rules) this is changed to a tun device.
It seems that this change is causing the warning. That is
a change in userspace, interpretated by another part of userspace.
It doesn't sound much like a kernel problem to me.

And in any case, I ask again, is there a bug other than
a spurious debug line logged somewhere? 

-- 
Horms



Reply to: