Only core prunes the message of the day drop-ins of another product #16
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/tracker#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Keel-Linux/keel-core#9 removes the two message of the day drop-ins that
speak for another product, in
conf.d/mainof the core recipe, because anoverlay can add a file and cannot remove one. That is enough for the way
Keel ships and not enough for every way a recipe can be built.
Why it is enough today.
bt-layersubtracts the parent'scommon_conffrom the child's, so no appliance built on core re-runs
common/conf/turnkey.d/motd. Measured on the build host on 2026-09-28,the mariadb, wordpress, redis and postgresql layer tarballs carry no
/etc/update-motd.dentries at all: core's removals are what every layerabove it inherits.
Where it is not. A plain
makeof a non-core recipe runs with the fullCOMMON_CONFand no parent to subtract it, soconf/turnkey.d/motdwrites00-turnkey-sysinfoand08-turnkey-confconsoleagain and nothing removesthem. That image welcomes the operator twice and tells them to run
tklbam-init, andkeel_motd_check_diris not called there to catch it.The ISO path and an M0-style full build are built that way, so this is not
hypothetical.
What closes it. Either the same two calls in every recipe's
conf.d:or the arrangement asserted somewhere that is not one product's conf script.
The recipes: keel-apache-php, keel-lamp, keel-lapp, keel-mariadb,
keel-nodebb, keel-nodejs-nginx, keel-postgresql, keel-redis,
keel-transition, keel-wordpress.
Recorded rather than solved in keel-core#9 by agreement with the review:
every appliance Keel ships is strictly better off with that change and none
regresses, so it should not wait for this. The limit is written down in
conf.d/mainandCOVERAGE.mdof keel-core.Context: Keel-Linux/tracker#6, Keel-Linux/keel-core#7, handbook decision 0014.