LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-14-2023, 12:27 AM   #1
chaz_bro1972
Member
 
Registered: Jul 2006
Location: Oklahoma, USA
Distribution: Slackware64-Current, Multilib
Posts: 242

Rep: Reputation: 27
Smile Slackware-Current cannot start Firewalld


Code:
# chmod +x /etc/rc.d/rc.firewalld
# /etc/rc.d/rc.firewalld start
Starting FireWallD daemon:  /usr/sbin/firewalld 
# firewall-cmd --state
not running
I even added the appropriate commands to /etc/rc.d/rc.local

The applet doesn't run. Nothing runs.

Last edited by chaz_bro1972; 05-15-2023 at 03:41 PM.
 
Old 05-14-2023, 12:35 PM   #2
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 578

Rep: Reputation: Disabled
Is that where you got it from?
https://slackbuilds.org/repository/1...ork/firewalld/

There are dependencies to this package that requires installing too.
 
Old 05-14-2023, 12:51 PM   #3
chaz_bro1972
Member
 
Registered: Jul 2006
Location: Oklahoma, USA
Distribution: Slackware64-Current, Multilib
Posts: 242

Original Poster
Rep: Reputation: 27
Yep. Got the dependencies before I could build the package
 
Old 05-14-2023, 01:03 PM   #4
chaz_bro1972
Member
 
Registered: Jul 2006
Location: Oklahoma, USA
Distribution: Slackware64-Current, Multilib
Posts: 242

Original Poster
Rep: Reputation: 27
I emailed the maintainer. I'm waiting for a response.
 
1 members found this post helpful.
Old 05-14-2023, 01:04 PM   #5
chaz_bro1972
Member
 
Registered: Jul 2006
Location: Oklahoma, USA
Distribution: Slackware64-Current, Multilib
Posts: 242

Original Poster
Rep: Reputation: 27
I even used the Slackbuild to build the newest version. It built successfully. But it won't start either.
 
Old 05-14-2023, 02:19 PM   #6
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 578

Rep: Reputation: Disabled
That is usually where I get my slackbuilds from too.
Guess you'll have to wait for the maintainer to respond.

Meanwhile, what do the logs say?
 
Old 05-14-2023, 03:52 PM   #7
chaz_bro1972
Member
 
Registered: Jul 2006
Location: Oklahoma, USA
Distribution: Slackware64-Current, Multilib
Posts: 242

Original Poster
Rep: Reputation: 27
Log defaults to /var/log/firewalld, and it is an empty file.
/var/log/messages.1 isn't empty but says nothing about firewalld.
dmesg |tail doesn't have anything about firewalld either.
 
Old 05-14-2023, 05:49 PM   #8
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Log levels? Won't changing those give you more (otherwise unwanted) process details?
 
Old 05-14-2023, 06:55 PM   #9
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
Hope this helps
slackware-current - generic kernel 6.1.28
Code:
# /usr/sbin/firewalld --nofork                     
2023-05-15 01:54:29 Dropped Linux capabilities to NET_ADMIN, NET_RAW, SYS_MODULE.
Traceback (most recent call last):
  File "/usr/sbin/firewalld", line 256, in <module>
    main()
  File "/usr/sbin/firewalld", line 251, in main
    startup(args)
  File "/usr/sbin/firewalld", line 203, in startup
    from firewall.server import server
  File "/usr/lib64/python3.9/site-packages/firewall/server/server.py", line 40, in <module>
    from firewall.server.firewalld import FirewallD
  File "/usr/lib64/python3.9/site-packages/firewall/server/firewalld.py", line 30, in <module>
    from firewall.core.fw import Firewall
  File "/usr/lib64/python3.9/site-packages/firewall/core/fw.py", line 34, in <module>
    from firewall.core import nftables
  File "/usr/lib64/python3.9/site-packages/firewall/core/nftables.py", line 35, in <module>
    from nftables.nftables import Nftables
ModuleNotFoundError: No module named 'nftables'
tested also with firewalld 1.3.2

Last edited by marav; 05-14-2023 at 06:58 PM.
 
Old 05-14-2023, 07:06 PM   #10
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
https://bugs.gentoo.org/830132

forget about it, not related

Last edited by marav; 05-14-2023 at 07:28 PM.
 
1 members found this post helpful.
Old 05-14-2023, 08:29 PM   #11
chaz_bro1972
Member
 
Registered: Jul 2006
Location: Oklahoma, USA
Distribution: Slackware64-Current, Multilib
Posts: 242

Original Poster
Rep: Reputation: 27
Code:
# ls /var/log/packages/nftables*
/var/log/packages/nftables-1.0.7-x86_64-1
nftables-1.0.7 has been installed all along.

Last edited by chaz_bro1972; 05-14-2023 at 08:37 PM.
 
Old 05-14-2023, 08:38 PM   #12
chaz_bro1972
Member
 
Registered: Jul 2006
Location: Oklahoma, USA
Distribution: Slackware64-Current, Multilib
Posts: 242

Original Poster
Rep: Reputation: 27
Quote:
Originally Posted by Jan K. View Post
Log levels? Won't changing those give you more (otherwise unwanted) process details?
Nope. I cannot get Firewalld to even START, let alone start logging. Logs are set to "ALL"
 
Old 05-14-2023, 08:41 PM   #13
chaz_bro1972
Member
 
