fix: show a generated password once, and record the updates answer #33
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/inithooks!33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/password-once-and-updates-record"
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?
From the maintainer's screenshots of the Core image (2026-10-02). inithooks 2.3.6+keel16 (master took keel15; master is merged in).
forceafter Skip.95secupdatesnow writesskiporforceto/var/lib/inithooks/sec-updates, for both a preseeded and an interactive answer. keel 0.15.1 (Keel-Linux/keel#64) reads that file. If the file cannot be written, the hook logs it and the boot continues. The hook now takesINITHOOKS_DEFAULT,SEC_UPDATES_RECORDandSEC_UPDATES_LOGfrom the environment, for its first tests.Tests written first:
dialog_wrapper.pystays at 98 percent (the same lines are missed). New tests check that the password appears on one screen only.tests/test-secupdates.batscovers 49 of 50 lines of95secupdates. The shell total is 99.58, against a threshold of 98.Real test: an LXC container from the step 7b Core image, with this package installed before the first boot. Generate showed the password once; the question did not show it. Choosing Skip left
skipin/var/lib/inithooks/sec-updates, and keel inspect reportedskip. The container was destroyed afterwards.