defining firewalld services

Jiri Popelka jpopelka at redhat.com
Thu Jul 24 14:35:25 UTC 2014


On 07/16/2014 04:04 PM, Zbigniew Jędrzejewski-Szmek wrote:
> On Thu, Jul 03, 2014 at 08:39:08AM -0500, Rex Dieter wrote:
>> 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
>
> Can we wrap this in a macro provided by firewalld.rpm? This will make
> updates later on easier.

Added upstream:
https://git.fedorahosted.org/cgit/firewalld.git/commit/?id=9200667fd6f43b7375a309a7130d97da7309d403

Will be in next firewalld release, thanks for the idea.

--
Jiri


More information about the devel mailing list