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-lockscreen-with-swapfile-likely-selinux-problem/67319/3
> .

The first of those is from 2006 but I'll look more closely.

poc
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to