Bug 1221778

Summary: firewalld has not been upgraded to use python3.11
Product: [openSUSE] openSUSE Distribution Reporter: Grant Pearson <grant.eureka>
Component: SecurityAssignee: Rahul Jain <rahul.jain>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: gmbr3, mohd.saquib, rfrohl
Version: Leap 15.6   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Leap 15.5   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Grant Pearson 2024-03-20 22:09:36 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Build Identifier: 

Please upgrade firewalld and YaST Firewall config to use python3.11 so it is in-line with the python version standard for openSUSE Leap 15.6 beta.

Reproducible: Always

Steps to Reproduce:
1.start firewalld service
2.or, start Firewall config from YaST2
3.
Actual Results:  
1.
x firewalld.service - firewalld - dynamic firewall daemon
     Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Thu 2024-03-21 10:11:53 NZDT; 48min ago
       Docs: man:firewalld(1)
    Process: 1235 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=1/FAILURE)
   Main PID: 1235 (code=exited, status=1/FAILURE)
        CPU: 39ms

Mar 21 10:11:52 socrates systemd[1]: Starting firewalld - dynamic firewall daemon...
Mar 21 10:11:53 socrates systemd[1]: firewalld.service: Main process exited, code=exited, status=1/FAILURE
Mar 21 10:11:53 socrates systemd[1]: firewalld.service: Failed with result 'exit-code'.
Mar 21 10:11:53 socrates systemd[1]: Failed to start firewalld - dynamic firewall daemon.

2.
Execution of command "[["firewall-cmd", "--state"]]" failed.
Exit code: 1
Error output: Traceback (most recent call last):
  File "/usr/bin/firewall-cmd", line 31, in <module>
    from firewall.client import FirewallClient, FirewallClientIPSetSettings, \
ModuleNotFoundError: No module named 'firewall'


Expected Results:  
Service and YaST Firewall config should start normally.

firewalld fails when python alternatives set to version 3.11
firewalld works under python version 3.6
Python version 3.11 is required for other applications
Comment 1 Matthias Gerstner 2024-03-25 10:29:20 UTC
assigning to firewalld maintainers
Comment 2 Mohd Saquib 2024-03-25 11:13:51 UTC
Assigning to Rahul Jain, who is going to be the new firewalld maintainer