[Bug 1124526] [NEW] potential race in commands.c / lxc-info
Serge Hallyn
1124526 at bugs.launchpad.net
Wed Feb 13 21:15:08 UTC 2013
Public bug reported:
There have been reports that two racing lxc-infos can result in one of
the lxc-infos being hung. I've tried to reproduce with the script below
- so far with no success, but that doesn't mean the race isn't real.
#!/bin/sh
if [ $(id -u) -ne 0 ]; then
echo "run as root"
exit 1
fi
if [ "x$1" = "x" ]; then
echo "give name of container to play with as arg 1"
exit 1
fi
(lxc-start -n $1 -d; lxc-info -n $1) &
(lxc-stop -n $1; lxc-info -n $1)
** Affects: lxc (Ubuntu)
Importance: Low
Status: New
** Changed in: lxc (Ubuntu)
Importance: Undecided => Low
--
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/1124526
Title:
potential race in commands.c / lxc-info
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1124526/+subscriptions
More information about the Ubuntu-server-bugs
mailing list