Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Failed to load zone file INVALID_TARGET #15

Open
robinbowes opened this issue Feb 18, 2015 · 1 comment
Open

Failed to load zone file INVALID_TARGET #15

robinbowes opened this issue Feb 18, 2015 · 1 comment

Comments

@robinbowes
Copy link

I'm using this zone definition:

  firewalld::zone { 'public':
    services => ['dhcpv6-client', 'ssh', 'lms', 'nfs', 'plex'],
  }

When firewalld reloads, I get this error in /var/log/messages:

Feb 18 19:33:29 lms firewalld: 2015-02-18 19:33:29 ERROR: Failed to load zone file '/etc/firewalld/zones/public.xml': INVALID_TARGET

This is the contents of /etc/firewalld/zones/public.xml:

<?xml version='1.0' encoding='UTF-8'?>
<zone target=''>
  <short>
  </short>
  <description>
  </description>
  <service name='dhcpv6-client'/>
  <service name='ssh'/>
  <service name='lms'/>
  <service name='nfs'/>
  <service name='plex'/>
</zone>
@csschwe
Copy link
Contributor

csschwe commented Mar 12, 2015

This should be fixed now. I tested it on CentOS 7 with no issues.

<?xml version='1.0' encoding='UTF-8'?>
<zone>
  <short>
  </short>
  <description>
  </description>
  <service name='dhcpv6-client'/>
  <service name='ssh'/>
  <service name='lms'/>
  <service name='nfs'/>
  <service name='plex'/>
</zone>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants