fix: --apply points the install actions of cron-apt at security.sources #10
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/keel-transition!10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/cronapt-security-sources"
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?
Follow-up to keel-transition#9. TurnKey 19.0 writes the cron-apt install actions (
/etc/cron-apt/action-available.d/5-install.defaultand5-install.alt) withDir::Etc::sourcelist=/etc/apt/sources.list.d/security.sources.sources.--applysets that file aside. So after a transition the daily cron-apt read a missing file and installed no security update, Debian's or Keel's, and the Keel stanza of 0.2.2 was never read.--applypoints both actions atsecurity.sources, and keeps each original in/var/lib/keel/transition/cron-apt. It does this only when Debian's sources could be written. An action that already readssecurity.sourcesis kept.--rollbackputs each original back, byte for byte.Tests: written first, in
tests/turnkey19.bats: apt reads both trixie-security suites with the options of each action,--applytwice,--rollback, and an appliance without cron-apt.