How can I clear errors from systemctl status firewalld output?
Issue
- When entering
firewalld
rules some typos were made which resulted in errors being logged tosystemctl status firewalld
. We'd like to clean up this output and have the errors removed.
[root@rhel7u9 ~]# systemctl status -l firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2021-02-23 11:35:33 EST; 1min 52s ago
Docs: man:firewalld(1)
Main PID: 6580 (firewalld)
Memory: 28.9M
CGroup: /system.slice/firewalld.service
└─6580 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
Feb 23 11:35:33 rhel7u9 systemd[1]: Starting firewalld - dynamic firewall daemon...
Feb 23 11:35:33 rhel7u9 systemd[1]: Started firewalld - dynamic firewall daemon.
Feb 23 11:35:33 rhel7u9 firewalld[6580]: WARNING: AllowZoneDrifting is enabled. This is considered an insecure configuration option. It will be removed in a future release. Please consider disabling it now.
Feb 23 11:35:45 rhel7u9 firewalld[6580]: ERROR: INVALID_SERVICE: smb
Feb 23 11:36:15 rhel7u9 firewalld[6580]: ERROR: INVALID_SERVICE
Feb 23 11:36:26 rhel7u9 firewalld[6580]: ERROR: INVALID_SERVICE: ?
Environment
- Red Hat Enterprise Linux (RHEL) 7
firewalld
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.