Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qvm-copy reports incorrect size of the copied file #9408

Closed
tvondra opened this issue Aug 15, 2024 · 3 comments
Closed

qvm-copy reports incorrect size of the copied file #9408

tvondra opened this issue Aug 15, 2024 · 3 comments
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: core diagnosed Technical diagnosis has been performed (see issue comments). P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@tvondra
Copy link

tvondra commented Aug 15, 2024

How to file a helpful issue

Qubes OS release

4.2.2

Brief summary

When copying file using qvm-copy from the terminal, the reported total file size is incorrect - it appends KB to size in bytes.

Steps to reproduce

Just try copying arbitrary file using qvm-copy, compare the file size.

Expected behavior

$ ls -l myfile
-rw-r--r--. 1 user user 3297676762 Aug 15 12:07 myfile

sent 0/3220388 KB
sent 3220388/3220388 KB

Actual behavior

$ ls -l myfile
-rw-r--r--. 1 user user 3297676762 Aug 15 12:07 myfile

$ myfile
sent 0/3297676762 KB
sent 3220388/3297676762 KB

@tvondra tvondra added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Aug 15, 2024
@alimirjamali
Copy link

alimirjamali commented Aug 15, 2024

This might be fixed here.

What is the version of qubes-core-agent on your templates? The fix is applied to v4.3.5. You could find the version by

dnf info qubes-core-agent

@tvondra
Copy link
Author

tvondra commented Aug 15, 2024

Yeah, that fix seems relevant.

My qubes-core-agent version was 4.2.35, and that misbehaved. But I just updated/restarted the appVM, which upgraded the package to 4.2.36, and that seems to report the correct size.

@andrewdavidwong andrewdavidwong added C: core diagnosed Technical diagnosis has been performed (see issue comments). affects-4.2 This issue affects Qubes OS 4.2. labels Aug 16, 2024
@andrewdavidwong
Copy link
Member

Closing as completed. If anyone believes this issue is not yet completed, or if anyone is still affected by this issue, please leave a comment, and we'll be happy to reopen it. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: core diagnosed Technical diagnosis has been performed (see issue comments). P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

3 participants