CHECK_COMPAT(1)
π CHECK_COMPAT β the check_compat era π
okay bestie, so this is section 1 of the manual, and we're about to find out if ur conf2 YAML files are actually compatible or just pretending π«Ά
β¨ NAME β¨
check_compat β sniffs out incompatible configurations in conf2 module YAML files π΅οΈβοΈπ
πΈ SYNOPSIS πΈ
check_compat -o OUTPUT_FILE [-h]
that's it. that's the whole vibe. one required thing, one optional thing. slay.
π¦ DESCRIPTION π¦
So like, this program scans conf2 module YAML files to find configurations that are, um, not compatible with each other. Not me being the compatibility police π
It runs validation checks against conf2 module specifications and then dumps all the issues it found into the results file you told it to use. iconic behaviour honestly.
π OPTIONS π
-h,--helpβ shows u the help message and then exits. the classic "wait what does this do" move π-o OUTPUT_FILE,--output OUTPUT_FILEβ tells it where to put the validation results. this one is REQUIRED, bestie, no skipping it π¨
π OPERATION π
Here's the little routine it does, step by step, main character energy only:
- Scans the current working directory and relevant system paths π
- Identifies conf2 module YAML configuration files π
- Validates configurations against compatibility rules β
- Writes detected issues to the specified output file π
π OUTPUT FORMAT π
The output file is giving:
- List of incompatible configurations π
- File paths where issues were detected π
- Specific configuration keys causing incompatibilities π
- Severity level for each issue β οΈ
β EXIT STATUS β
0β Success (no incompatible configurations found) π clean, no notes, we love to see it1β Validation errors detected π something's incompatible, the drama2β Execution error (invalid parameters or system issues) π¨ like, it couldn't even run properly
π§ EXAMPLES π§
Basic usage:
check_compat -o validation_results.txt
Check exit status:
$ check_compat -o report.log
$ echo $?
1 # indicates issues found
see that 1? yeah that means issues were found. the vibe check failed fr fr π
π₯ SEE ALSO π₯
conf2(1), yamllint(1)
go read those too, iykyk π
π DIAGNOSTICS π
The output file will contain stuff like this:
ERROR: Incompatible setting detected in /etc/conf2/app.yaml
Key: security.encryption_level
Current value: legacy
Required: modern
okay so lowkey this is the moment of truth β it literally tells u the file, the key, what u have, and what u need. no guessing required π«Ά
πΈ AUTHOR πΈ
UKUI Quality Assurance Team β shoutout to them, they're doing the lord's work π
and that's the whole page, babe! this was v1.0, dated 2025-07-24, from the CHECK_COMPAT(1) manual β Configuration Validation section. now go forth and validate those YAMLs πβ¨π¦
π¦ where this page comes from
- arch rolling: libkysdk-base 3.0.1.1-1 Β· Apache-2.0 AND LGPL-3.0-or-later AND MIT
- ubuntu resolute: libkysdk-base 3.0.1.2-0ubuntu1 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms