On 22/12/2021 21:26, Neal Becker wrote:
sudo ls -lZ /etc/openvpn/client
total 4
-rw-r--r--. 1 root openvpn system_u:object_r:openvpn_etc_t:s0 3533 Jan
27 2021 nbecker8.conf
This looks the same as other objects in /etc/openvpn/, so I'm guessing
it's correctly labeled?
sudo ls -lZ /etc/openvpn/
total 16
drwxr-x---. 1 root openvpn system_u:object_r:openvpn_etc_t:s0 26
Dec 15 14:14 client
drwxr-x---. 1 root openvpn system_u:object_r:openvpn_etc_t:s0 0
Dec 15 14:14 server
Yes, this actually looks OK.
You can run
restorecon -n -v /etc/openvpn/client/nbecker8.conf
-n don't change any file labels (passive check). To dis‐
play the files whose labels would be changed, add -v.
It will probably tell you that the selinux context won't be changed.
So, the question then becomes why the special module is needed.
That would require a bit more troubleshooting. But, it is too late in my day to advise what
that would entail. :-(
On Wed, Dec 22, 2021 at 8:01 AM Ed Greshko <ed.greshko@xxxxxxxxxxx> wrote:
On 22/12/2021 20:30, Neal Becker wrote:
So what exactly would be the restorecon command to use here?
The first question to answer is, what is the output of
ls -Z /etc/openvpn/client/nbecker8.conf
--
Did 황준호 die?
_______________________________________________
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
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
--
Did 황준호 die?
_______________________________________________
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
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure