aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/pax-utils
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-09-19 00:10:28 -0700
committerRobert Yang <liezhi.yang@windriver.com>2016-09-19 00:19:24 -0700
commitf91c59ec68a08318eee53865979246cfa55888c9 (patch)
treea0bb16a6467d69ce857da9f251fd3f748d42236a /meta/recipes-devtools/pax-utils
parentd77fe838ab7631a19e90ff4226f0712e54aa4e22 (diff)
downloadopenembedded-core-contrib-rbt/rq_lock.tar.gz
runqemu: acquire_lock() should fail when failed to open the filerbt/rq_lock
The open(self.lock, 'w') may fail when the lock is created by other users, return false for this case to let it try other devices. Fixed: runqemu - INFO - Running /sbin/ip link... runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap0.lock... Traceback (most recent call last): File "/buildarea/lyang1/poky/scripts/runqemu", line 972, in <module> ret = main() File "/buildarea/lyang1/poky/scripts/runqemu", line 963, in main config.setup_network() File "/buildarea/lyang1/poky/scripts/runqemu", line 810, in setup_network self.setup_tap() File "/buildarea/lyang1/poky/scripts/runqemu", line 761, in setup_tap if self.acquire_lock(): File "/buildarea/lyang1/poky/scripts/runqemu", line 182, in acquire_lock lock_descriptor = open(self.lock, 'w') PermissionError: [Errno 13] Permission denied: '/tmp/qemu-tap-locks/tap0.lock' Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/pax-utils')
0 files changed, 0 insertions, 0 deletions