Bug 1221778 - firewalld has not been upgraded to use python3.11
Summary: firewalld has not been upgraded to use python3.11
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Security (show other bugs)
Version: Leap 15.6
Hardware: x86-64 openSUSE Leap 15.5
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Rahul Jain
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-20 22:09 UTC by Grant Pearson
Modified: 2024-03-25 11:13 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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