Re: SELinux Context for web server data files in another part of filesystem?

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

 



On 11/19/24 13:09, Jeffrey Walton via selinux wrote:

So systemd needs write access to /var/ftc-data.

Would someone help me understand what SELinux context should be for
/var/ftc-data, please?

Thanks in advance.

So what context is systemd running as when it needs to write those files?

And what audit messages are generated on the failed attempts to write?

And then you need an selinux policy to set those contexts for the files and/or parent directories or else everything just gets clobbered all over again on updates or file system relabels.

Other than that I am not an expert and that is about all I can say on the subject. If anyone else cares to elaborate. Planning to move from CentOS to Fedora with, of course, selinux enforcing, so I will be dealing with similar issues very soon.

--
_______________________________________________
selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to selinux-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/selinux@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux