[issue7497] configure test for posix_semaphore capability leaves semaphore behind, on linux causing test to fail for other users

R. David Murray report at bugs.python.org
Sun Dec 13 21:53:15 CET 2009


New submission from R. David Murray <rdmurray at bitdance.com>:

autoconf tries to open a semaphore (/autoconf) to find out if posix
semaphores are available and working.  On linux, a file 'sem.autoconf'
is left behind in /dev/shm, owned by the user running autoconf.  If any
other user on the system compiles python, the autoconf tests will fail
to open this file (which is rw to the owner only), and the resulting
python will claim that the system has a broken semaphore implementation.

----------
components: Interpreter Core
keywords: easy
messages: 96352
nosy: mark.dickinson, r.david.murray
priority: high
severity: normal
stage: needs patch
status: open
title: configure test for posix_semaphore capability leaves semaphore behind, on linux causing test to fail for other users
type: compile error
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7497>
_______________________________________


More information about the Python-bugs-list mailing list