<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Firewalld on Kenno&#39;s Open Note</title>
    <link>https://blog.khmersite.net/tags/firewalld/</link>
    <description>Recent content in Firewalld on Kenno&#39;s Open Note</description>
    <image>
      <title>Kenno&#39;s Open Note</title>
      <url>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.154.0</generator>
    <language>en</language>
    <lastBuildDate>Sat, 17 Oct 2020 11:35:30 +1100</lastBuildDate>
    <atom:link href="https://blog.khmersite.net/tags/firewalld/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Firewalld, nftables, and libvirt on Gentoo</title>
      <link>https://blog.khmersite.net/p/firewalld-nftables-libvirt-on-gentoo/</link>
      <pubDate>Sat, 17 Oct 2020 11:35:30 +1100</pubDate>
      <guid>https://blog.khmersite.net/p/firewalld-nftables-libvirt-on-gentoo/</guid>
      <description>&lt;p&gt;After many and many weeks, I finally got &lt;strong&gt;libvirt&lt;/strong&gt; working on this Gentoo machine. Before revealing how I&amp;rsquo;ve fixed this problem, let&amp;rsquo;s go through what the issues were.&lt;/p&gt;
&lt;p&gt;On this Gentoo I run Firewalld with &lt;strong&gt;nftables&lt;/strong&gt; as backend. An alternative to &lt;strong&gt;nftables&lt;/strong&gt; is &lt;strong&gt;iptables&lt;/strong&gt;, but since &lt;strong&gt;nftables&lt;/strong&gt; is newer and is becoming the default backend for more and more distribution including Fedora, I think it&amp;rsquo;s a good thing to adobt it early.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Fix puppet-firewalld: puppet fails with unknown type of string error</title>
      <link>https://blog.khmersite.net/p/fix-puppet-firewalld-puppet-fails-with-unknown-type-of-string-error/</link>
      <pubDate>Tue, 18 Sep 2018 12:00:21 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/fix-puppet-firewalld-puppet-fails-with-unknown-type-of-string-error/</guid>
      <description>&lt;p&gt;To manage firewalld on a desktop, I use the module created by Craig Dunn available at &lt;a href=&#34;https://github.com/crayfishx/puppet-firewalld&#34;&gt;https://github.com/crayfishx/puppet-firewalld&lt;/a&gt;. Recently, I came across this issue for the second time after restarting &lt;code&gt;puppetserver&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;# puppet agent -vt
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Info: Using configured environment &amp;#39;production&amp;#39;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Info: Retrieving pluginfacts
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Info: Retrieving plugin
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Info: Loading facts
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Could not autoload puppet/type/firewalld_rich_rule: /etc/puppetlabs/code/modules/firewalld/lib/puppet_x/firewalld/property/rich_rule_action.rb:10: unknown type of %string
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            if value.keys.sort != %i[action type]
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                    ^ at /etc/puppetlabs/code/modules/firewalld/manifests/init.pp:135:7 on node mathtxx
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Warning: Not using cache on failed catalog
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Error: Could not retrieve catalog; skipping run
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Previously, the problem seem to disappear after awhile, and because I&amp;rsquo;ve been occupied with other tasks, I kinda forgot about it.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
