Skip to content

Firewall complains in syslog #1346

@mattiaswal

Description

@mattiaswal

Current Behavior

Had a running firewall configuration, and just enabled ssh on the wan zone:

admin@bpi-07-c5-3f:/config/firewall/zone/wan/> set service ssh
admin@bpi-07-c5-3f:/config/firewall/zone/wan/> leave
Dec  7 00:03:50 bpi-07-c5-3f dagger[3545]: Evolved to generation 1
Dec  7 00:03:50 bpi-07-c5-3f finit[1]: firewalld[4614], calling reload:firewall-cmd -q --reload ...
Dec  7 00:03:51 bpi-07-c5-3f firewalld[4614]: ERROR: Failed to load '/etc/firewalld/firewalld.conf': [Errno 2] No such file or directory: '/etc/firewalld/firewalld.conf'
Dec  7 00:03:51 bpi-07-c5-3f last message buffered 1 times
Dec  7 00:03:51 bpi-07-c5-3f firewalld[4614]: WARNING: [Errno 2] No such file or directory: '/etc/firewalld/firewalld.conf'
Dec  7 00:03:51 bpi-07-c5-3f firewalld[4614]: WARNING: Using fallback firewalld configuration settings.
Dec  7 00:03:51 bpi-07-c5-3f firewalld[4614]: ERROR: Default zone 'public' is not valid. Using 'block'.
Dec  7 00:03:53 bpi-07-c5-3f confd[3545]: The new configuration has been applied.
Dec  7 00:03:53 bpi-07-c5-3f klishd[4824]: user "admin" committed changes to running.

but show firewall seems correct:

Zones
   NAME   TYPE  DATA                          ALLOWED HOST SERVICES
⚷  block  iif   (none)                        (none)
   dmz    iif   wifi0-untrusted, wifi1-guest  (none)
   lan    iif   lan-br, wifi0-IoT             ANY
   wan    iif   wan                           dhcpv6-client, ssh

───────────────────────────────────────────────────────────────────
Policies
   NAME                    ACTION    INGRESS          EGRESS       
⚷  allow-host-ipv6         continue  ANY              HOST
   lan-to-wan              accept    dmz, lan         wan
⚷  default-drop            drop      ANY              ANY


admin@bpi-07-c5-3f:/> 

Have seen this previous when configuring the firewall as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriagePending investigation & classification (CCB)

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions