Hmm.  I'm not using the same setup now, but I'm still able to test it.

"allow-hotplug" seems to have stopped working completely in Ubuntu
12.04, despite being still mentioned in the man page.  I.e. the
interface is not brought up automatically when I plug the hardware in.
Maybe it didn't get tested because everyone uses NetworkManager.  (I
certainly do nowadays :).

I compared debian with ubuntu 12.04.  Hotplug works on debian 6.0.  It
seems to work through /lib/udev/net.agent, although I can't see where
its called from.  Current debian unstable also has net.agent.  In both
cases it's provided by the udev package.

On Ubuntu 12.04, there's no net.agent.  "grep -r ifup /lib/udev/" finds
"bridge-network-interface", but nothing else.  "apt-file seach
net.agent" shows that no package contains this file.

If someone else needs to report this as a separate bug, feel free.  You
can simulate unplug / hotplug easily enough.  Use "modprobe -r <your-
network-driver>; modprobe <you-network-driver>".  (To find the driver,
check "ls -l /sys/class/net/*/device/driver/module").  Just remember you
need set the interface up using /etc/network/interfaces.

The absence of net.agent in ubuntu, compared to debian unstable, looks
like a smoking gun to me.  Ubuntu has changed something from upstream,
so the question is why.  If something else is supposed to do the same
job, then where is that something?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/135909

Title:
  wpa_supplicant isn't killed on unplug

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/135909/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to