Activity log for bug #1583237

Date Who What changed Old value New value Message
2016-05-18 16:04:49 Xavier Roche bug added bug
2016-05-18 16:11:26 Xavier Roche bug task added lxc (Ubuntu)
2016-05-18 16:14:05 Xavier Roche description On a fresh Ubuntu 16 release, commands started by lxc-attach such as dd are being killed, and lxc-attach return a zero status. This scenario is working on Ubuntu 15 with previous lxc release, but not on new LXC 2.0.0 (same issue on 2.0.1 too) sudo apt-get -y install lxc sudo lxc-create -n utest -t ubuntu -- -a amd64 -b $USER sudo lxc-start -d --name utest sudo lxc-attach -n container -- dd if=/dev/zero of=/tmp/foo bs=1M count=10 2>/tmp/bar sudo lxc-attach -n utest_bizio_tests -- ls -lh /tmp/foo -rw-r--r-- 1 root root 0 May 18 05:46 /tmp/foo Might be related to bug 1553097 NOTE: Sometimes the "sudo lxc-attach -n utest_bizio_tests -- ls -lh /tmp/foo" ALSO does not return anything (no output) I'm available for any additional info. On a fresh Ubuntu 16 release, commands started by lxc-attach such as dd are being killed, and lxc-attach return a zero status. This scenario is working on Ubuntu 15 with previous lxc release, but not on new LXC 2.0.0 (same issue on 2.0.1 too) sudo apt-get -y install lxc sudo lxc-create -n utest -t ubuntu -- -a amd64 -b $USER sudo lxc-start -d --name utest sudo lxc-attach -n utest -- dd if=/dev/zero of=/tmp/foo bs=1M count=10 2>/tmp/bar sudo lxc-attach -n utest -- ls -lh /tmp/foo -rw-r--r-- 1 root root 0 May 18 05:46 /tmp/foo Might be related to bug 1553097 NOTE: Sometimes the "sudo lxc-attach -n utest_bizio_tests -- ls -lh /tmp/foo" ALSO does not return anything (no output) I'm available for any additional info.
2016-05-18 16:15:01 Xavier Roche description On a fresh Ubuntu 16 release, commands started by lxc-attach such as dd are being killed, and lxc-attach return a zero status. This scenario is working on Ubuntu 15 with previous lxc release, but not on new LXC 2.0.0 (same issue on 2.0.1 too) sudo apt-get -y install lxc sudo lxc-create -n utest -t ubuntu -- -a amd64 -b $USER sudo lxc-start -d --name utest sudo lxc-attach -n utest -- dd if=/dev/zero of=/tmp/foo bs=1M count=10 2>/tmp/bar sudo lxc-attach -n utest -- ls -lh /tmp/foo -rw-r--r-- 1 root root 0 May 18 05:46 /tmp/foo Might be related to bug 1553097 NOTE: Sometimes the "sudo lxc-attach -n utest_bizio_tests -- ls -lh /tmp/foo" ALSO does not return anything (no output) I'm available for any additional info. On a fresh Ubuntu 16 release, commands started by lxc-attach such as dd are being killed WHEN REDIRECTING stderr (to a file), and lxc-attach return a zero status. Command works fine without the redirection. This scenario is working on Ubuntu 15 with previous lxc release, but not on new LXC 2.0.0 (same issue on 2.0.1 too) sudo apt-get -y install lxc sudo lxc-create -n utest -t ubuntu -- -a amd64 -b $USER sudo lxc-start -d --name utest sudo lxc-attach -n utest -- dd if=/dev/zero of=/tmp/foo bs=1M count=10 2>/tmp/bar sudo lxc-attach -n utest -- ls -lh /tmp/foo -rw-r--r-- 1 root root 0 May 18 05:46 /tmp/foo Might be related to bug 1553097 NOTE: Sometimes the "sudo lxc-attach -n utest_bizio_tests -- ls -lh /tmp/foo" ALSO does not return anything (no output) I'm available for any additional info.
2016-05-18 16:15:20 Xavier Roche summary lxc-attach strange tty behavior with dd lxc-attach strange tty behavior when stderr is redirected to a file
2016-05-18 16:15:37 Xavier Roche summary lxc-attach strange tty behavior when stderr is redirected to a file lxc-attach strange tty behavior (kills command) when stderr is redirected to a file
2016-05-18 16:18:19 Xavier Roche description On a fresh Ubuntu 16 release, commands started by lxc-attach such as dd are being killed WHEN REDIRECTING stderr (to a file), and lxc-attach return a zero status. Command works fine without the redirection. This scenario is working on Ubuntu 15 with previous lxc release, but not on new LXC 2.0.0 (same issue on 2.0.1 too) sudo apt-get -y install lxc sudo lxc-create -n utest -t ubuntu -- -a amd64 -b $USER sudo lxc-start -d --name utest sudo lxc-attach -n utest -- dd if=/dev/zero of=/tmp/foo bs=1M count=10 2>/tmp/bar sudo lxc-attach -n utest -- ls -lh /tmp/foo -rw-r--r-- 1 root root 0 May 18 05:46 /tmp/foo Might be related to bug 1553097 NOTE: Sometimes the "sudo lxc-attach -n utest_bizio_tests -- ls -lh /tmp/foo" ALSO does not return anything (no output) I'm available for any additional info. On a fresh Ubuntu 16 release, commands started by lxc-attach such as dd are being killed WHEN REDIRECTING stderr (to a file), and lxc-attach return a zero status. Command works fine without the redirection. This scenario is working on Ubuntu 15 with previous lxc release, but not on new LXC 2.0.0 (same issue on 2.0.1 too) sudo apt-get -y install lxc sudo lxc-create -n utest -t ubuntu -- -a amd64 -b $USER sudo lxc-start -d --name utest sudo lxc-attach -n utest -- dd if=/dev/zero of=/tmp/foo bs=1M count=10 2>/tmp/bar sudo lxc-attach -n utest -- ls -lh /tmp/foo -rw-r--r-- 1 root root 0 May 18 05:46 /tmp/foo Might be related to bug 1553097 (and/or https://github.com/lxc/lxc/pull/873) NOTE: Sometimes the "sudo lxc-attach -n utest_bizio_tests -- ls -lh /tmp/foo" ALSO does not return anything (no output) I'm available for any additional info.
2016-05-18 20:39:03 Martin Pitt bug task deleted autopkgtest (Ubuntu)