[Bug 2077603] Re: debsum of /usr/sbin/start-stop-daemon failed

Andreas Hasenack 2077603 at bugs.launchpad.net
Thu Oct 3 18:40:22 UTC 2024


Hi Simon, thanks for the verification.

You deviated a bit from the test plan, though, which uses the debsums
command instead of dpkg -V.

They presumably do the same thing with the same data, but that's now
something that I would have to check. Also, dpkg -V has this warning in
the manpage which I don't see in the debsums one:

   Currently the only functional check performed is an md5sum verification of the file contents against the 
   stored value in the files database.  It will  only  get checked if the database contains the file
   md5sum.  To check for any missing metadata in the database, the --audit command can be used.

So an absence of output does not necessarily indicate that the check is
OK.

Can you attest that the verification you performed is a direct
replacement of what was asked for in the test plan?

** Tags removed: verification-done-noble
** Tags added: verification-needed-noble

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to live-build in Ubuntu.
https://bugs.launchpad.net/bugs/2077603

Title:
  debsum of /usr/sbin/start-stop-daemon failed

Status in live-build package in Ubuntu:
  Fix Released
Status in live-build source package in Noble:
  Fix Committed

Bug description:
  [ Impact ]

  The bug causes debsums to fail on the binary file "/usr/sbin/start-
  stop-daemon" from package "dpkg", which is updated during live-build
  building livecd rootfs.

  [ Test Plan ]

  1. Use Launchpad livefs feature and enable proposed

  2. Build a Ubuntu livefs

  3. Mount minimal.squashfs

  4. run "sudo debsums --root [mount dir] -c", there should be no output
  (which indicates files failed to match the package)

  [ Where problems could occur ]

  For now, no idea where it could go wrong, as we are not using live-
  build across releases.

  [ Original Report ]

  The image generated by the live-build version in noble has an error
  that checksum of /usr/sbin/start-stop-daemon mismatched.

  According to build log, dpkg has been updated from 1.22.6ubuntu6 to
  1.22.6ubuntu6.1, however the checksum of the file "start-stop-daemon"
  matches the one from 1.22.6ubuntu6.

  Checking the log of live-build in Debian, they have fixed this issue
  by changing the dpkg-divert path from /sbin/start-stop-daemon to
  /usr/sbin/start-stop-daemon.  I am trying to fix this issue in this
  direction.

  Related: https://bugs.debian.org/1064408

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/live-build/+bug/2077603/+subscriptions




More information about the foundations-bugs mailing list