On Fri, Dec 11, 2020 at 9:05 PM stan via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > > On Fri, 11 Dec 2020 20:26:31 +0530 > Sreyan Chakravarty <sreyan32@xxxxxxxxx> wrote: > > > It's a SELinux error. Are there any SELinux experts here ? > > [snip] > > > My current SELinux label is : > > > > unconfined_u:object_r:swapfile_t:s0 /var/swap/fedora.swap > > Not an expert. > There is no context for this, as it is your unique creation, so > restorecon won't work. Use > chcon -u system_u /var/swap/fedora.swap Isn't chcon just temporary ? Won't the changes be lost after a reboot ? -- Regards, Sreyan Chakravarty _______________________________________________ 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