Skip to content

Conversation

@j4b6ski
Copy link
Contributor

@j4b6ski j4b6ski commented Jan 19, 2025

We currently don't pass enough cmdline arguments to sio2jail self-check,
which makes it fail erroneously on some system configurations.
This change prevents that from happening, by using Sio2jailExecutor to
run the self check.

Notably this change required adding the original cmdline to
ExecutionResult for logging errors later - this feels like a leaky
abstraction, but that class actually already carries the process exit
signal and stderr.

Also improved sio2jail related error messages for better user experience.

We currently don't pass enough cmdline arguments to sio2jail self-check,
which makes it fail erroneously on some system configurations.
This change prevents that from happening, by using Sio2jailExecutor to
run the self check.

Notably this change required adding the original cmdline to
ExecutionResult for logging errors later - this feels like a leaky
abstraction, but that class actually already carries the process exit
signal and stderr.

Also improved sio2jail related error messages for better user experience.
@j4b6ski
Copy link
Contributor Author

j4b6ski commented Jan 19, 2025

improved error messages
Screenshot 2025-01-19 154842
Screenshot 2025-01-19 154902
Screenshot 2025-01-19 155829

@MasloMaslane MasloMaslane merged commit e592a2d into sio2project:main Jan 20, 2025
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants