** Description changed:

- lxc-start-ephemeral supports executing a command directly, but always
- exits 0 rather than using the command's status, causing errors to go
- unnoticed when used programmatically.
+ ====================================
+ SRU Justification:
+ 1. Impact: lxc-start-ephemeral return status does not reflect the return 
status of the command it executed.
+ 2. Development fix: when the child successfully starts, return its return 
value.
+ 3. Stable fix: same as development fix
+ 4. Test case:
+       1. sudo lxc-create -t ubuntu -n p1
+       2. sudo lxc-start-ephemeral -o p1 -- /bin/false
+       3. echo $? # - this should return 1, not 0.
+ 5. Regression potential: the change is convined to lxc-start-ephemeral, so any
+    regressions should not affect any other functionality.
+ ====================================
+ lxc-start-ephemeral supports executing a command directly, but always exits 0 
rather than using the command's status, causing errors to go unnoticed when 
used programmatically.

** Changed in: lxc (Ubuntu Precise)
   Importance: Undecided => High

** Changed in: lxc (Ubuntu Precise)
       Status: New => In Progress

** Changed in: lxc (Ubuntu Precise)
   Importance: High => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1050351

Title:
  lxc-start-ephemeral suppresses command exit status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1050351/+subscriptions

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

Reply via email to