Registered: Jul 2006
Location: Oklahoma, USA
Distribution: Slackware64-Current, Multilib
Posts: 242

Original Poster
Rep: Reputation: 27
Quote:
Originally Posted by marav View Post
Hope this helps
slackware-current - generic kernel 6.1.28
Code:
# /usr/sbin/firewalld --nofork                     
2023-05-15 01:54:29 Dropped Linux capabilities to NET_ADMIN, NET_RAW, SYS_MODULE.
Traceback (most recent call last):
  File "/usr/sbin/firewalld", line 256, in <module>
    main()
  File "/usr/sbin/firewalld", line 251, in main
    startup(args)
  File "/usr/sbin/firewalld", line 203, in startup
    from firewall.server import server
  File "/usr/lib64/python3.9/site-packages/firewall/server/server.py", line 40, in <module>
    from firewall.server.firewalld import FirewallD
  File "/usr/lib64/python3.9/site-packages/firewall/server/firewalld.py", line 30, in <module>
    from firewall.core.fw import Firewall
  File "/usr/lib64/python3.9/site-packages/firewall/core/fw.py", line 34, in <module>
    from firewall.core import nftables
  File "/usr/lib64/python3.9/site-packages/firewall/core/nftables.py", line 35, in <module>
    from nftables.nftables import Nftables
ModuleNotFoundError: No module named 'nftables'
tested also with firewalld 1.3.2
Changing config to iptables does nothing. and nftables has already been installed WAY before.
 
Old 05-14-2023, 09:34 PM   #14
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
Quote:
Originally Posted by chaz_bro1972 View Post
Changing config to iptables does nothing. and nftables has already been installed WAY before.
Code:
cp -R /usr/lib64/python3.9/site-packages/nftables-0.1-py3.9.egg/nftables /usr/lib64/python3.9/site-packages/
From archlinux
Code:
usr/lib/python3.11/site-packages/nftables-0.1-py3.11.egg-info
usr/lib/python3.11/site-packages/nftables/
usr/lib/python3.11/site-packages/nftables/__init__.py
usr/lib/python3.11/site-packages/nftables/__pycache__/
usr/lib/python3.11/site-packages/nftables/__pycache__/__init__.cpython-311.pyc
usr/lib/python3.11/site-packages/nftables/__pycache__/nftables.cpython-311.pyc
usr/lib/python3.11/site-packages/nftables/nftables.py
usr/lib/python3.11/site-packages/nftables/schema.json
from Slackware
Code:
usr/lib64/python3.9/site-packages/nftables-0.1-py3.9.egg/
usr/lib64/python3.9/site-packages/nftables-0.1-py3.9.egg/EGG-INFO/
usr/lib64/python3.9/site-packages/nftables-0.1-py3.9.egg/EGG-INFO/PKG-INFO
usr/lib64/python3.9/site-packages/nftables-0.1-py3.9.egg/EGG-INFO/SOURCES.txt
usr/lib64/python3.9/site-packages/nftables-0.1-py3.9.egg/EGG-INFO/dependency_links.txt
usr/lib64/python3.9/site-packages/nftables-0.1-py3.9.egg/EGG-INFO/not-zip-safe
usr/lib64/python3.9/site-packages/nftables-0.1-py3.9.egg/EGG-INFO/top_level.txt
usr/lib64/python3.9/site-packages/nftables-0.1-py3.9.egg/nftables/
usr/lib64/python3.9/site-packages/nftables-0.1-py3.9.egg/nftables/__init__.py
usr/lib64/python3.9/site-packages/nftables-0.1-py3.9.egg/nftables/__pycache__/
usr/lib64/python3.9/site-packages/nftables-0.1-py3.9.egg/nftables/__pycache__/__init__.cpython-39.pyc
usr/lib64/python3.9/site-packages/nftables-0.1-py3.9.egg/nftables/__pycache__/nftables.cpython-39.pyc
usr/lib64/python3.9/site-packages/nftables-0.1-py3.9.egg/nftables/nftables.py
usr/lib64/python3.9/site-packages/nftables-0.1-py3.9.egg/nftables/schema.json
Don't know why (maybe python3.9 things)
Anyway, that did the trick

/etc/firewalld/firewalld.conf
Code:
IPv6_rpfilter=no

Last edited by marav; 05-14-2023 at 10:01 PM.
 
3 members found this post helpful.
Old 05-15-2023, 03:42 PM   #15
chaz_bro1972
Member
 
Registered: Jul 2006
Location: Oklahoma, USA
Distribution: Slackware64-Current, Multilib
Posts: 242

Original Poster
Rep: Reputation: 27
Thanks, marav.

You Solved it
 
  


Reply

Tags
firewalld



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Firewalld fails to start on openSUSE Leap 15.0 Brother77 SUSE / openSUSE 12 02-20-2019 12:18 PM
[SOLVED] firewalld - cannot state a rule with port range Sum1 Linux - Software 1 04-11-2018 03:04 PM
how firewallD start on startup in fedora 17 - System Security Services Demon fails 100201 Fedora 1 07-12-2012 04:15 AM
[SOLVED] Script to build always a current ISO image of Slackware (slackware-current) robertjinx Slackware 2 12-09-2010 02:00 AM
Slackware64 -current vs Slackware -current or Slackware onebuck Slackware 16 06-23-2009 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration