FS#6589 - udev tap* rule is broken
Attached to Project:
Arch Linux
Opened by Emil Renner Berthing (Esmil) - Tuesday, 13 March 2007, 13:11 GMT
Last edited by Roman Kyrylych (Romashka) - Thursday, 15 March 2007, 13:31 GMT
Opened by Emil Renner Berthing (Esmil) - Tuesday, 13 March 2007, 13:11 GMT
Last edited by Roman Kyrylych (Romashka) - Thursday, 15 March 2007, 13:31 GMT
|
Details
Net interfaces doesn't get a device in /dev in Linux. Hence
the rule
KERNEL=="tap*", NAME="netlink/%k" in /etc/udev/rules.d/udev.rules prevents udev from generating a udev event. Commenting out this line fixes it. This is the case on my x86_64 system at least. |
This task depends upon
That means user defined rules, such as
KERNEL=="tap*", RUN+="/do/something/useful"
will *not* work.
Try running udevmonitor and then insert the module. You'll see an UEVENT, but not an UDEV event.
Did you try running udevmonitor, insert the module and run some program that will bring up a tap interface?
I assure you. You'll see a kernel event, but no udev event until you comment out the rule above.