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

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



On Feb 24, Horms <horms@verge.net.au> wrote:

> > > $ dpkg -S /etc/dev.d/net/hotplug.dev
> > But this is a net subsystem script, so it's not supposed to be run for a
> > character device.
> Can you trace the first call of hotplug and see what happens?
If I create a tap device with "uml_switch -tap tap0" then a net event is
received by the hotplug.d scripts:

/etc/hotplug.d/default/logger.hotplug net

ACTION='add'
DEVPATH='/class/net/tap0'
INTERFACE='tap0'
MANAGED_EVENT='1'
SEQNUM='561'
SUBSYSTEM='net'
UDEVD_EVENT='1'
UDEV_LOG='1'

/etc/dev.d/net/hotplug.dev is not being run because recent hotplug/udev
packages use udev instead of /sbin/hotplug as the events multiplexer,
but as you can see $INTERFACE is set.

(So I still have no clue about this bug...)

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature


Reply to: