Summary: | =sys-apps/portage-3.0.62 on musl fails to create namespaces but mangles live system (was: creates a lot of 'proc on /proc type proc (rw,relatime)') | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Agostino Sarubbo <ago> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | enigmaticsmile, zmedico |
Priority: | Normal | Keywords: | InVCS, REGRESSION |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/gentoo/portage/pull/1279 https://bugs.gentoo.org/show_bug.cgi?id=925420 https://bugs.gentoo.org/show_bug.cgi?id=927059 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 925214 | ||
Bug Blocks: |
Description
Agostino Sarubbo
![]() Hmm, I wonder if we should add a libc.so fallback like https://github.com/psycopg/psycopg/pull/725. *** Bug 925420 has been marked as a duplicate of this bug. *** The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=3f4250dc7d32e9915224b1c9c4bc04c2740abcda commit 3f4250dc7d32e9915224b1c9c4bc04c2740abcda Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2024-02-23 20:35:04 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2024-02-24 20:07:39 +0000 process.spawn: Fix logic for missing libc.unshare on musl Fix unshare_* variables to be False when the libc is missing, libc.unshare is missing, or libc.unshare fails. Also, if socket.sethostname is missing then _exec2 needs libc for the network-sandbox sethostname call which is wrapped by a blanket Exception handler. Fixes: 419cce79f908 ("process._exec: Use _start_fork for os.fork() error handling") Bug: https://bugs.gentoo.org/925311 Signed-off-by: Zac Medico <zmedico@gentoo.org> lib/portage/process.py | 213 +++++++++++++++++++++++++------------------------ 1 file changed, 110 insertions(+), 103 deletions(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ad9d3103abc02f60d9e123ae21fa4a2e69b7e38 commit 6ad9d3103abc02f60d9e123ae21fa4a2e69b7e38 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-02-25 08:32:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-02-25 08:32:47 +0000 sys-apps/portage: add 3.0.63 Closes: https://bugs.gentoo.org/925214 Closes: https://bugs.gentoo.org/651018 Closes: https://bugs.gentoo.org/922935 Closes: https://bugs.gentoo.org/925240 Closes: https://bugs.gentoo.org/925311 Closes: https://bugs.gentoo.org/925333 Closes: https://bugs.gentoo.org/925350 Closes: https://bugs.gentoo.org/925456 Closes: https://bugs.gentoo.org/925460 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/portage/Manifest | 1 + sys-apps/portage/portage-3.0.63.ebuild | 246 +++++++++++++++++++++++++++++++++ 2 files changed, 247 insertions(+) |