Anolis OS first-hour baseline: the 12-step checklist after install
Scope of verification
Section titled “Scope of verification”The 12-step baseline ran once on each of two 23.5 machines (manual install / kickstart install) on 2026-11-06 (two 12-step run.json records). Applies to the 23 line; 8-line differences (dual kernel, EPEL enabled by default) are noted inline.
The baseline (12 steps: command + pass criteria)
Section titled “The baseline (12 steps: command + pass criteria)”# 1 distro identity and kernel linecat /etc/os-release | grep PRETTY # Anolis OS 23.5uname -r # -an23 = ANCK; record it in the baselinerpm -q anolis-release # anolis-release-23.5-15.an23 (measured)
# 2 confirm the virtualization environmentsystemd-detect-virt --vm # kvm (most cloud instances are kvm)
# 3 repo reachability (23-line os repo)curl -s -o /dev/null -w '%{http_code}\n' -m 15 \ https://mirrors.openanolis.cn/anolis/23/os/x86_64/os/repodata/repomd.xml # 200
# 4 clock synctimedatectl | grep synchronized # yes (NTP synced)
# 5 the SELinux decision (Anolis-specific: the default is NOT enforcing)getenforce # installed=Permissive; cloud image=Disabledgrep ^SELINUX /etc/selinux/config# Decision: for production either set enforcing and validate the policy, or record# in writing why permissive is acceptable
# 6 firewallsystemctl is-active firewalld # installed=active; cloud image=inactivefirewall-cmd --list-all # tighten the allow list as needed
# 7 reposdnf repolist # os + updates (dual repo, measured)
# 8 metadata refreshsudo dnf -y makecache # sub-second when healthy (measured)
# 9 update check (exit semantics: 0 = none, 100 = updates available)sudo dnf -q check-update; echo "exit=$?"
# 10 kernel package inventoryrpm -q kernel # current kernel packages; upgrades live in the kernel page
# 11 baseline toolsfor c in curl wget vim tar chronyc; do command -v $c || echo "$c absent"; done
# 12 hostname and timezonehostnamectl # consistent with CMDB / orchestrationTwo Anolis-specific decision points
Section titled “Two Anolis-specific decision points”- SELinux: installed defaults to permissive and cloud images to Disabled — neither is enforcing. Before going live, either enable enforcing (with a policy) or write the exemption reason into the baseline table; never leave it as “never looked”.
- Record the kernel version: the installed kernel drifts with the install moment (measured: two machines on the same day differed by one minor version), so the baseline table must include
uname -r; on the 8 line also record the ANCK/RHCK track (uname suffix -an8 vs -el8).
How the first hour differs from other distros
Section titled “How the first hour differs from other distros”| Step | Anolis 23 | Alma/Rocky 10 |
|---|---|---|
| SELinux default | permissive (installed) / Disabled (cloud) | Enforcing |
| firewalld default | active (installed) / inactive (cloud) | active |
| Kernel line | ANCK only (6.6) | RHEL kernel (6.12) |
| Repos | os + updates | appstream/baseos/crb/extras |