Yeah, I really don't know, why I sent this mess.

This works, I'm sure:

--- /etc/network/if-up.d/upstart.BAD    2010-09-27 13:36:43.000000000 +0000
+++ /etc/network/if-up.d/upstart        2010-09-27 13:58:38.000000000 +0000
@@ -3,7 +3,9 @@
 set -e

 if [ "$IFACE" = lo ]; then
-       exit 0 # emission handled by /etc/init/network-interface.conf
+       # emission handled by /etc/init/network-interface.conf
+       # for "lo" only if this is not an LXC container
+       grep -q ":/[[:alnum:]]" /proc/1/cgroup || exit 0;
 fi

 initctl emit -n net-device-up \


I sent a similar patch for the udev postinst script. Could you check it too?

-- 
LXC containers stop working with the newest version of the package
https://bugs.launchpad.net/bugs/632764
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to