On Fedora 34 and above, earlyoom is replaced by systemd-oomd: https://fedoraproject.org/wiki/Changes/EnableSystemdOomd We should call `systemctl preset earlyoom.service` once fedora-release is updated to no longer carry presets enabling earlyoom, so that on upgrade earlyoom disables itself. See e.g. https://src.fedoraproject.org/rpms/systemd/blob/0257583091a9b13d4ca7012ee3632f67af009b85/f/systemd.spec#_742-744
https://src.fedoraproject.org/rpms/earlyoom/pull-request/3 for the implementation. Rawhide and F34 have not diverged so I did one PR, it should be merged to both branches
Vitaly, could you take a look? The necessary change to fedora-release has landed, so this is now ready to be merged. If it looks good to you I can help merge and build. Thanks!
Fixed in earlyoom-1.6.2-3.fc34.