Re: SELinux is blocking hibernate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/18/20 6:20 AM, Sreyan Chakravarty wrote:
On 4/13/20 9:51 AM, Sreyan Chakravarty wrote:

After a lot of experimentation, I did manage to get swap file
hibernation to work.
The dracut module for resuming is, for some reason, not enabled by
default.  (At least on the minimal install that I tried.  Maybe because
I didn't create a swap partition at install time?)  These are the steps
I had to do:
Run "filefrag-v /swapfile" to get the offset.
Edit the grub environment to add the resume and resume_offset options to
the command line.
Regenerate the initramfs using "dracut -f -a resume" to get the resume
script included.
Run "systemctl hibernate".

Thanks so much for all your help. i got hibernation working with the instructions you gave, the key instruction being adding the resume module to dracut.

Set selinux to permissive.
I weirdly did not have to do this, worked just fine by typing systemctl hibernate.

That's because you already added the selinux changes to fix that.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux