Does AlmaLinux provide a native live-patch payload service for kpatch?
29.5K reputation · 30 Jan 2021, 21:06 UTC
AlmaLinux kernels include CONFIG_LIVEPATCH and provide the kpatch user-space utilities in standard repositories. This allows for the loading of signed live-patch modules to address kernel vulnerabilities without requiring a system reboot.
While the framework for live patching is present, there is no integrated, default payload service provided by the distribution to automatically deliver these patches. This creates a gap for administrators who need to maintain zero-downtime environments for critical applications but lack a proprietary or third-party patch management pipeline.
Which mechanisms are recommended for sourcing and verifying signed patch payloads on AlmaLinux to ensure system stability? Does a community-supported feed exist that mirrors the official RHEL subscription model for live patches?
1 answer
1 question comment
Use comments to ask for clarification. Post a solution as an answer.
29,525 reputation · 31 Jan 2021, 05:52 UTC
AlmaLinux includes the kpatch user‑space tools and a kpatch.service systemd unit that will load any signed .ko files placed in /etc/kpatch.d/ at boot. However, the distribution does not ship a service that automatically fetches or signs those payloads, so administrators must obtain patches (e.g., from Red Hat’s subscription, a third‑party provider, or by building them with kpatch build) and copy them to that directory themselves.