Skip to content

add box: el/centos7-lamp - #51

Closed
TusanHomichi wants to merge 1 commit into
mainfrom
claude/project-thread-qturuz
Closed

TusanHomichi wants to merge 1 commit into
mainfrom
claude/project-thread-qturuz

Conversation

@TusanHomichi

Copy link
Copy Markdown
Member

Requested by Peter · project thread

What this adds

A new box, in its own PR before the route that uses it (AGENTS step 2): boxes/el/centos7-lamp.
Route: none yet. routes/el/centos7-to-alma10.toml follows in the next PR.
New fixes: none.
Claims issue: none

It models a CentOS 7 LAMP server set up the way the EL7 fleet usually is:

  • EPEL: epel-release plus htop, ncdu, jq and fail2ban (with fail2ban-firewalld).
  • Web: httpd, mod_ssl, PHP 5.4 with gd, mbstring, xml and mysqli. The vhost mysite.local renders a row from the database.
  • Database: MariaDB 5.5 with real data (a row from 2017) and an app password in a secrets file.
  • Python 2: MySQL-python and requests.
  • Admin bits: sshd on port 2222, with firewalld (offline rules) and a fail2ban jail matching that port. Also postfix, alice's crontab, chrony, and NetworkManager with a static ifcfg-eth0.

Roles: boot, ssh, cron, python, tools, mail, php, firewall, fail2ban, db, site, current, network, services.

Model

none: hand-written

Evidence

  • Built locally on top of spec: EPEL as an add-on repository; boxes that start on EL7 #48 (EPEL as an add-on repository, plus the EL7 box builder) and checked on that build.
  • With the next PR's route it walks centos7 -> alma10 and passes all 15 checks at AlmaLinux 10.2.
  • tools/check.py: ok.
  • No route is pinned to this box yet, so CI has nothing to replay for it here.

Self-review (AGENTS.md step 5)

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

🤖 Generated with Claude Code

https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc


Generated by Claude Code

A CentOS 7 LAMP server as the EL7 fleet actually runs them: EPEL
(htop, ncdu, jq, fail2ban), httpd + mod_ssl + PHP 5.4 with gd,
mbstring, xml and mysqli, MariaDB 5.5 with a real row, Python 2
(MySQL-python, requests), postfix, sshd on 2222 behind firewalld and
fail2ban, a user crontab, chrony, and a static ifcfg-eth0.

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]>
@TusanHomichi TusanHomichi self-assigned this Oct 13, 2026

Copy link
Copy Markdown
Member Author

Closing this for now; it will come back as a new PR with the same commit. The replay (routes/el/centos5-to-alma10.toml, el/centos7-lamp) failure is a gate bug and not caused by this box. tools/affected.py pairs every route of a family with every box of that family, so CI tried to walk the CentOS 5 route's hop to centos6 on a box that starts at CentOS 7. The hop rolled back as soon as the CentOS 6 tooling met EL7's glibc (GLIBC_2.14 not found). This is the first box that doesn't start where a family's only route starts, which is why it never came up before.

The fix only pairs a route with boxes that start at its from release, and it goes in its own PR, since a box PR can't touch tools/ and CI judges with the base branch's tools anyway. Once that merges, the box comes back unchanged (commit b3ded5b, which the review signed off) in a new PR from this branch, because each branch can only have one open PR.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants