![](https://seccdn.libravatar.org/avatar/9435667f7160374bc34a8600b686aecd.jpg?s=120&d=mm&r=g)
On 15.07.2022 05:13, Orville Q. Song wrote:
Hello there.
I just make a fresh new Leap 15.4 installation and installed `systemd-zram-service` on it. I believe it should work just like before but when I run `systemctl enable --now zramswap.service`, I got this instead.
Jul 15 02:03:44 sea00 systemd[1]: Starting Service enabling compressing RAM with zRam... ░░ Subject: A start job for unit zramswap.service has begun execution ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ A start job for unit zramswap.service has begun execution. ░░ ░░ The job identifier is 1072. Jul 15 02:03:44 sea00 zramswapon[14055]: modinfo: ERROR: Module alias zram not found. Jul 15 02:03:44 sea00 zramswapon[14059]: modprobe: FATAL: Module zram not found in directory /lib/modules/5.14.21-150400.22-default ...
The same package and the same systemd file works on my TW laptop though, and I can `modprobe zram` by hand.
Open bug report for Leap 15.4, refer to https://bugzilla.opensuse.org/show_bug.cgi?id=1193402 Service hardening was dropped in Tumbleweed.