[issue38692] add a pidfd child process watcher

Chih-Hsuan Yen report at bugs.python.org
Fri Nov 22 07:30:23 EST 2019


Chih-Hsuan Yen <yan12125 at gmail.com> added the comment:

Thank you very much for the commit "Skip test_posix.test_pidfd_open() on EPERM"! I can confirm it makes test_posix pass inside a systemd-nspawn container on Arch Linux. On the other hand, I found that tests were broken as both systemd libseccomp on Arch Linux were out-dated. With recently-pushed systemd 243.162-2 and locally-updated libseccomp 2.4.2, os.pidfd_open() works fine. Apparently [1] and [2] are relevant fixes.

By the way, upgrading systemd and libseccomp also fixes test_signal.PidfdSignalTest [3], which is added two days ago [4].

[1] https://github.com/systemd/systemd-stable/commit/51ea58a04b1851b31a14dfa7eec76254f5ddef16
[2] https://github.com/seccomp/libseccomp/commit/be65b26b67099be2b2b4890d736dbd1ad15adf36
[3] https://github.com/python/cpython/pull/17290#issuecomment-556869679
[4] https://bugs.python.org/issue38712

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38692>
_______________________________________


More information about the Python-bugs-list mailing list