• v0.5.1 fba20eb0f6

    Traven released this 2026-10-28 02:19:25 +00:00 | 24 commits to main since this release

    Patch release: if an SSH reload failed and was reverted, sshd could stay stopped. The revert now restarts a failed SSH unit, and apply checks that sshd is still running after the reload. Upgrade recommended for everyone on 0.5.0.

    Released 2026-10-28.

    Fixed

    • SSH stayed down after a failed reload was reverted: a failed try-reload-or-restart leaves ssh.service failed, and the revert's own try-reload-or-restart skips failed units. The revert now resets and restarts a failed SSH unit. Apply also checks that sshd is still running 1 second after the reload, because systemd reports a SIGHUP reload done before sshd re-execs, and the re-exec can still die (seen on Debian 13 with ssh.socket and ssh.service both started).

    Install

    Prebuilt binaries are published for the latest release only. Use the latest release, or build this tag from source:

    git clone --branch v0.5.1 https://git.sudosecurity.org/sudosecurity/hardline.git && cd hardline
    cargo build --release --locked
    

    Full changelog: https://git.sudosecurity.org/sudosecurity/hardline/compare/v0.5.0...v0.5.1

    Downloads