Skip to content

Maintenance Task: Kernel or Package Updates

Description

Apply security and performance updates to system packages and kernel.

Frequency

Weekly or bi-weekly (depending on policy).

Checklist

  • Security updates applied?
  • Reboot needed for kernel update?
  • Services restarted after library updates?

Update Steps

  1. Check for available updates:
    dnf check-update
    
  2. Apply updates:
    sudo dnf upgrade --refresh -y
    
  3. Check if reboot required:
    needs-restarting -r
    

Preventive Actions

  • Use dnf-automatic for unattended updates
  • Monitor CVE announcements
  • Use staging/testing VMs before prod updates

Tools & Commands

  • dnf, yum, needs-restarting, dnf-automatic, reboot