dracut 060+5-1ubuntu1 autopkgtest fails against systemd 255.2-3ubuntu2

Bug #2053057 reported by Nick Rosbrook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dracut (Ubuntu)
Fix Released
High
Nick Rosbrook

Bug Description

Link to failing test: https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/amd64/d/dracut/20240208_210432_ab1f6@/log.gz

The relevant part is:

450s **************************FAILED**************************
450s ● ldconfig.service loaded failed failed Rebuild Dynamic Linker Cache
450s **************************FAILED**************************
450s made it to the rootfs!
450s Powering down.
450s Powering off.

450s CLIENT TEST END: no option specified [FAILED]
450s make[1]: *** [../Makefile.testdir:4: all] Error 1
450s TEST: Full systemd serialization/deserialization test with /usr mount  [FAILED] 
450s see /tmp/autopkgtest.teLKp1/autopkgtest_tmp/dracut-test.SuvoTJYPLA/TEST-04-FULL-SYSTEMD/test.log
450s make[1]: Leaving directory '/tmp/autopkgtest.teLKp1/autopkgtest_tmp/dracut-test.SuvoTJYPLA/TEST-04-FULL-SYSTEMD'
450s make: *** [Makefile:4: TEST-04-FULL-SYSTEMD] Error 2
450s make: Leaving directory '/tmp/autopkgtest.teLKp1/autopkgtest_tmp/dracut-test.SuvoTJYPLA'
450s autopkgtest [20:53:12]: test upstream-dracut-core: -----------------------]

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

Through debugging (adding systemctl status output), I found that the service is failing with:

**************************FAILED**************************
● ldconfig.service loaded failed failed Rebuild Dynamic Linker Cache
× ldconfig.service - Rebuild Dynamic Linker Cache
     Loaded: loaded (/usr/lib/systemd/system/ldconfig.service; static)
     Active: failed (Result: exit-code) since Tue 2024-02-13 15:24:24 UTC; 3s ago
       Docs: man:ldconfig(8)
    Process: 504 ExecStart=/sbin/ldconfig -X (code=exited, status=127)
   Main PID: 504 (code=exited, status=127)
        CPU: 134ms

Feb 13 15:24:23 localhost systemd[1]: Starting ldconfig.service - Rebuild Dynamic Linker Cache...
Feb 13 15:24:24 localhost ldconfig[504]: /sbin/ldconfig: 16: exec: /sbin/ldconfig.real: not found
Feb 13 15:24:24 localhost systemd[1]: ldconfig.service: Main process exited, code=exited, status=127/n/a
Feb 13 15:24:24 localhost systemd[1]: ldconfig.service: Failed with result 'exit-code'.
Feb 13 15:24:24 localhost systemd[1]: Failed to start ldconfig.service - Rebuild Dynamic Linker Cache.
**************************FAILED**************************
made it to the rootfs!
Powering down.
Powering off.
CLIENT TEST END: no option specified [FAILED]
TEST: Full systemd serialization/deserialization test with /usr mount [FAILED]
see /tmp/autopkgtest.lXmju4/autopkgtest_tmp/dracut-test.G6dchPAqBK/TEST-04-FULL-SYSTEMD/test.log
make[1]: Leaving directory '/tmp/autopkgtest.lXmju4/autopkgtest_tmp/dracut-test.G6dchPAqBK/TEST-04-FULL-SYSTEMD'
make: Leaving directory '/tmp/autopkgtest.lXmju4/autopkgtest_tmp/dracut-test.G6dchPAqBK'
make[1]: *** [../Makefile.testdir:4: all] Error 1
make: *** [Makefile:4: TEST-04-FULL-SYSTEMD] Error 2
autopkgtest [10:24:29]: test upstream-dracut-core: -----------------------]

This can be fixed by installing ldconfig.real wherever ldconfig is needed.

Changed in dracut (Ubuntu):
status: New → In Progress
assignee: nobody → Nick Rosbrook (enr0n)
importance: Undecided → High
Revision history for this message
Nick Rosbrook (enr0n) wrote :
Changed in dracut (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dracut - 060+5-1ubuntu2

---------------
dracut (060+5-1ubuntu2) noble; urgency=medium

  * d/p/ldconfig-real.patch: make sure ldconfig.real is installed where needed
    (LP: #2053057)

 -- Nick Rosbrook <email address hidden> Tue, 13 Feb 2024 11:26:56 -0500

Changed in dracut (Ubuntu):
status: Fix Committed → Fix Released
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.