** Description changed:

+ [Impact]
+ Users are unable to install VirtualBox guest extensions amongst other 
packages, due to dd inadvertently not writing all file content to slow readers, 
resulting in the makeself archives failing their selfcheck.
+ 
+ [Test plan]
+ Get the ISO from the virtualbox-guest-additions-iso package, and try to run 
VBoxLinuxAdditions.run inside of it.
+ 
+ Failure: The script fails at the self-check
+ Verifying archive integritiy... 100% Error in MD5 checksums: ...
+ 
+ Pass: The script passes the self-check
+ Verifying archive integrity...  100%   MD5 checksums are OK. All good.
+ Uncompressing VirtualBox 7.2.2 Guest Additions for Linux  100%
+ 
+ To cover regressions, rust-coreutils contains a test suite and GNU
+ coreutils contain a test suite, which is also run against the Rust
+ coreutils and will be triggered by the test.
+ 
+ [Where problems could occur]
+ Given that this covers retrying, it's plausible it might retry indefinitely 
in some corner cases, but the change is minimal:
+ 
+ -                    // take iflags.fullblock as oflags shall not have this 
option
+ -                    if (base_idx >= full_len) || 
!self.settings.iflags.fullblock {
+ +                    if base_idx >= full_len {
+ 
+ It's essentially changing the behavior to be like fullblock for writes,
+ always, so it should be fine as you can already set this option.
+ 
+ [Original bug report]
  Still trying to find causes, but this sympton:
  
  for a 25.10 guest image, the virtualbox guest additions install
  (VBoxLinuxAdditions.run from the official ISO) fails checksum.  The
  Linux installer script is a makeself self-extracting archive (makeself
  is a Ubuntu package, though I don't know if the VirtualBox team uses
  Ubuntu to generate the archive). The output of trying to run this script
  is:
  
  # ./VBoxLinuxAdditions.run --noexec
  Verifying archive integritiy... 100% Error in MD5 checksums: 
c8ea742682d7024e581f916c763818c9 is different from 
201ccc47587bb1c28745279e8b7fdd30
  
  The 201ccc signature is the one embedded in the script. On a 25.04
  system, there is no checksum complaint:
  
  # ./VBoxLinuxAdditions.run --noexec
  Verifying archive integrity...  100%   MD5 checksums are OK. All good.
- Uncompressing VirtualBox 7.2.2 Guest Additions for Linux  100%  
+ Uncompressing VirtualBox 7.2.2 Guest Additions for Linux  100%
  
  I was sure this was due to the switchover of the waste-of-time coreutils
  rust rewrite (please ignore the editorial comment!)... but copying over
  coreutuils md5sum from 25.04 does not eliminate the error.
  
  Tar on both systems is 1.35.
  
  md5sum on today's (23 Sep) 25.10 reports: md5sum (uutils coreutils) 0.1.0
  on 25.04 where there's no failure it's: md5sum (GNU coreutils) 9.5
  but as noted, that exact binary moved to 25.10 to replace /usr/bin/md5sum 
does not improve matters there.

** Description changed:

  [Impact]
  Users are unable to install VirtualBox guest extensions amongst other 
packages, due to dd inadvertently not writing all file content to slow readers, 
resulting in the makeself archives failing their selfcheck.
  
  [Test plan]
  Get the ISO from the virtualbox-guest-additions-iso package, and try to run 
VBoxLinuxAdditions.run inside of it.
  
  Failure: The script fails at the self-check
  Verifying archive integritiy... 100% Error in MD5 checksums: ...
  
  Pass: The script passes the self-check
  Verifying archive integrity...  100%   MD5 checksums are OK. All good.
  Uncompressing VirtualBox 7.2.2 Guest Additions for Linux  100%
  
  To cover regressions, rust-coreutils contains a test suite and GNU
  coreutils contain a test suite, which is also run against the Rust
  coreutils and will be triggered by the test.
  
  [Where problems could occur]
  Given that this covers retrying, it's plausible it might retry indefinitely 
in some corner cases, but the change is minimal:
  
  -                    // take iflags.fullblock as oflags shall not have this 
option
  -                    if (base_idx >= full_len) || 
!self.settings.iflags.fullblock {
  +                    if base_idx >= full_len {
  
  It's essentially changing the behavior to be like fullblock for writes,
  always, so it should be fine as you can already set this option.
+ 
+ It seems the newly added tests in the test suite do not adequately test
+ the fix, this is still a point of contention for merging it upstream,
+ but must not block us from fixing this.
  
  [Original bug report]
  Still trying to find causes, but this sympton:
  
  for a 25.10 guest image, the virtualbox guest additions install
  (VBoxLinuxAdditions.run from the official ISO) fails checksum.  The
  Linux installer script is a makeself self-extracting archive (makeself
  is a Ubuntu package, though I don't know if the VirtualBox team uses
  Ubuntu to generate the archive). The output of trying to run this script
  is:
  
  # ./VBoxLinuxAdditions.run --noexec
  Verifying archive integritiy... 100% Error in MD5 checksums: 
c8ea742682d7024e581f916c763818c9 is different from 
201ccc47587bb1c28745279e8b7fdd30
  
  The 201ccc signature is the one embedded in the script. On a 25.04
  system, there is no checksum complaint:
  
  # ./VBoxLinuxAdditions.run --noexec
  Verifying archive integrity...  100%   MD5 checksums are OK. All good.
  Uncompressing VirtualBox 7.2.2 Guest Additions for Linux  100%
  
  I was sure this was due to the switchover of the waste-of-time coreutils
  rust rewrite (please ignore the editorial comment!)... but copying over
  coreutuils md5sum from 25.04 does not eliminate the error.
  
  Tar on both systems is 1.35.
  
  md5sum on today's (23 Sep) 25.10 reports: md5sum (uutils coreutils) 0.1.0
  on 25.04 where there's no failure it's: md5sum (GNU coreutils) 9.5
  but as noted, that exact binary moved to 25.10 to replace /usr/bin/md5sum 
does not improve matters there.

** Also affects: makeself (Ubuntu Resolute)
   Importance: Undecided
       Status: Confirmed

** Also affects: rust-coreutils (Ubuntu Resolute)
   Importance: High
     Assignee: Julian Andres Klode (juliank)
       Status: Triaged

** Also affects: coreutils-from (Ubuntu Resolute)
   Importance: High
       Status: Confirmed

** Also affects: makeself (Ubuntu Questing)
   Importance: Undecided
       Status: New

** Also affects: rust-coreutils (Ubuntu Questing)
   Importance: Undecided
       Status: New

** Also affects: coreutils-from (Ubuntu Questing)
   Importance: Undecided
       Status: New

** Changed in: rust-coreutils (Ubuntu Resolute)
       Status: Triaged => Fix Committed

** Changed in: rust-coreutils (Ubuntu Resolute)
    Milestone: ubuntu-25.10 => None

** No longer affects: coreutils-from (Ubuntu)

** No longer affects: coreutils-from (Ubuntu Questing)

** No longer affects: coreutils-from (Ubuntu Resolute)

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

Title:
  makeself archive failing md5sum validation [dd: partial write to slow
  reader]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/2125535/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to