Choosing "file" swap in the installer makes all snapshots fail #29
Labels
No labels
P0
P1
P2
P3
audio
bakery
boot
breadbug
bug
build
ci
dependencies
design
disk
docs
encryption
final
firewall
graphics
hardware
idle
installer
keybinds
nvidia
packages
phase-1
polish
recovery
reliability
reproducibility
secure-boot
security
shell
signing
snapshots
supply-chain
swap
tech-debt
theming
ux
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Breadway/bos#29
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?
Problem
partition.confoffersuserSwapChoices: none, small, suspend, file. With btrfs root, Calamares puts/swapfileinside@, and btrfs refuses to snapshot a subvolume that holds an active swapfile. So snap-pac and every snapper snapshot fail, and the user isn't told. BOS already ships zram (etc/systemd/zram-generator.conf), so disk swap is only really needed for hibernation.Where
iso/airootfs/etc/calamares/modules/partition.conflines 17-21.Fix
file(and probablysmall); keepnoneandsuspend(a swap partition, for hibernation).suspendis kept: make sure theresumehook andresume=cmdline get wired in (check what initcpiocfg does), and document that zram plus a swap partition coexist. Give the partition a lower priority than zram.Acceptance
The installer offers no swapfile option, and hibernate works with the
suspendchoice (or that choice is removed too and documented).Source: BOS v0.6.2 source review (tag dated 2026-09-19); paths and line numbers refer to that tree. Read AGENTS.md first. One issue per branch/PR, match existing style. Verify with
FAST_BUILD=1 sudo ./build-local.shplus a VM install. Add a CHANGELOG[Unreleased]entry.Removed Calamares
small,suspend, andfileswap choices, leavingnone, and updated the hardware guide and Unreleased changelog for zram-only installs without hibernation. Static YAML assertions andgit diff --checkpass. Local commit2937c74is onfix/bos-29-zram-only-swapin/home/breadway/.cache/bos29-work.I could not push or open a PR: the standard
originpush fails before authentication withBad owner or permissions on /etc/ssh/ssh_config.d/20-systemd-ssh-proxy.conf. I left the host SSH config untouched. The ISO build and install/VM acceptance also remain unverified. Returning this to TODO until origin access and headless install validation are available.Implementation is ready for review: #70 . The installer offers only no disk swap; zram remains enabled and docs explicitly state disk swap and hibernation are unsupported. YAML assertions and diff checks pass. Full ISO/install acceptance is being coordinated with the separate headless acceptance worker; that result is still outstanding.
Independent source review PASS at
2a41c7881e. Parsed Calamares YAML: the only offered swap choice is none, btrfs remains the default, and hardware docs plus changelog explicitly explain zram and unsupported installer hibernation. Diff check passes. No CI statuses are configured. The required full ISO install remains acceptance work; this source review does not claim it occurred. PR: #70