root@qdisc:~# tc qdisc add dev eth0 root netem delay 50ms root@qdisc:~# ping 10.0.3.1 PING 10.0.3.1 (10.0.3.1) 56(84) bytes of data. 64 bytes from 10.0.3.1: icmp_seq=1 ttl=64 time=50.3 ms 64 bytes from 10.0.3.1: icmp_seq=2 ttl=64 time=50.3 ms ^C --- 10.0.3.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 50.360/50.363/50.367/0.224 ms root@qdisc:~#
So confirmed to work as expected, thanks! ** Tags removed: verification-needed-trusty ** Tags added: verification-done-trusty -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1344049 Title: Please cherry-pick tc rule fix for userns Status in “linux” package in Ubuntu: Fix Released Status in “linux” source package in Trusty: Fix Committed Status in “linux” source package in Utopic: Fix Released Bug description: Hello, I pushed a fix to the mainline kernel which I believe will first be released in 3.16. This change is required to make setting tc rules inside an unprivileged lxc container (assuming the userns owns a netns). Commit id is: 4e8bbb819d1594a01f91b1de83321f68d3e6e245 Can we please have this cherry-picked in all post-3.12 actively maintained kernels (so, that's at least the distro trusty and utopic kernels)? Thanks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1344049/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp