Repository navigation
A/B OS image: a slot that hangs, and a Debian major across /etc (#486) #580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
f7108c7
A/B OS image: a slot that hangs, and a Debian major across /etc (#486)
onel 0fcf202
Progress entry: CI runs and numbers for #486 points 3 and 5
onel 2304072
fixup: tidy-up never dies on os-release or the record; safe failed sw…
onel 10efa92
Progress entry: runs after review round 1
onel 023a634
fixup: tidy-up marker only when sshd was on; os-revert proves the rev…
onel 83dd2ff
Progress entry: runs after the Greptile fixes
onel 6fd8006
fixup: a repeated swap keeps the sshd marker
onel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 5 additions & 4 deletions
9
dev/cloud/mkosi.extra/etc/systemd/system.conf.d/10-moose-watchdog.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| # A slot that hangs must still revert (UPDATES.md # 1): where the machine has a | ||
| # hardware watchdog, systemd feeds it, and a hung PID 1 gets a reset. On a | ||
| # machine with none (the QEMU lane; Hetzner is not known yet, NEXT.md # A/B OS | ||
| # image point 3), systemd logs that and carries on. | ||
| # A slot that hangs must still revert (UPDATES.md # 1): systemd feeds the | ||
| # hardware watchdog, and a hung PID 1 or kernel gets a reset. Hetzner Cloud VMs | ||
| # (QEMU q35) have the ICH9 TCO watchdog, which the generic kernel's iTCO_wdt | ||
| # drives; the reset comes about twice this value after the last feed | ||
| # (BUILD.md # 1b # As built). The boot lane checks systemd uses it. | ||
| [Manager] | ||
| RuntimeWatchdogSec=60s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # The files in the /etc upper layer that a Debian-major tidy-up keeps as they | ||
| # are (BUILD.md # 1b, rule 4; state-setup step 3a). One shell glob per line, | ||
| # relative to /etc; a directory keeps everything under it. Everything else in | ||
| # the upper layer moves to the attic at a major, except the account files | ||
| # (merged) and the pinned daemon.json and login.defs (taken again from the slot | ||
| # when that keeps the box's remap). The boot lane fails a boot whose upper | ||
| # layer holds a file this list, the account files, the pinned files and the | ||
| # links sshd's run state makes do not cover (cloud-assertions.sh), so a new | ||
| # file moose writes into /etc must be added here, or given a regeneration rule. | ||
| # | ||
| # The box's identity. | ||
| machine-id | ||
| ssh/ssh_host_* | ||
| # What users set: SSH access (the drop-in is the enabled set) and keys, and | ||
| # the time zone. | ||
| ssh/sshd_config.d/moose-allowed.conf | ||
| ssh/moose-authorized-keys | ||
| localtime | ||
| # The box's remap range, pinned at first boot (rule 2). | ||
| subuid | ||
| subgid | ||
| # Appliance only (#564): the LUKS recovery key, the data-drive marker and the | ||
| # network connections, WiFi included. | ||
| moose/secrets | ||
| moose/data-drive.enrolled | ||
| NetworkManager/system-connections |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.