-
Notifications
You must be signed in to change notification settings - Fork 19
More log output when swtpm configuration fails #891
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
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideEnhances diagnostic output in the swtpm configuration tests by adding a helper to collect service logs and listing TPM devices, and invoking it when the TPM emulator fails to start. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
ls -l /dev/tpm* | ||
rlServiceStart ${TPM_EMULATOR}${SUFFIX} | ||
rlRun "limeTPMDevNo=${NEW_TPM_DEV_NO} limeWaitForTPMEmulator" | ||
[ $? -eq 0 ] || print_swtpm_service_debug_logs ${TPM_EMULATOR}${SUFFIX} |
Check warning
Code scanning / shellcheck
SC2181 Warning test
ls -l /dev/tpm* | ||
rlServiceStart ${TPM_EMULATOR_BAD_EK}${SUFFIX} | ||
rlRun "limeTPMDevNo=${NEW_TPM_DEV_NO} limeWaitForTPMEmulator" | ||
[ $? -eq 0 ] || print_swtpm_service_debug_logs ${TPM_EMULATOR_BAD_EK}${SUFFIX} |
Check warning
Code scanning / shellcheck
SC2181 Warning test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary by Sourcery
Provide additional debug output for swtpm configuration failures by printing /dev/tpm* listings and service journal logs when emulator startup fails
Enhancements: