Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upfile copied using qvm-copy-to-vm probably ended up corrupted #2508
Comments
tezeb
changed the title from
qvm-copy-to-vm may corrupt file being copied
to
file copied using qvm-copy-to-vm probably ended up corrupted
Dec 9, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Dec 9, 2016
Member
I appreciate the effort you put into careful checking, but I think that, in order for us to accept this as a Qubes bug, we're going to need a much simpler example that isolates qvm-copy-to-vm as the only variable.
The only other possibility that comes to my mind is that
ddcorrupted file while appending it, as that's the step I am not able to prove.
Have you tried using cat to merge the files instead?
|
I appreciate the effort you put into careful checking, but I think that, in order for us to accept this as a Qubes bug, we're going to need a much simpler example that isolates
Have you tried using |
andrewdavidwong
added
the
C: core
label
Dec 10, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Closing due to lack of response. |
tezeb commentedDec 9, 2016
This probably will be hard to reproduce. When working on Qubes 3.2 and copying multiple files, it happened (so far once) that one of files being copied got corrupted. Files were copied between archlinux templates(if that matters).
Setup:
Trying to copy 3 files using following command:
Due to size limitation of SD-card filesystem(FAT32), file
img_all.tar.gzwas split into two chunks, so after copying to target-vm I reconstructed it using following command.File sizes were OK, but checking
sha256sum img_all.tar.gzgives invalid result(also gzip errors-out with crc-error). At this point I verified merging point of files(using hexdump). I also checkedsha256sumof original files, files on SD-card and copies in target-vm. The only file(or actually part of it), that didn't match was first part ofimg_all.tar.gz:Copied again using
qvm-copy-to-vm target-vm img_all.tar.gz.General notes:
I do understand that this sounds murky at best, but I've analyzed carefully possible issues on my('user') side. The only other possibility that comes to my mind is that
ddcorrupted file while appending it, as that's the step I am not able to prove.