Skip to content
Discussion options

You must be logged in to vote

Sorry for the late reply. Thanks very much, this worked. Chucked the issue at Claude as well, gave the following response:-

To recap what was actually wrong (two separate bugs stacked on top of each other):

GRUB_BTRFS_MKCONFIG in /etc/default/grub-btrfs/config had been set to "grub-mkconfig -o /boot/grub/grub.cfg" instead of just "grub-mkconfig", which caused a duplicated -o flag whenever the daemon ran a full regen.

The bigger one: the config file's Fedora-detection block (if [ -f /etc/fedora-release ]; then ... fi) is only meant to apply on Fedora, but systemd's EnvironmentFile= parser doesn't understand if/fi — it just reads every KEY=VALUE line regardless of context — so it was uncond…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by p0b-UK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants