defining firewalld services

Rex Dieter rdieter at math.unl.edu
Thu Jul 3 13:39:08 UTC 2014


I'm looking into providing a predefined firewalld service definition for 
kde-connect, per
https://bugzilla.redhat.com/show_bug.cgi?id=1115547

Looks like it's as easy as dropping an xml snippet into 
/usr/lib/firewalld/services/

I'm also noticing currently that the only package besides fallwalld itself 
doing this is cockpit, which includes a %post scriptlet:

# firewalld only partially picks up changes to its services files 
# without this
test -f %{_bindir}/firewall-cmd && firewall-cmd --reload --quiet || true


Is this the recommended approach?  If so, I'll follow this lead, and maybe 
start work on drafting some packaging guidelines.

-- Rex



More information about the devel mailing list