On Thu, 2023-07-13 at 17:01 +0100, Patrick O'Callaghan wrote:
> On Thu, 2023-07-13 at 09:52 -0400, Ted Roche wrote:
> > POC: You might try the posts on this Fedora List archive:
> > 
> > https://lists.fedoraproject.org/archives/search?mlist=users%40lists.fedoraproject.org&q=SELinux+hibernate+[SOLVED]
> 
> This looks like it:
> 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/NGWKBKJUOMB6KODGVXZYG5MZQ7CGLEJQ/
> 

So I followed that (i.e. applied 'restorecon -v /SWAP', where /SWAP is
a Btrfs subvolume holding the swapfile, but it still fails with the
same error, i.e.:

Jul 13 22:34:01 Bree systemd-sleep[9465]: Failed to find location to hibernate 
to: Permission denied

which *doesn't* happen when SElinux is set to Permissive.

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