very long systemd journal log breaks systemcheck

sudo systemcheck --gui --cli --verbose --debug

INFO: Check sudo Result: OK 
INFO: Whonix build version: 3:8.1-1 
INFO: whonix-workstation-packages-dependencies-cli: 22.5-1 
INFO: derivative_major_release_version /etc/whonix_version: 16 
INFO: Whonix Support Status of this Major Version: Ok. 
INFO: Hardened Malloc: Hardened Malloc Light version enabled. 
INFO: Spectre Meltdown Test: skipping since spectre_meltdown_check=false, ok. 
INFO: Package Manager Consistency Check Result: Output of command dpkg --audit was empty, ok. 
ERROR: ############################################################################### 
## systemcheck script bug. 
## No panic. Nothing is broken. Just some rare condition has been hit. 
## Try again later. There is likely a solution for this problem. 
## Please see Whonix News, Whonix Blog and Whonix User Help Forum. 
## Please report this bug! 
## 
## who_ami: systemcheck 
## identifier: 
## IDENTIFIER: systemcheck 
## exit_code: 126 
## error_cause: error_handler signal ERR detected with BASH_COMMAND: $output_tool --identifier "$IDENTIFIER" --whoami "$who_ami" "$@" 
## 
## Experts only: 
## bash -x systemcheck --verbose 
## for verbose output. Clean the output and report to Whonix developers. 
#########################################################################

Got same error message in whonix-ws

1 Like

Cant paste it here nor on online bins, But i think this should be reproducible on your end. cc @Patrick

Here i have uploaded the output as a text file:

1 Like

This was happening because the systemd journal log was very long and containing a large amount of unrelated error. systemcheck attempted to show these errors in its results window, which failed because msgcollector (the GUI/CLI toolkit library that systemcheck is using) didn’t check ARG_MAX. Hence, it was automatically rejected by the shell. This has been fixed in git:

Also implemented a new check in systemcheck (only to be run manually):

systemcheck --function check_arg_max
1 Like