You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, let me start by expressing my gratitude for creating/offering this excellent application. Have been using it without hiccups for a long time. But after my Arch Linux box got the systemd v254 recently, I did notice some peculiarity. Where before this upgrade swapon consistently reported /dev/zram0, it now shows /zram0 instead.
UPDATE:
After doing some more experimenting it turned out we can keep PrivateNetwork and explicitly disable PrivateMounts.
Nothing crucial apparently, the zram device is created and still resides under /dev/zram0. But it's confusing and I opted to disable PrivateNetworkPrivateMounts to get back to the output one would expect from swapon.
$ cat /etc/systemd/system/zramd.service.d/fix-swapon-output.conf
[Service]
# systemd v254 introduced some changes that apparently affected# swapon output - bring back known good behaviour# https://github.com/systemd/systemd/commit/6b2d576f2b38c0385bb056af328754ec8966f9fd
PrivateMounts=no
Not sure whether there might be better ways to deal with this systemd change. I'll leave that up to you.
The text was updated successfully, but these errors were encountered:
Hi, let me start by expressing my gratitude for creating/offering this excellent application. Have been using it without hiccups for a long time. But after my Arch Linux box got the systemd v254 recently, I did notice some peculiarity. Where before this upgrade
swapon
consistently reported /dev/zram0, it now shows /zram0 instead.UPDATE:
After doing some more experimenting it turned out we can keep
PrivateNetwork
and explicitly disablePrivateMounts
.Nothing crucial apparently, the zram device is created and still resides under /dev/zram0. But it's confusing and I opted to disable
PrivateNetwork
PrivateMounts
to get back to the output one would expect from swapon.zramd/build/package/zramd.service
Line 11 in a21eb47
Not sure whether there might be better ways to deal with this systemd change. I'll leave that up to you.
The text was updated successfully, but these errors were encountered: