On Wed, Feb 09, 2005 at 02:25:55AM +0100, Marco d'Itri wrote: > On Feb 09, "Artur R. Czechowski" <[EMAIL PROTECTED]> wrote: > > > I've got following message when modprobing tun: > > Feb 9 02:03:32 blabluga net.agent[16792]: Bad NET invocation: $INTERFACE > > is not set > > > > Well, I am not sure if it has any meaning. If not it would be nice when > > this message would be removed. > > AFAIK it's a kernel bug. > Any comments from the kernel people before I reassign it?
Hi Marco, Hi Artur, This does indeed look like a kernel bug. It seems that INTERFACE is not being passed by the kernel when it invokes /sbin/hotplug. However, this is because tun is infact not a network device at all. It is a misc device. And net.agent shouldn't be called at all. I did a bit of poking around, uncomented the DEBUG line (line 33) in /etc/hotplug.d/default/default.hotplug, monitored /var/log/messages, insmoded tun, and found that this bug does not manifest in 2.4.10-1-686 , 2.4.8-2-686 or 2.4.27-2-686. More to the point, tun is a misc device in those kernels and net.agent is not executed. It also looks suspiciously like it was changed when class support was added to misc devices in early 2004. Though I am not sure. http://linux.bkbits.net:8080/linux-2.6/[EMAIL PROTECTED] In any case, Artur, what kernel are you running? -- Horms -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]