Skip to content

Conversation

@mobileoverlord
Copy link
Contributor

Current behavior is to merge /usr /opt and /etc with an ephemeral upper r/w layer. In this configuration, runtime changes to these directories will be lost after a reboot. This PR allows configuring the --mutable= value from avocado config

# /etc/avocado/avocadoctl.conf

# Example avocadoctl configuration file
# This file demonstrates the available configuration options

[avocado.ext]
# Directory where extensions are stored
dir = "/var/lib/avocado/extensions"

# Mutability mode for extensions (systemd --mutable option)
# Valid values: no, auto, yes, import, ephemeral, ephemeral-import
# Default: ephemeral
mutable = "ephemeral"

# Examples of other valid values:
# mutable = "no"           # Force immutable mode
# mutable = "auto"         # Enable mutable mode if write routing directories present
# mutable = "yes"          # Force mutable mode, create write routing directories
# mutable = "import"       # Immutable mode but merge write routing contents
# mutable = "ephemeral-import" # Mutable mode with write routing merged but changes discarded after unmerge

More information on mutable at the systemd docs

@mobileoverlord mobileoverlord force-pushed the jschneck/mutable branch 2 times, most recently from 6ff1a80 to 411b04d Compare November 24, 2025 18:20
@mobileoverlord mobileoverlord merged commit d8043bc into main Dec 14, 2025
1 of 2 checks passed
@mobileoverlord mobileoverlord deleted the jschneck/mutable branch December 14, 2025 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants