Skip to content

chore: cut 0.4.1 release - #19

Merged
anhtuank7c merged 2 commits into
mainfrom
chore/release-0.4.1
May 12, 2026
Merged

anhtuank7c merged 2 commits into
mainfrom
chore/release-0.4.1

Conversation

@anhtuank7c

Copy link
Copy Markdown
Owner

Summary

Patch release packaging the four Unreleased items into 0.4.1, plus one new doc clarification.

Two commits:

  1. docs(distros) — Spell out why CentOS / RHEL 7 isn't supportable (three independent blockers: stock kernel 3.10 lacks memfd_create syscall, glibc 2.17 lacks the wrapper, distro is EOL since 2024-06-30). Adds a "Why CentOS / RHEL 7 isn't supportable" subsection with three concrete migration paths for operators (in-place migration to AlmaLinux 9 / Rocky 9 / RHEL 9, container deployment on a kernel-backport ≥ 3.17, or auditd + SIEM correlation as a stop-gap). Linked from the Tier 3 table so the migration path is one click away from the "is my host supported" lookup.

  2. chore: cut 0.4.1 release — Bumps meson.build, debian/changelog, and pamsignal.spec to 0.4.1 in lockstep with the verify-versions CI gate. Renames ## Unreleased → ## 0.4.1 — 2026-05-12 in CHANGELOG.md.

What ships in 0.4.1:

  • feat: pamsignal --version / -V flag — smoke-checkable from dpkg / rpm / container RUN post-install contexts
  • docs: APT signing key path migrated to /etc/apt/keyrings per sources.list(5) convention (Wrong APT key location #14, reported by @hongquan)
  • docs: CentOS / RHEL 7 unsupportability fully documented (this PR's first commit)
  • examples: HTTPS + mTLS variant of bundled Node.js webhook receiver (Node.js webhook example: HTTPS + mTLS server variant #12)
  • test: integration suite rewritten + formatter coverage 4 → 27 cases + login_failure assertion fix
  • test: test_install_docker.sh default matrix narrowed to Tier 1 (ubuntu:24.04 + fedora:40)

No daemon behaviour changes; existing configs work unchanged.

Test plan

  • meson test -C build — 5/5 suites pass under ASAN + UBSAN with version: '0.4.1'
  • pamsignal --version smoke check on ubuntu:24.04 — prints pamsignal 0.4.1
  • Version files agree: meson.build (0.4.1), pamsignal.spec (0.4.1), debian/changelog (pamsignal (0.4.1-1)), CHANGELOG.md top header (## 0.4.1 — 2026-05-12)

Post-merge

After this lands on main, create the GitHub release with tag v0.4.1 to trigger release-packages.yml — it'll build .deb + .rpm (Fedora + EL9 matrix), run the install tests, and publish to gh-pages.

🤖 Generated with Claude Code

anhtuank7c and others added 2 commits May 12, 2026 11:40
The Tier 3 row for CentOS / RHEL 7 said only "Won't compile; many
hardening directives ignored", which left operators with no concrete
reason to point at when explaining the cutoff to a server-owner who
wanted CentOS 7 support added. Three independent blockers exist:

1. Stock kernel 3.10 lacks the memfd_create syscall (added in Linux
   3.17). Verifiable on a host with `grep memfd_create /proc/kallsyms`
   — no match means the syscall is absent. notify.c:113 depends on it
   to keep webhook credentials out of /proc/<pid>/cmdline.
2. glibc 2.17 lacks the memfd_create() libc wrapper (added in 2.27).
3. CentOS 7 reached end-of-life on 2024-06-30; the host receives no
   upstream security updates, so running a security-monitoring daemon
   on it inverts the priority order.

The threat model would have to be revised downward (attack #3 in
docs/threat-model.md depends specifically on memfd-backed curl config)
to claim CentOS 7 support, which we won't do.

Also added three concrete migration paths for operators with a
CentOS 7 fleet: in-place migration to AlmaLinux 9 / Rocky 9 / RHEL 9
(recommended), container deployment on an existing host with a
kernel-backport ≥ 3.17, or auditd + SIEM correlation as a stop-gap.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Bump meson.build, debian/changelog, and pamsignal.spec to 0.4.1
in lockstep with the version-consistency CI gate. Rename CHANGELOG
"## Unreleased" → "## 0.4.1 — 2026-05-12" with a release-narrative
summary paragraph at the top of the section.

Release contents:
- feat: pamsignal --version / -V flag (smoke-checkable from any
  context including dpkg/rpm post-install)
- docs: APT signing key path /etc/apt/keyrings (#14, reported
  @hongquan)
- docs: CentOS / RHEL 7 unsupportability fully documented with
  three migration paths
- examples: HTTPS + mTLS variant of bundled Node.js webhook
  receiver (#12)
- test: integration suite rewritten on real journal log lines;
  formatter coverage 4 → 27 cases; login_failure assertion fix
- test: test_install_docker.sh default matrix narrowed to Tier 1
  (ubuntu:24.04 + fedora:40) — the build-matching pair

No daemon behaviour changes; existing configs work unchanged.
ASAN + UBSAN clean across all five test suites.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@anhtuank7c
anhtuank7c merged commit d97f406 into main May 12, 2026
5 checks passed
@anhtuank7c
anhtuank7c deleted the chore/release-0.4.1 branch May 12, 2026 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant