potential race in commands.c / lxc-info
Bug #1124526 reported by
Serge Hallyn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
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)
Changed in lxc (Ubuntu): | |
importance: | Undecided → Low |
To post a comment you must log in.
This is probably related to bug 1134923 - i suspect both are due to bugs in the monitor code.