"enabling zram.service on LiveOS boots"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Fedora Workstation WG agreed some time ago to enable zram.service when
booting LiveOS, which is already the behavior for netinstalls.
https://pagure.io/fedora-workstation/issue/56#comment-546837

How should this be done?

On netinstall boot I see zram.service is loaded, active, and executed
/usr/libexec/anaconda/zramswapon by I think anaconda itself starts
this service.

On LiveOS boot I see zram.service is loaded, inactive.

I thought about changing zram.service to add

ConditionKernelCommandLine=rd.live.image

But that'd break the netinstall case.

It could also be done by making only the LiveOS kernel command line
include 'systemd.wants=zram.service'

And still another option is I'm seeing there are two of these, at
least in Rawhide Lives.

[root@localhost-live ~]# systemctl list-unit-files | grep zram
zram-swap.service                            disabled
zram.service                                 static
[root@localhost-live ~]#

zram.service is part of the anaconda package, and zram-swap.service is
part of  zram-0.3-1.fc30.noarch

It's not yet determined if installed Workstation systems will change
default behavior to swap on zram, zswap, or something else.

Thanks,



-- 
Chris Murphy

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list



[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux