Skip to content
Search openEuler

    Browse this documentation

    openEuler's first hour after a minimal install — what @core is missing, the default service baseline and the first-boot repo trap (measured on VM 381)

    Evidence on this page is from the bare-metal track (E3) — VM 381 euler24-lab (x86_64, openEuler 24.03 LTS SP4, a Kickstart minimal install of @core + openssh-clients + tar, measured after rolling back to the clean-base snapshot, 2026-11-04): the tooling availability surface, default service states, SELinux/firewalld defaults, the verbatim dnf error text on an isolated network, and the top-up results. Raw log: evidence/logs/openeuler-p2-first-hour-vm.log.

    The “first hour” checklist is designed for server use (remote SSH administration) and excludes desktop and development toolchains.

    The measured tooling availability surface after a minimal install (probed one by one with command -v):

    ss=yes curl=yes man=yes tar=yes
    netstat=NO ifconfig=NO vim=NO wget=yes lsof=NO
    • Present: ss (iproute2), curl, man, tar (explicitly installed by this machine’s ks) — enough for the minimal closed loop of day-to-day diagnostics;
    • Missing: net-tools (netstat/ifconfig), vim, lsof. If you habitually use netstat -tlnp, either install net-tools or migrate to ss -tlnp (functionally equivalent and more precise);
    • @core doesn’t even carry kernel-devel/kernel-headers (measured; see the kernel dual-track system) — building modules is a story for later.

    The first-boot repo trap: the default repo points at the online source

    Section titled “The first-boot repo trap: the default repo points at the online source”

    This is this page’s most important measured finding. The default-installed /etc/yum.repos.d/openEuler.repo points at the online source (repo.openeuler.org + metalink), and on an isolated/offline network any dnf operation dies on it first (verbatim VM error text, measured 2026-11-04):

    Errors during downloading metadata for repository 'OS':
    - Curl error (6): Couldn't resolve host name for https://repo.openeuler.org/openEuler-24.03-LTS-SP4/OS/x86_64/repodata/repomd.xml
    - Curl error (6): Couldn't resolve host name for https://mirrors.openeuler.org/metalink?repo=24.03LTS_SP4/OS&arch=x86_64
    Error: Failed to download metadata for repo 'OS': Cannot download repomd.xml

    Two details:

    • the version string in the metalink is 24.03LTS_SP4 ($releasever expanded) — usable when probing the version in scripts;
    • there are two ways to handle it: with external network, configure a proxy/mirror (this site’s repository structure); offline, run sed -i 's/^enabled=1/enabled=0/' /etc/yum.repos.d/openEuler.repo and mount a local source (this site’s local mirror).

    Default services and security baseline (measured)

    Section titled “Default services and security baseline (measured)”
    ComponentFactory state (active/enabled)Notes
    sshdactive / enabledroot login defaults to prohibit-password (key-only; the sshd -T measurement is in the supplement log openeuler-p6-supplement2.log)
    firewalldactive / enabledthe public zone allows only ssh + dhcpv6-client + mdns by default
    chronydactive / enabledon an isolated network it sits at Stratum 0 with the reference time stuck at 1970 (no NTP reachable); configure an internal NTP or comment out the default pool
    kdumpactive / enabledworks with the crashkernel=512M reservation on the kernel cmdline — ready by default
    irqbalanceactive / enabledautomatic balancing on multi-core by default
    SELinuxEnforcing/etc/selinux/config is enforcing as well

    Three observation points that differ from RHEL-family experience: kdump is on by default (most EL-family minimal installs leave it off), the default firewalld zone has less than RHEL’s — the cockpit service is absent, and mdns is allowed in the public zone by default (Avahi-related; consider tightening it in pure server scenarios).

    The first-hour checklist (the command surface that was tested)

    Section titled “The first-hour checklist (the command surface that was tested)”
    Terminal window
    # 0) Repos ready: online environments switch to a mirror / offline environments disable the default repo + mount a local source (see above)
    # 1) Top up common tools (reachable in both the DVD and the online repos, measured)
    dnf -y install net-tools vim wget lsof man-db
    # 2) Verify the baseline
    systemctl is-active sshd firewalld chronyd kdump # all active
    getenforce # Enforcing
    ss -tlnp # just confirm port 22 is listening
    # 3) Time source: on an isolated network swap the default pool in /etc/chrony.conf for an internal NTP, or tracking stays at Stratum 0 forever

    Measured top-up results (version strings carry the .oe2403sp4 dist tag): net-tools-2.10-5, vim-enhanced-9.0.2092-36, wget-1.21.4-3, lsof-4.99.6-1, man-db-2.11.2-2.

    • Mirror-source switching in an online environment was not tested on this VM (this machine is isolated-network + DVD local source; the source-switching surface is tested separately on the repos page);
    • chrony convergence after pointing at an internal NTP was not tested (no NTP source in the lab environment);
    • The full hardening flow of tightening mdns and a minimal-port policy is out of scope on this page (see the security baseline foundation page).