On Fri, 2023-07-14 at 18:45 -0400, Jeffrey Walton wrote:
> [root@Bree ~]# ls -lZd /SWAP
> drwxr-xr-x. 1 root root system_u:object_r:default_t:s0 28 Jul 13
> 22:32 /SWAP
I would expect to see swapfile_t there.
> >
I'll try adding that.
> > Do you have the selinux error message?
>
> As I've mentioned, the only error is in the journal:
>
> Jul 14 22:10:37 Bree systemd-sleep[51364]: Failed to find location
> to hibernate to: Permission denied
> Jul 14 22:10:37 Bree systemd[1]: systemd-hibernate.service: Main
> process exited, code=exited, status=1/FAILURE
Have a look at
https://bugzilla.redhat.com/show_bug.cgi?id=181782 and
https://discussion.fedoraproject.org/t/hibernation-only-triggers-lockscre...
.
The first of those is from 2006 but I'll look more closely.
poc