CertGrid CertGrid

RHCSA verification cheat sheet

One command per kind of task, answering the only question that matters: will this still be true after the grader reboots? Grouped by subsystem, with the persistent form beside the runtime one that looks identical and is not.

Before you reboot - run all four

  • findmnt --verify

    A bad fstab entry stops the boot and loses every other task. This is the most important command on the sheet.

    Full guide
  • mount -a

    Every fstab entry actually mounts. The rehearsal for what boot will do.

    Full guide
  • systemctl --failed

    Catches a unit you broke an hour ago and forgot. Empty is the answer you want.

    Full guide
  • grubby --info=DEFAULT

    A bootable kernel with sane arguments. Verify kernel-argument tasks here, not in /proc/cmdline.

    Full guide

The same change, two ways

  • firewall-cmd --list-services vs --list-services --permanent

    Compare the two lists. If they differ, something changes at the next reload - here the rule vanished without a reboot at all.

    Full guide
  • semanage boolean -l -C (NOT getsebool)

    getsebool reports the RUNNING value and cannot tell you whether it persists. The -C list only holds what is written down.

    Full guide
  • getenforce vs sestatus | grep "Mode from config"

    Runtime mode and boot mode are separate. A task saying "set SELinux enforcing" usually means both.

    Full guide
  • systemctl is-enabled <units...> and is-active <units...>

    Both, for every service you touched. They take several units at once, so this is one command at the end.

    Full guide

One command per subsystem

  • id <user> · passwd -S <user> · chage -l <user>

    Groups, password state and ageing. `passwd -S` reporting P means a usable password; LK means locked.

    Full guide
  • lsblk -f · lvs · vgs

    Filesystems and labels, logical volumes, free extents. Three commands, whole storage picture.

    Full guide
  • ls -Z <path> · semanage fcontext -l -C · semanage port -l -C

    The label on the file, and the local policy modifications you made. The -C forms show your work and nothing else.

    Full guide
  • crontab -l · systemctl list-timers · atq

    Three schedulers, three listings. A task naming "at, cron and timer units" can mean any of them.

    Full guide
  • swapon --show + grep swap /etc/fstab

    Active swap AND an fstab line for it. Either alone is half the answer.

    Full guide

What it costs to check

  • systemd-analyze

    A full boot on this machine is 27 seconds. Two reboots is under two minutes of the 180 you have.

    Full guide
  • time <command>

    Create, format and remove a logical volume: under two seconds. The work is fast; the thinking is slow.

    Full guide