Public bug reported: $ sudo lxc-clone -o old -n new $ echo $? 1 $ sudo bash /usr/bin/lxc-clone -o old -n new Tweaking configuration Copying rootfs... Updating rootfs... 'raring-cloned' created $
Problem appears to be missing "|| true" in LXC_PATH= assignment in /usr/share/lxc/lxc.functions: LXC_PATH=$(grep -v "^#" "$globalconf" 2>/dev/null | grep "[ \t]*lxcpath[ \t]*=") The above can fail due to running via 'set -e' so needs to be something like: LXC_PATH=$(grep -v "^#" "$globalconf" 2>/dev/null | grep "[ \t]*lxcpath[ \t]*=" || true) ** Affects: lxc (Ubuntu) Importance: High Status: Triaged -- 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/1166870 Title: lxc-clone fails silently To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1166870/+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