dracut initramfs missing systemd-executor

Bug #2052525 reported by Nick Rosbrook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dracut (Ubuntu)
Fix Released
Medium
Nick Rosbrook
systemd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The dracut autopkgtest fails when run against systemd v255.2-3ubuntu2. This looks to be the problem:

504s Failed to stat /etc/localtime, ignoring: No such file or directory

504s /etc/localtime doesn't exist yet, watching /etc instead.

504s Failed to open executor binary '/usr/lib/systemd/systemd-executor': No such file or directory

504s Failed to allocate manager object: No such file or directory

504s [!!!!!!] Failed to allocate manager object.

504s Rebooting in 10s...

514s Rebooting now...

514s [ 12.571123] ACPI: PM: Preparing to enter system sleep state S5
514s [ 12.573098] reboot: Restarting system
514s [ 12.574688] reboot: machine restart
515s TEST: root filesystem on a ext3 filesystem  [FAILED] 
515s see /tmp/autopkgtest.Vd8poK/autopkgtest_tmp/dracut-test.Fz28KvLkEv/TEST-01-BASIC/test.log
515s make[1]: Leaving directory '/tmp/autopkgtest.Vd8poK/autopkgtest_tmp/dracut-test.Fz28KvLkEv/TEST-01-BASIC'
515s make[1]: *** [../Makefile.testdir:4: all] Error 1
515s make: *** [Makefile:4: TEST-01-BASIC] Error 2
515s make: Leaving directory '/tmp/autopkgtest.Vd8poK/autopkgtest_tmp/dracut-test.Fz28KvLkEv'
515s autopkgtest [03:42:52]: test upstream-dracut-core: -----------------------]

I.e., the systemd-executor binary (which is new in systemd v255) is not copied into the initramfs. This has already been fixed in upstream dracut.

[1] https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-noble/noble/amd64/d/dracut/20240203_093708_6cc09@/log.gz
[2] https://github.com/dracutdevs/dracut/commit/bee1c4824a8cd47ce6c01892a548bdc07b1fa678

Revision history for this message
Nick Rosbrook (enr0n) wrote :

The failing autopkgtest blocks systemd from migrating at the moment.

Changed in systemd (Ubuntu):
status: New → Invalid
tags: added: update-excuse
Nick Rosbrook (enr0n)
Changed in dracut (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Nick Rosbrook (enr0n)
Nick Rosbrook (enr0n)
Changed in systemd (Ubuntu):
status: Invalid → New
Revision history for this message
Benjamin Drung (bdrung) wrote :

dracut 060+5-1ubuntu1 fixes the /usr/lib/systemd/systemd-executor failure, but still seems to fail with the new systemd version.

Revision history for this message
Benjamin Drung (bdrung) wrote :

060+5-1ubuntu2 landed in noble.

Changed in dracut (Ubuntu):
status: In Progress → Fix Released
Changed in systemd (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.