Summary: | sys-apps/systemd test-mountpoint-util and test-process-util fail with FEATURES="pid-sandbox" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Gilbert <floppym> |
Component: | Current packages | Assignee: | Gentoo systemd Team <systemd> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dev-portage, jorge+git, kevinlyles, mgorny, pacho, paolo.pedroni |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/systemd/systemd/pull/11504 https://github.com/systemd/systemd/issues/11505 https://bugs.gentoo.org/show_bug.cgi?id=682468 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mike Gilbert
2019-01-03 21:30:54 UTC
Can't say about the first one but the second one seems to be bug in systemd that presumes PID 1 will always be running as root. (In reply to Michał Górny from comment #1) Thanks, I sent a patch for this upstream. I reported the test-mountpoint-util failure upstream. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbfc31dfa14baf5547ef2576193ae8c912b609b7 commit bbfc31dfa14baf5547ef2576193ae8c912b609b7 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2019-04-13 13:42:42 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-04-13 13:43:07 +0000 sys-apps/systemd: add warning about failing tests with pid-sandbox Bug: https://bugs.gentoo.org/674458 Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/systemd/systemd-241-r1.ebuild | 5 +++++ sys-apps/systemd/systemd-242.ebuild | 5 +++++ sys-apps/systemd/systemd-9999.ebuild | 5 +++++ 3 files changed, 15 insertions(+) Still true with systemd-244.3 *** Bug 825738 has been marked as a duplicate of this bug. *** After commit 9ce3c8d9dc48ad9d386d0e540c56f5a28d11553b Author: Mike Gilbert <floppym@gentoo.org> Date: Tue Apr 16 17:32:08 2024 -0400 sys-apps/systemd: add some sandbox predicts for tests Signed-off-by: Mike Gilbert <floppym@gentoo.org> I now just get Summary of Failures: 804/1185 systemd:test / test-process-util FAIL 0.24s killed by signal 6 SIGABRT It'd be great if we could skip that one too as then automated AT would work. (In reply to Sam James from comment #7) > It'd be great if we could skip that one too as then automated AT would work. Does meson offer some way to skip specific tests? I don't see anything obvious. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=867009193d04369c4ca3d9f0af26c72c8ca9b82f commit 867009193d04369c4ca3d9f0af26c72c8ca9b82f Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2024-04-18 04:19:21 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-04-18 04:19:21 +0000 sys-apps/systemd: make test-process-util work with pid-sandbox Closes: https://bugs.gentoo.org/674458 Signed-off-by: Mike Gilbert <floppym@gentoo.org> .../systemd/files/systemd-test-process-util.patch | 30 ++++++++++++++++++++++ sys-apps/systemd/systemd-254.10.ebuild | 6 +---- sys-apps/systemd/systemd-255.4.ebuild | 8 ++---- sys-apps/systemd/systemd-9999.ebuild | 6 +---- 4 files changed, 34 insertions(+), 16 deletions(-) |