The bug was not fixed completely. rust-coreutils’s dd still suffers from
partial writes/reads.

Running makeself packages with the --noprogress flag fails the MD5
check:

./VirtualBox-7.2.4-170995-Linux_amd64.run --noprogress
Verifying archive integrity...Error in MD5 checksums: 
9dc82c07dffca651393b0b6c298b1808 is different from 
693ffa7cb191f04d9eb0ded99a6e7c96

It can also be easily reproduced in the following way.
First run:
dd if=/dev/random count=1 | dd of=/dev/null count=1
0+1 records in
0+1 records out
216 bytes copied, 0.00075778 s, 216 kB/s
1+0 records in
1+0 records out
512 bytes copied, 0.00035847 s, 512 kB/s

Second run:
dd if=/dev/random count=1 | dd of=/dev/null count=1
1+0 records in
1+0 records out
0+1 records in
0+1 records out
512 bytes copied, 0.000438973 s, 512 kB/s
254 bytes copied, 0.000450006 s, 254 kB/s

Note: Each run reports a different number of bytes copied.

-- 
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