Le 12/08/2023 à 18:29, Reindl Harald a écrit :
Am 12.08.23 um 17:18 schrieb François Patte:
Bonjour,
I am currently unable to start nftables service, the answer is:
internal:0:0-0: Error: Could not open file
"/etc/sysconfig/nftables.conf": Permission denied
file /etc/sysconfig/nftables.conf exists and have 755 permissions.
What can I do?
sounds like SELinux / AppAmor problem - that's why you should provide
informations about your system - we don't even know your distribution
nor do you provide your service unit or even the init-system
system is fedora 36
selinux policy is enforced
nftables is enabled
And yes, it is a selinux problem: if I setenforce to 0, I can start
nftables (but I found this solution after posting....)
I can go back to setenforce 1 without annoying nftables but, the problem
remains if I reboot the machine.
Thank you for answering.
F.P.