lxc-stop returns failure on success

Bug #1189512 reported by Serge Hallyn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

doing

  lxc-create -t ubuntu -n lucid1 -- -r lucid
  lxc-start -n lucid -d
  lxc-stop -n lucid
  echo $?

shows that lxc-stop returns -1 even though the container ends up being stopped. The default behavior should be to wait for the container to cleanly shut down and return success.

Tags: patch
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :
Changed in lxc (Ubuntu):
status: New → Fix Committed
importance: Undecided → High
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

(The above patch has been sent upstream)

Changed in lxc (Ubuntu):
importance: High → Medium
tags: added: patch
Changed in lxc (Ubuntu):
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.