fix: mysqltuner comes from Debian's package, not an unpinned download #3
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/unit-mariadb!3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/mysqltuner-from-debian"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
confdownloadedmysqltuner.pl,basic_passwords.txtandvulnerabilities.csvfromrefs/heads/masterof jmrenouard/MySQLTuner-perl into/usr/local/bin, unpinned and unchecked. Found by the 2026-10-03 audit of the data service layers.Debian trixie ships
mysqltuner2.6.0-1 (main), so the package is used instead of pinning a tag and keeping a SHA-256:plan: addsmysqltuner. It installs/usr/bin/mysqltunerand keeps the data files in/usr/share/mysqltuner, which is where the packaged script looks for them.conf: the download is removed, and with it thetkl-bashlibsource (itsdlwas the only use) and theTKL_BASHLIB/BINdefaults.tests/conf.bats: fails if the conf script fetches anything (URL,dl,curl,wget,gh_releasesoutside a comment); runs without tkl-bashlib.tests/unit.bats: the plan names four packages,mysqltuneramong them.Behaviour change for the image:
mysqltunermoves from/usr/local/binto/usr/bin(still on PATH). Nothing in keel-mariadb or this repo referenced the old path.Test plan
bats tests: 19/19tests/coverage.sh 100: conf 5/5, mysqloptimize 1/1/usr/bin/mysqltunerfrom the package and nothing of it in/usr/local/bin