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

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



On Thu, Feb 24, 2005 at 02:24:38AM +0100, Marco d'Itri wrote:
> On Feb 24, Horms <horms@verge.net.au> wrote:
> 
> > Ok, that is curious, because as I mentioned, I don't have that file
> > and it seems to work fine. That is, I can't reproduce the problem.
> I do, but I cannot reproduce it either.
> 
> > Artur, where did that file come from? Does it belong to a package?
> It's part of udev, and I cannot see how it could be relevant.

Hi,

I have taken a closer look at this. Here is what seems to be happening
now I have udev installed.


Kernel calls hotplug misc   (tun is a misc device)
hotplug calls udev
udev names tun net/tun, and as it now thinks it is a net device, calls
hotplug tun 

And then the warning message is printed, because tun is a misc device,
not a net device

I ask again, where is the bug?
What function that should occur isn't occuring?
What function that shouln't occur is occuring?
In udev thinking tun is a net device?
In hotplug exiting (cleanly) because it was asked to configre tun as a
net device?

This is all user space. The kernel invokes hotplug misc,
telling hotplug to deal with a userspace device. From
there on it is out of the kernel's hands.

-- 
Horms



Reply to: