Repository navigation
ci: fix sshd password auth in the release .deb test - #49
Merged
Merged
Conversation
The v0.8.0 release run failed in the .deb functional test: all four test SSH logins failed at once and no PAM auth event reached the journal, so no alerts were sent and the repo publish was skipped. The test enabled PasswordAuthentication by editing sshd_config, which a drop-in under sshd_config.d overrides. Set it in a 00- drop-in, check the effective value with sshd -T, and print ssh client and sshd output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The v0.8.0 release run failed in Test .deb (install + functional + uninstall): every test SSH login was refused before reaching PAM, so no auth event and no webhook alert were produced, and Publish signed apt+dnf repo was skipped. The release and its 22 assets are on GitHub, but apt/dnf users do not have 0.8.0 yet.
The test enabled
PasswordAuthenticationby editingsshd_config, which a drop-in undersshd_config.doverrides (first value wins and the include comes first). Now:/etc/ssh/sshd_config.d/00-pamsignal-test.conf(password auth on, keyboard-interactive off so the method stayspasswordas the ECS check expects,UsePAM yes,AllowUsers testpamuser);sshd -Tdoes not showpasswordauthentication yes;No change to pamsignal itself.
Test plan
workflow_dispatchfrom this branch withref=v0.8.0,attach_to_release=false: every build and test job green, publish skipped as intended (run 45427749805).gh workflow run release-packages.yml --ref main -f ref=v0.8.0 -f attach_to_release=trueto publish 0.8.0 to the apt/dnf repo.🤖 Generated with Claude Code