[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 15, 2005 at 01:39:46AM +0100, Marco d'Itri wrote:
> reassign 294303 kernel-source-2.6.10
> retitle 294303 tun does not set $INTERFACE for hotplug events
> thanks
> 
> On Feb 11, "Artur R. Czechowski" <arturcz@hell.pl> wrote:
> 
> > > I am wondering if the reclassification made by
> > > /etc/udev/rules.d/udev.rules is correct, given
> Reclassification? udev just sets the correct name, as defined by
> devices.txt and common practice.
> 
> > BTW, I placed 01tun.rules file with content:
> > KERNEL="tun",		NAME="misc/%k", SYMLINK="net/%k"
> > and this annoying message does not appear anymore.
> I can't see how this could change how hotplug behaves.
> 
> > It looks for me that hotplug should have an exception for net/tun (but not
> > net/tun?*) class and serve it as a misc device instead net. Am I right?
> Why not fixing the kernel instead? If this is really just a character
> device then stop calling the hotplug net subsystem handler.

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.
* Misc devices do not set INTERFACE.

Where is the bug?  The debug message? 
Or is there actually a behavioural problem that needs to be fixed. 


-- 
Horms



Reply to: