Description of problem: Typo error in virt-dib man page: manual page | wrong word | correct word -------------+-----------------------------------------------+------------- virt-dib | The supported checksums are MD5, and SHA256. | The supported checksums are MD5, and SHA512. The word "SHA256" should be replaced with "SHA512" in this sentence because it actually output the sha512 checksum file. It's under the --checksum part. Version-Release number of selected component (if applicable): virt-dib-1.36.1-1.el7.x86_64 How reproducible: 100% Steps: Actual results: Expected results: Additional info:
Actually, the documentation is correct, but I made a typo in the list of checksums to generate: diskimage-builder generates SHA256 (in addition to MD5), so that is what virt-dib should generate as well as result of --checksum. Fixed upstream with https://github.com/libguestfs/libguestfs/commit/ba52e0a217e3d78c9a0e4d51240674e832a22619
Verified with package: virt-dib-1.36.2-1.el7.x86_64 Steps: 1. Build fedora22 with --checksum: # virt-dib -B /usr/share/diskimage-builder/lib -p /usr/share/diskimage-builder/elements --envvar DIB_RELEASE=22 --name fedora22 fedora vm --checksum 2. Check the sha256 file has been generated successfully: # ls fedora22.d fedora22.qcow2 fedora22.qcow2.md5 fedora22.qcow2.sha256 # cat fedora22.qcow2.sha256 6fc4ce325dddbaa8de0fa08a2b603d3be70910e0d5d7c9b8c0050fc1b6213993 fedora22.qcow2 So verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2023