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

Yao Wei 2077603 at bugs.launchpad.net
Fri Aug 23 05:32:20 UTC 2024


** Description changed:

  [ 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. Chroot into minimal.squashfs
+ 3. Mount minimal.squashfs
  
- 4. run debsums -c to check the checksum, there should be no output
- (which indicates files failed to match the package)
+ 4. run "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

** Description changed:

  [ 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 "debsums --root [mount dir] -c", there should be no output (which
- indicates files failed to match the package)
+ 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

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2077603

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

Status in live-build package in Ubuntu:
  In Progress
Status in live-build source package in Noble:
  New

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 Ubuntu-sponsors mailing list