[pkg-lxc-devel] Bug#1135733: python3-lxc: attach_wait fails with "PyMutex_Unlock: unlocking mutex that is not locked"

David Wagner david.wagner at makina-corpus.com
Tue May 5 11:30:31 BST 2026


Package: python3-lxc
Version: 1:5.0.0-2+b3
Severity: important
Tags: patch
X-Debbugs-Cc: david.wagner at makina-corpus.com

Dear Maintainer,

I tried to use this module to run a command within an LXC container (using the
`attach_wait` method) but it fails under trixie with:

> PyMutex_Unlock: unlocking mutex that is not locked

The same process works under bookworm (where the version of the package is the
same).

Upstream is aware of this issue and has already fixed it:
https://github.com/lxc/python3-lxc/issues/35 but haven't made a new release
since then.


-- System Information:
Debian Release: 13.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.74+deb13+1-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-lxc depends on:
ii  libc6       2.41-12+deb13u2
ii  liblxc1t64  1:6.0.4-4+deb13u2+b1
ii  python3     3.13.5-1

python3-lxc recommends no packages.

python3-lxc suggests no packages.

-- no debconf information



More information about the Pkg-lxc-devel mailing list