[Pkg-rust-maintainers] Bug#1089203: systemd-zram-generator: Removes user configuration on every update
Paul Martin
pm at debian.org
Fri Dec 6 23:53:41 GMT 2024
Package: systemd-zram-generator
Version: 1.2.1-1
Severity: important
Tags: patch
On every update, dpkg moves any custom configuration of
/etc/systemd/zram-generator.conf to
/etc/systemd/zram-generator.conf.dpkg-old, causing it to revert to the
built-in default config in /lib/systemd/
It also deletes any user override in
/etc/modules-load.d/20-zram-generator.conf but it's less likely that
anyone would change that.
Deleting user configuration is probably a serious policy violation, but
I've set the severity on this bug as "important" as it doesn't render it
unusable to everyone.
Patch:
rm debian/systemd-zram-generator.conffiles
For example, my /etc/systemd/zram-generator.conf sets up a compressed
ramdisk and changes the compression algorithm for swap.
[zram0]
compression-algorithm=lz4hc
[zram1]
mount-point = /ram
options = X-mount.mode=1777
compression-algorithm=lz4hc
More information about the Pkg-rust-maintainers
mailing list