Skip to content

route: el centos8 -> alma10 - #92

Merged
TusanHomichi merged 9 commits into
mainfrom
claude/project-thread-qturuz
Oct 14, 2026
Merged

TusanHomichi merged 9 commits into
mainfrom
claude/project-thread-qturuz

Conversation

@TusanHomichi

@TusanHomichi TusanHomichi commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

What this adds

Route: routes/el/centos8-to-alma10.toml on box el/centos8-lamp (#61), with spec in #59.
New fixes (alma9 hop):

  • el9-centos8-swap-release
  • el9-centos8-swap-repos-package

Changed fixes: 17 shared EL9/EL10 rungs gain el/centos8-lamp in meta.fires_on, and nothing else.
Op fix: net.ifcfg-to-keyfile (tools/net_ifcfg_to_keyfile.py, SPEC.md, tests) now reads what the EL8 installer writes:

Before: a CentOS 8.5 box had no route. It is EOL, and nothing in AlmaLinux obsoletes centos-linux-release.

After: CentOS 8.5 goes straight to AlmaLinux 9 with EL8's own dnf, then on to AlmaLinux 10.

  • el9-centos8-swap-release swaps the release package by hand.
  • el9-centos8-swap-repos-package replaces centos-linux-repos and centos-gpg-keys with almalinux-repos.
  • From EL9 on, the route reuses the CentOS 7 route's rungs. That includes the per-hop MariaDB data upgrade, so 10.3 goes to 10.5 to 10.11 with the stamp check.

A few fixes from the CentOS 7 route are deliberately left off this one:

  • el9-drop-orphaned-polkit: CentOS 8 boxes start with polkit.
  • el9-php-mysqlnd: it keys on php-mysql, which EL8 doesn't have.
  • The EL7-only rungs.

el10-drop-el8-iptables-ebtables stays pinned. It doesn't fire on this box, whose native EL8 firewalld uses nftables, but it covers a CentOS 8 box that has iptables-ebtables installed.

Model

claude-code / opus 5.5 (agent): discovered on el/centos8-lamp in #69, rebased onto main by hand

Evidence

route box result reached fixes fired minutes
routes/el/centos5-to-alma10.toml el/centos5-dns pass AlmaLinux release 10.2 (Lavender Lion) 16 9
routes/el/centos5-to-alma10.toml el/centos5-web pass AlmaLinux release 10.2 (Lavender Lion) 34 15
routes/el/centos7-to-alma10.toml el/centos7-lamp pass AlmaLinux release 10.2 (Lavender Lion) 24 8
routes/el/centos7-to-alma10.toml el/centos7-pyapp pass AlmaLinux release 10.2 (Lavender Lion) 11 9
routes/el/centos8-to-alma10.toml el/centos8-lamp pass AlmaLinux release 10.2 (Lavender Lion) 19 4

Decoy check: passed

Real VM (remi, BIOS, b293088): from-scratch centos8-lamp → Alma 10 PASSED.

  • alma9 took 831s and alma10 took 448s; network was kept on both hops and the live checks passed.
  • MariaDB went 10.3.28 → 10.5.29 → 10.11.18.
  • The IPv6 EUI-64 address was identical before the first hop, after alma9 and after alma10.

Self-review (AGENTS.md step 5)

  • Every precondition is as narrow as I can make it, and ./wend verify found no decoy hits
  • Every fix fixes the real problem, not the symptom a check inspects
  • One problem per fix; load-bearing steps kept
  • No edits to adapters/, .github/, other boxes' roles, or other people's fixes (except fires_on). tools/ and SPEC.md change only for the op fix above.
  • Commits are signed off (git commit -s)

🤖 Generated with Claude Code

https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc

CentOS 8.5 to AlmaLinux 10 on el/centos8-lamp, straight to EL9 with
EL8's own dnf. Two new fixes on the alma9 hop: el9-centos8-swap-release
(trades centos-linux-release for almalinux-release by hand) and
el9-centos8-swap-repos-package (replaces centos-linux-repos and
centos-gpg-keys with almalinux-repos). The rest are the CentOS 7 route's
rungs from EL9 on. Reopens #69 on top of #88, #89 and #90.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc
Signed-off-by: Claude <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T11:50:40.564840Z b293088 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copy link
Copy Markdown
Member Author

Independent Claude review: signs off on head 6de8d7c. No blocking defects.

  • tools/check.py and tools/test_check.py pass: 68 fixes, 5 routes, 10 boxes, 81 runs: ok.
  • Both new fixes use spec ops with narrow gates. centos-linux-release and centos-linux-repos exist only on CentOS 8, and the repos install is gated on the package it replaces.
  • The route rightly leaves out the EL8-transit rungs (el8-transit-epel, el9-fail2ban-through-el8, el9-record-boot-services), el9-php-mysqlnd, mariadb55-rehash-app-password and el9-drop-orphaned-polkit. The boot, services and fail2ban checks are green without them.
  • The fires_on additions match the centos8-lamp run exactly: 14 fixes fire on alma9 and 5 on alma10. The decoy check is clean. All 5 run route ids match the current routes.

Non-blocking: four shared EL9 PHP and mod_ssl notes only mention the EL8 pass-through as their reason. That's a separate PR if anyone wants it.

Merge gate: remi's real-VM run of centos8-lamp → Alma 10. It waits on remi's CentOS 8 VM-install PR, after which main gets merged into this branch.


Generated by Claude Code

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6de8d7c607

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread routes/el/centos8-to-alma10.toml Resolved
Same tree as 508e3e0 (GitHub update-branch), recommitted with a DCO sign-off.

Signed-off-by: Claude <[email protected]>
@TusanHomichi
TusanHomichi force-pushed the claude/project-thread-qturuz branch from 508e3e0 to db50f4b Compare October 14, 2026 10:58

Copy link
Copy Markdown
Member Author

Independent Claude review: signs off on head db50f4b, a signed-off merge of 6de8d7c with main 936fd2a (#94).

  • The tree is identical to git merge-tree --write-tree 6de8d7c 936fd2a and to GitHub's unsigned update-branch merge 508e3e0. It was recommitted only to carry the DCO sign-off.
  • The diff against main touches only this PR's files: the two centos8 fixes, the route, 17 fires_on lines and 5 runs. boxes/el/centos8-lamp comes from main unchanged, with the EPEL 8.5 archive and a [vm] table.
  • All 11 checks on db50f4b are green, including the centos8-lamp replay on the EPEL-8.5 box. tools/check.py: 68 fixes, 5 routes, 10 boxes, 81 runs: ok.

The merge gate stays: remi's real-VM run of centos8-lamp → Alma 10 on this head.


Generated by Claude Code

remi's real CentOS 8.5 VM stopped at the alma10 hop: EL8's anaconda writes
the ifcfg through NetworkManager's ifcfg-rh plugin, which spells out
DEFROUTE, IPV4_FAILURE_FATAL, IPV6_DEFROUTE, IPV6_FAILURE_FATAL,
PROXY_METHOD and BROWSER_ONLY, and the op refused them (failing closed).
Each now gets the meaning the plugin gives it: DEFROUTE=no is
ipv4.never-default, IPV4_FAILURE_FATAL=yes is ipv4.may-fail no, and with
IPv6 on, IPV6_DEFROUTE / IPV6_FAILURE_FATAL / IPV6_ADDR_GEN_MODE map to
their ipv6 properties. A proxy (PROXY_METHOD other than none,
BROWSER_ONLY=yes) still fails. Tests use an EL8-shape fixture.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc
Signed-off-by: Claude <[email protected]>
NetworkManager's ifcfg-rh reader reads DEFROUTE first and then lets
GATEWAYDEV decide either way; DEFROUTE=no on the GATEWAYDEV device
keeps the default route. IPV6_ADDR_GEN_MODE matches case-sensitively,
as the plugin's enum parse does.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc
Signed-off-by: Claude <[email protected]>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 81b24bede2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tools/net_ifcfg_to_keyfile.py Resolved
…s eui64 (review)

NetworkManager's ifcfg-rh reader reads a missing IPV6_ADDR_GEN_MODE as
default-or-eui64, but a keyfile made by nmcli without it gets 'default'
(stable-privacy), so the box's SLAAC address would move on the alma10
hop. Pass default-or-eui64 explicitly when IPv6 is on; EL10's nmcli
(NetworkManager 1.56) knows the value.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc
Signed-off-by: Claude <[email protected]>

Copy link
Copy Markdown
Member Author

Independent Claude review: signs off on head 1b4ec2a, covering db50f4b..1b4ec2a, the net.ifcfg-to-keyfile change for the EL8 installer's profile.

Each mapping matches NetworkManager's ifcfg-rh reader:

  • DEFROUTE defaults to yes, and a set GATEWAYDEV overrides it either way.
  • IPV4_FAILURE_FATAL and IPV6_FAILURE_FATAL map to may-fail as the inverse.
  • IPV6_DEFROUTE maps to ipv6.never-default.
  • IPV6_ADDR_GEN_MODE is case-sensitive. When it is absent, the result is default-or-eui64, which EL10's nmcli 1.56 knows.
  • PROXY_METHOD must be none and BROWSER_ONLY must be no, which is stricter than the plugin.

Every refusal happens in plan() before any nmcli call or write. In a worktree of 1b4ec2a, tools/test_net_ifcfg.py passed 68/68, tools/check.py returned ok and parity was identical.

Non-blocking points:

  • The op refuses IPV6_ADDR_GEN_MODE=default and numeric modes, which NM 1.40+ can write. That fails closed.
  • A few extra test cases could be added.

The merge gate stays: remi's real-VM run of centos8-lamp → Alma 10 on this head.


Generated by Claude Code

… same name

A box EL8's installer set up with ifname=eth0:<mac> has
/etc/systemd/network/10-anaconda-ifname-eth0.link, which sorts before
10-wend-eth0.link, so the op refused it and the alma10 hop of
centos8-lamp failed on a real VM. When that earlier .link only pins the
profile's MAC to the profile's name, it stands and no second pin is
written. A pin of another MAC to another name can't match this NIC and
passes; anything else earlier still refuses, as does the same pin in
/run (gone at boot).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc
Signed-off-by: Claude <[email protected]>
…p-ins disqualify (review)

The box's network role checks 10-wend-eth0.link, so skipping it moved
the VM failure from the op to the check; writing it anyway is harmless
(the identical earlier pin wins) and covers the installer pin going
away. systemd merges <name>.link.d drop-ins from every network dir, so
an earlier .link with any drop-in is no longer read as a plain pin and
refuses.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc
Signed-off-by: Claude <[email protected]>

Copy link
Copy Markdown
Member Author

Independent review: signed off at head b293088.

1b4ec2a was already signed off, so this review covers the diff from 1b4ec2a to b293088 (tools/net_ifcfg_to_keyfile.py, tools/test_net_ifcfg.py, SPEC.md).

The two blockers from the review of 0ad3232 are resolved:

  • The box role. 10-wend-<dev>.link is written again in every case. The network role in centos8-lamp (and the other EL boxes) checks that file at EL10, so it passes on the VM engine, where anaconda's ifname=eth0:<mac> leaves 10-anaconda-ifname-eth0.link. The installer's identical pin sorts first and does the same thing. Ours takes over if it is removed.
  • Drop-ins. mac_pin returns None (refuse) when <name>.link.d exists in any of LINK_DIRS. systemd v256 merges drop-ins from every network dir (link-config.c, config_parse_many with <basename>.d). So a drop-in can no longer:
    • rename the kept pin, or make it stop matching, or
    • add this NIC's MAC to another NIC's MACAddress= list.

Checked against systemd.link(5):

  • The first .link by file name, across all dirs, wins. A same-named file in a higher dir masks a lower one. That case only refuses, never passes.
  • MACs are compared lowercase.
  • These all fall back to refusal: MAC lists, dash or dot MAC forms, quoting, continuations, inline comments, empty values, repeated keys, extra keys or sections, and section names in the wrong case.
  • A pure pin of another MAC to another name can't match this NIC and can't name another NIC <dev>.
  • An identical pin in /run or /usr/lib is now harmless, because ours is also written.

The SPEC text (lines 778-780 and 809-816) matches the code.

Tests: python3 tools/test_net_ifcfg.py passes all 80 cases. That includes drop-ins on the kept pin in /etc and /usr/lib, and a drop-in on another NIC's pin. python3 tools/check.py reports 68 fixes, 5 routes, 10 boxes, 81 runs: ok.

Non-blocking: no test covers an uppercase MAC in an earlier pin.


Generated by Claude Code

@TusanHomichi
TusanHomichi merged commit 84242ff into main Oct 14, 2026
11 checks passed
@TusanHomichi
TusanHomichi deleted the claude/project-thread-qturuz branch October 14, 2026 12:45
TusanHomichi pushed a commit that referenced this pull request Oct 14, 2026
TusanHomichi added a commit that referenced this pull request Oct 16, 2026
…from CI

Review of 9b706a0 found that centos8-lamp passed the VM tier (#92), that
the VM results are per box rather than per route (#84 for UEFI), and that
the intro and layout still said every run came from CI. The client line now
includes preflight.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Peter Permenter <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-claude-review Waiting on the Claude review layer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants