On Fri, 11 Dec 2020 20:26:31 +0530
Sreyan Chakravarty <[email protected]> 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
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]

Reply via email to