** Description changed: + ============ SRU justification ============ + Impact: lxc-unshare segfaults when run with no command + Development fix: exit with a failure message if no command is givne. + Stable fix: same as development fix + Test case: + sudo lxc-unshare -s MOUNT + dmesg | tail + without the fix, the command will silently return, while dmesg + will show a segfault. With the fix, lxc-unshare will warn that + a command is required. + Regression potential: + None. + + ================================ + root@ubuntu:~# lxc-unshare -s NETWORK - root@ubuntu:~# tail -1 /var/log/syslog + root@ubuntu:~# tail -1 /var/log/syslog Jun 11 14:54:07 ubuntu kernel: [ 9386.305870] lxc-unshare[21539]: segfault at 0 ip 00007f0fc03aea52 sp 00007fff63819f00 error 4 in libc-2.15.so[7f0fc02f0000+1b3000] and is not creating a new network namespace
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1011603 Title: LXC-unshare network namespace segfaulting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1011603/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs