From ebb730b96ded7674994235340c0d4a39af174f52 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Fri, 24 Oct 2025 23:40:12 +0200 Subject: [PATCH] TEST-35-LOGIN: test coldplug without fdstore on kernels with pidfd id --- test/units/TEST-35-LOGIN.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/units/TEST-35-LOGIN.sh b/test/units/TEST-35-LOGIN.sh index 56059ee5e49..813ea593803 100755 --- a/test/units/TEST-35-LOGIN.sh +++ b/test/units/TEST-35-LOGIN.sh @@ -32,13 +32,15 @@ Environment=SYSTEMD_LOG_LEVEL=debug EOF # We test "coldplug" (completely stop and start logind) here. So we need to preserve - # the fdstore, which might contain session leader pidfds. This is extremely rare use case - # and shall not be considered fully supported. + # the fdstore, which might contain session leader pidfds, but only if pidfd id isn't + # a thing. This is extremely rare use case and shall not be considered fully supported. # See also: https://github.com/systemd/systemd/pull/30610#discussion_r1440507850 - systemctl edit --runtime --stdin systemd-logind.service --drop-in=fdstore-preserve.conf <