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

tb-updater failing during Qubes build process #8573

Open
adrelanos opened this issue Oct 7, 2023 · 0 comments
Open

tb-updater failing during Qubes build process #8573

adrelanos opened this issue Oct 7, 2023 · 0 comments
Labels
C: builder Qubes Builder needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. 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

@adrelanos
Copy link
Member

Build QubesOS/updates-status#4080 was failing for mysterious reasons.

The last build succeeded. (With verbose mode enabled, which cannot become the final package version.)

Did anything related to build machine setup change?

It's a bit difficult to get to the button of of this. I was never able to reproduce this locally. Making a change and then issuing a new build command isn't very productive.

Only happening on this build server. Can you run manually commands on the server to simulate the environment? Or some other suggestion so I can iterate and test faster?

I disabled use of /usr/libexec/helper-scripts/curl-prgrs. Maybe something curl-prgrs does with streams (stdout, stderr) gets disrupted?

By carefully reading curl man page option --max-filesize one can conclude that it doesn't protest against an endless data attack (as described in the TUF threat model). curl-prgrs provides a nice progress bar (useful in terminal, not so much during Qubes build process) as well as environment variable CURL_PRGRS_MAX_FILE_SIZE_BYTES that can be used to prevent an endless data attack (or remote server bug). So I'd hope the functionality of curl-prgrs (progress bar + endless data attack/bug defense) can be kept. Replacing curl-prgrs with a more elegant and less code solution would be fine but that's hard, unrealistic.

@adrelanos adrelanos 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 Oct 7, 2023
@andrewdavidwong andrewdavidwong added C: builder Qubes Builder needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Oct 8, 2023
@andrewdavidwong andrewdavidwong changed the title tb-updater during Qubes build process failing issue tb-updater failing during Qubes build process Oct 8, 2023
@andrewdavidwong andrewdavidwong changed the title tb-updater failing during Qubes build process tb-updater failing during Qubes build process Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: builder Qubes Builder needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. 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

2 participants