This bug was fixed in the package systemd - 257.9-0ubuntu2 --------------- systemd (257.9-0ubuntu2) questing; urgency=medium
* basic: validate timezones in get_timezones() (LP: #2125405) * debian/libnss-systemd.nss: install after 'compat' too (LP: #2125403) * d/t/boot-and-services: use coreutils tunable in apparmor test (LP: #2125614) * d/t/upstream: use GNU cp in test setup (LP: #2122363) -- Nick Rosbrook <[email protected]> Thu, 25 Sep 2025 12:45:39 -0400 ** Changed in: systemd (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Debcrafters packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/2125614 Title: boot-and-services: FAIL: test_profile (__main__.AppArmorTest.test_profile) Status in systemd package in Ubuntu: Fix Released Bug description: 899s ====================================================================== 899s FAIL: test_profile (__main__.AppArmorTest.test_profile) 899s AppArmor confined unit 899s ---------------------------------------------------------------------- 899s Traceback (most recent call last): 899s File "/tmp/autopkgtest.BE8zv7/build.fTo/src/debian/tests/boot-and-services", line 269, in test_profile 899s self.assertIn('inactive', out) 899s ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 899s AssertionError: 'inactive' not found in "× violator.service - AppArmor test\n Loaded: loaded (/run/systemd/system/violator.service; static)\n Active: failed (Result: exit-code) since Tue 2025-09-23 14:43:46 UTC; 8ms ago\n Duration: 21ms\n Invocation: 74779bd28b034c1d8c62d034e6f1d3ec\n Process: 1524 ExecStart=/bin/sh -euc echo CP1; cat /etc/machine-id; echo CP2; if cat /etc/passwd; then exit 1; fi; echo CP3 (code=exited, status=126)\n Main PID: 1524 (code=exited, status=126)\n Mem peak: 1.7M\n CPU: 3ms\n\nSep 23 14:43:46 autopkgtest systemd[1]: Started violator.service - AppArmor test.\nSep 23 14:43:46 autopkgtest sh[1524]: CP1\nSep 23 14:43:46 autopkgtest sh[1526]: /bin/sh: 1: cat: Permission denied\nSep 23 14:43:46 autopkgtest systemd[1]: violator.service: Main process exited, code=exited, status=126/n/a\nSep 23 14:43:46 autopkgtest systemd[1]: violator.service: Failed with result 'exit-code'.\n" 899s 899s ---------------------------------------------------------------------- 899s Ran 21 tests in 7.258s 899s This appears to be related to the apparmor/coreutils churn. https://autopkgtest.ubuntu.com/results/autopkgtest- questing/questing/amd64/s/systemd/20250923_120028_eface@/log.gz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2125614/+subscriptions -- Mailing list: https://launchpad.net/~debcrafters-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~debcrafters-packages More help : https://help.launchpad.net/ListHelp

