Re: nftables and selinux

2023-08-12 Thread Jon Ingason via users

Den 2023-08-12 kl. 18:07, skrev François Patte:

Bonjour,

I come accross a problem with nftables: it was impossible to start 
nftables, the error message is:


internal:0:0-0: Error: Could not open file 
"/etc/sysconfig/nftables.conf": Permission denied


I think this is selinux permission problem.


This file /etc/sysconfig/nftables.conf has 755 permissions.


I think the permission should be 600.

What do ls -lZ /etc/sysconfig/nftables.conf says?

Mine are:

-rw---. 1 root root system_u:object_r:etc_t:s0 364 22 jul  2022 
/etc/sysconfig/nftables.conf




I tried to get informatons from the internet but did not find a solution.

I tested wether it was a selinux problem and I won...

setenforce 0

solved the problem


No it does not solve the real problem


Now I went back to setenforce 1 but the problem is : if I reboot my 
machine, the problem will come back.


How to make selinux accept nftables?

fc36 nftables version 1.0.1


I would advise you to upgrade to Fedora 37 or even Fedora 38


Thank you for helping.



--
Regards

Jon Ingason


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


nftables and selinux

2023-08-12 Thread François Patte

Bonjour,

I come accross a problem with nftables: it was impossible to start 
nftables, the error message is:


internal:0:0-0: Error: Could not open file 
"/etc/sysconfig/nftables.conf": Permission denied


This file /etc/sysconfig/nftables.conf has 755 permissions.

I tried to get informatons from the internet but did not find a 
solution.


I tested wether it was a selinux problem and I won...

setenforce 0

solved the problem

Now I went back to setenforce 1 but the problem is : if I reboot my 
machine, the problem will come back.


How to make selinux accept nftables?

fc36 nftables version 1.0.1

Thank you for helping.

--
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822
http://www.math-info.univ-paris5.fr/~patte
FSF
https://www.fsf.org/blogs/community/presenting-shoetool-happy-holidays-from-the-fsf
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: DNF 5 Test Week starts today!

2023-08-12 Thread Sumantro Mukherjee
On Fri, Aug 11, 2023 at 11:47 PM Onyeibo Oku  wrote:
>
>
> Yes! This is something I'd like to do, considering that DNF5 frustrated me 
> last
> week.  Do we get badges for this one?

Hey Onyeibo,

No, Sorry the badges system is broken and is being built from scratch
by Fedora Infra
at this moment and will take some time. Nonetheless, we have something
called Heroes of Fedora, that
I will be running for F39 and you will get a mention when I pull up
all the test day data.
Thanks for testing!

>
>
> On Fri Aug 11, 2023 at 4:26 AM WAT, Sumantro Mukherjee wrote:
> > Hey Folks,
> >
> > DNF 5 landed in rawhide sometime back and has now been taken off F39
> > schedule. DNF 5 awaits testing and feedback before it can be
> > considered stable for Fedora users. DNF and Fedora Quality are hosting
> > a week-long testing period from Friday, August 11th through Thursday,
> > August 17th.
> >
> > The wiki[0] contains all information and the results can be submitted
> > by the test days app[1]
> >
> >
> > [0] http://fedoraproject.org/wiki/Test_Day:2023-08-11_Fedora_39_DNF_5
> > [1] https://testdays.fedoraproject.org/events/163
> >
> > Happy Testing!
> ___
> test mailing list -- t...@lists.fedoraproject.org
> To unsubscribe send an email to test-le...@lists.fedoraproject.org
> 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/t...@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue



-- 
//sumantro
Fedora QE
TRIED AND PERSONALLY TESTED, ERGO TRUSTED
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue