You are not logged in.

#1 2025-05-12 03:51:55

ioletsgo
Member
Registered: 2022-06-20
Posts: 11
Website

[SOLVED] firewalld Error: INVALID_NAME

Someway, somehow, and I'm not exactly sure where its reading from. I'm kind of in a sour mood already and I cannot find any resources that has led to me figuring out this thing.


Trying to reload my firewall leads to this error occurring.

[ioletsgo@Noir ~]$ firewall-cmd --reload
Error: INVALID_NAME: '
' is not allowed in '
libvirt'
[ioletsgo@Noir ~]$ 

(from systemctl status) Another error is causing it to load the full stock configuration. I don't know if they're related but i've been trying to figure this out to a point where its become exhausting

ERROR: Failed to load user configurat
ion. Falling back to full stock configuration.

Whatever is happening, its fucking up my capability to actually manage my system properly, and it is causing firewalld to fail.

No amount of "--reset-to-defaults" or any command arguments I've found works

Outcome of --list-all-zones
https://pastebin.com/WgWS6GFk

i can't for the life of me figure this out.

Last edited by ioletsgo (2025-05-12 05:48:46)

Offline

#2 2025-05-12 04:06:12

ioletsgo
Member
Registered: 2022-06-20
Posts: 11
Website

Re: [SOLVED] firewalld Error: INVALID_NAME

I found at least part of the issue.

[ioletsgo@Noir Desktop]$ cd /etc/firewalld/zones/
block.xml       drop.xml        home.xml        ^Jlibvirt.xml   public.xml      trusted.xml     
dmz.xml         external.xml    internal.xml    nm-shared.xml   public.xml.old  work.xml        
[ioletsgo@Noir Desktop]$ cd /etc/firewalld/zones/

Offline

#3 2025-05-12 04:08:48

ioletsgo
Member
Registered: 2022-06-20
Posts: 11
Website

Re: [SOLVED] firewalld Error: INVALID_NAME

how in gods name did a file get a linebreak in its name

Offline

#4 2025-05-12 04:11:09

ioletsgo
Member
Registered: 2022-06-20
Posts: 11
Website

Re: [SOLVED] firewalld Error: INVALID_NAME

issue solved. firewalld now starts without any errors

[ioletsgo@Noir zones]$ sudo systemctl restart firewalld
[ioletsgo@Noir zones]$ sudo systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
     Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; preset: disabled)
     Active: active (running) since Sun 2025-05-11 23:09:06 CDT; 5s ago
 Invocation: 9df93355325b4d51ab7f320688cf410d
       Docs: man:firewalld(1)
   Main PID: 71989 (firewalld)
      Tasks: 2 (limit: 38263)
     Memory: 29.3M (peak: 30.8M)
        CPU: 257ms
     CGroup: /system.slice/firewalld.service
             └─71989 /usr/bin/python /usr/bin/firewalld --nofork --nopid

May 11 23:09:06 Noir systemd[1]: Starting firewalld - dynamic firewall daemon...
May 11 23:09:06 Noir systemd[1]: Started firewalld - dynamic firewall daemon.
[ioletsgo@Noir zones]$ 

Offline

#5 2025-05-12 05:27:05

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,264
Website

Re: [SOLVED] firewalld Error: INVALID_NAME

Awesome. Please mark the thread as solved by prepending "[SOLVED]" to its title by editing its initial post.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Powered by FluxBB