0014: the two identity files, and what an appliance says about backup #6
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/handbook!6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/decision-0014-appliance-identity"
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?
Issue Keel-Linux/tracker#6 asked for an appliance to stop announcing
itself as TurnKey at login, and said the two hard parts belong in a
decision note rather than in a commit message. This is that note. It
covers those two questions and nothing else.
Does
/etc/turnkey_versionkeep its name? Yes, and its format too.It is a published interface, not branding: measured on a live appliance
on 2026-09-28, five things parse it (
turnkey-version, thesysversionlibrary,
keel.inspect.app, three inithooks files, and a tklbam hook),and every one of those parsers is prefix sensitive.
keel inspectreports the appliance as missing for a string that does not begin
turnkey-. Keel writes/etc/keel_versionbeside it, the same fourfields with its own prefix, and everything an operator is shown reads
that one and falls back to the other.
The question uncovered a live defect. keel-core's changelog was renamed
to
keel-core-19.0on 2026-09-27 and fab derives/etc/turnkey_versionfrom the changelog's package name, so the next core layer would have
written
keel-core-19.0-trixie-amd64into a file none of those readersaccepts. The published layer predates the rename, so nothing shipped is
affected. Keel-Linux/common#5 normalises the prefix so the rule is
enforced rather than hoped for.
What does the appliance say about backup? One line: not configured,
no backup service yet, confconsole when there is one. No instruction to
run
tklbam-init, because that links the machine to another project'sHub, and no URL, because the documentation page it would point at
answers 404 today.
Implemented in Keel-Linux/common#5 and Keel-Linux/keel-core#9. Neither
this nor those should be merged before the maintainer has ruled on the
note: the status line says proposed.
Reviewed together with Keel-Linux/keel-core#9, Keel-Linux/common#5 and #4.
Checked the factual claims rather than taking them, because this note is what the next person will reason from:
sysversion(AppVer,get_turnkey_release,fmt_sysversion),keel.inspect.app.probe_appliance,inithooks/firstboot.d/29tagidwithlib/tagid.sh,bin/secalerts.sh(which reads it indirectly, out of/etc/apt/apt.conf.d/01turnkey), and/etc/tklbam/hooks.d/maria-db-changes, whosesed -En "s|turnkey-[a-z0-9-]+-..."is prefix sensitive exactly as claimed.probe_appliancereports the appliance as missing rather than mis-parsing it.Welcome to Core, TurnKey GNU/Linux 19.0, which only aturnkey-string produces.root.patched/postfollowsroot.patched/body, whose last action is the common removelists-final, and onlyroot.patched/cleanupcomes after it. The claim that a conf script could not do this job is also right, since conf scripts run inroot.patched/body.keellinux.org/docs/is 404 and the site serves two pages, both measured today. The reasoning for printing no URL is sound, and the URL the login does print,https://github.com/keel-linux/confconsole, resolves and is public.One observation rather than a finding: the reasoning in section 1 puts Keel-specific behaviour in
commonbecause it is shared by every appliance, while the companion recipe change keeps the login out ofcommonto leave it offerable upstream (decision 0008). Both are defensible and both are argued, but the note is the place where the rule for choosing between them would live, and it does not state one. A sentence saying that the compatibility surface goes incommonand the operator-facing surface goes in the product would settle the next case without another decision note.Approve
Clean above LOW. The claims that would be expensive to be wrong about are each checkable and each checked out.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.