Bug ID 1224808
Summary dracut incorrectly modify btrfs compression level for /
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Bootloader
Assignee screening-team-bugs@suse.de
Reporter fcrozat@suse.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

On a MicroOS Desktop system, I'm trying to enable btrfs compression on root fs.

The change is made at /etc/fstab level.

The initial fstab relevant line was:

UUID=no_interest_here / btrfs ro 0 0

Changed to:

UUID=no_interest_here / btrfs ro,compress=zstd:1 0 0

and then running transaction-update initrd to ensure dracut is run in the
transactional system.

However, the stored kernel cmdline by dracut becomes:
dracut[I]:  root=UUID=980c03f5-35f5-405d-8686-d51ec67c17b4 rootfstype=btrfs
rootflags=rw,relatime,seclabel,compress=,ssd,discard=async,space_cache=v2,subvolid=774,subvol=/@/.snapshots/619/snapshot,subvol=@/.snapshots/619/snapshot

compress parameter is being stripped.

This is with dracut-059+suse.588.g528264be-1.1.x86_64


You are receiving this mail because: