Setup hibernation on Fedora Atomic Desktops

Added docs-team

Added kernel-lockdown

Just want to let everyone know that the policy definition to allow logind see the swapfile, named systemd_logind_hibernate(.te) here, is:

module systemd_logind_hibernate 1.0;

require {
        type swapfile_t;
        type systemd_logind_t;
        class dir search;
}

#============= systemd_logind_t ==============
allow systemd_logind_t swapfile_t:dir search;

Hopefully this will be merged with the default fedora selinux rules…

1 Like

That would make it a lot easier if users dont need to mess with SELinux anymore to enable Hibernation.. how can we officially request this to be added?

IDK, but I think this is mostly in the devel mailing list… OR this forum itself (doesn’t seem so)…

hibernation isn’t a priority BTW, as it’s not available with secureboot enabled… (It should be, but IDK why it’s disabled…)

But Secureboot is mostly a false sense of security.. you can turn it off in the BIOS, especially for home use.

I need it; Disabling it causes many quirks in windows (I dualboot)