<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>-ENOTTY (Posts about english)</title><link>https://enotty.pipebreaker.pl/</link><description></description><atom:link href="https://enotty.pipebreaker.pl/categories/english.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><lastBuildDate>Wed, 04 Nov 2026 10:08:01 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Passkeys work in Miniflux now</title><link>https://enotty.pipebreaker.pl/posts/2026/11/passkeys-work-in-miniflux-now/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;Few months ago, a collegue had a question for me. He started uneasy, apologizing that
he does not want to neither age-profile nor offend me in any capacity. But I seemed like
a person who would know. He continued with the question: what RSS reader do I use?&lt;/p&gt;
&lt;p&gt;Before reporting him to HR, I said I've been using Google Reader until recently. But
as it was promoted to &lt;a class="reference external" href="https://killedbygoogle.com"&gt;Google Cementery&lt;/a&gt;, I've migrated
to &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Netvibes"&gt;Netvibes&lt;/a&gt;, which also bit the dust.
Now I use &lt;a class="reference external" href="https://enotty.pipebreaker.pl/posts/2025/06/rssy-racz-nam-zwrocic/"&gt;Miniflux&lt;/a&gt;, BTW.&lt;/p&gt;
&lt;p&gt;Miniflux is very nice, with one exception: &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Passkey"&gt;Passkeys&lt;/a&gt;
support was broken. It required a login-name entry before attempting a Passkey login.
As I have Miniflux connected to the home SSO, there was no login entry to use.&lt;/p&gt;
&lt;p&gt;It was fixed in v2.3.5! Now Passkey login works as expected. Smooth!&lt;/p&gt;
&lt;p&gt;Nb. I also realised, that I have not used my physical security keys for months,
thanks to Passkeys everywhere.&lt;/p&gt;</description><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2026/11/passkeys-work-in-miniflux-now/</guid><pubDate>Wed, 04 Nov 2026 09:51:54 GMT</pubDate></item><item><title>HDR Kodi available for Fedora</title><link>https://enotty.pipebreaker.pl/posts/2026/07/hdr-kodi-available-for-fedora/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;RPM Fusion shipped Kodi 22-beta1 for Fedora 44. This is the version
with &lt;a class="reference external" href="https://github.com/xbmc/xbmc/pull/27069"&gt;PR adding HDR support under Wayland&lt;/a&gt; merged.
It's a bit weird seing a beta version submitted as an update to stable branch, but hey, it works.
Thanks Leigh!&lt;/p&gt;
&lt;p&gt;It works OK under GNOME session with HDR enabled. The UI elements are bit oversaturated
when playing High Dynamic Content, but the videos themselves are pretty. At last. This is
the year of HDR on Linux Desktop.&lt;/p&gt;
&lt;p&gt;If only GeForce Now would catch up with the times…&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;068/100 of &lt;a class="reference external" href="https://100daystooffload.com/"&gt;#100DaysToOffload&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;</description><category>100DaysToOffload</category><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2026/07/hdr-kodi-available-for-fedora/</guid><pubDate>Thu, 09 Jul 2026 15:53:18 GMT</pubDate></item><item><title>Skill issue</title><link>https://enotty.pipebreaker.pl/posts/2026/06/skill-issue/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;Last week I had to extend complicated, unfamiliar Helm chart. While
I've discussed approach with my carbon-based coworker, actual
editing and extending was done by Claude Code.&lt;/p&gt;
&lt;p&gt;Refactors and renamings were tedious, but Claudius did them in no time.
During the review we decided to significantly change the way
chart is organised. Claude executed the changes perfectly.&lt;/p&gt;
&lt;p&gt;If I had to fully understand the working of the chart, it would
have taken me a good part of the week. Making the changes – another
day or two. Significant rework midway – I'd probably be too demotivated to
do it.&lt;/p&gt;
&lt;p&gt;With AI assistant, I have finished work in two days. Tested, simplified,
cleaned up.&lt;/p&gt;
&lt;p&gt;But I have no more skills than I had before. I do not understand this
Helm chart much better. I've spotted a thing or two during the review,
but in no way I have a fuller comprehension. AI let me borrow expertise without acquiring it.&lt;/p&gt;
&lt;p&gt;Next time when I'll have to work on this chart, I will use Claude again.
I've got softly locked-in in using AI assistant to work. And I'm not happy with that.&lt;/p&gt;
&lt;p&gt;Now, my employer sees this as an acceptable tradeoff. Paid for some tokens,
unlocked couple of my pricy senior-level hours to do other stuff. It balances.
Subsidising Scam Altman and his ilk is a money well spent from this perspective.&lt;/p&gt;
&lt;p&gt;We are at the point where we offload more work to so-called AI. Those
are just tools. You know what more primitive tools we had before? Assemblers.
Then compilers. No one writes machine code by hand anymore. Maybe someone
despairs because of it, but people commonly writing binaries are more likely
to be dead by now.&lt;/p&gt;
&lt;p&gt;No one treats high level compilers as fad and stuff &lt;em&gt;kids these days&lt;/em&gt; do. It's
just a tool, expected to work and dissappering into the background.&lt;/p&gt;
&lt;p&gt;There's one important difference. We do not have to pay for the compilers,
thanks to work of the GNU Project last century (&lt;code class="docutils literal"&gt;gcc&lt;/code&gt;) and Apple more recently (&lt;code class="docutils literal"&gt;llvm/clang&lt;/code&gt;).
But at this point &lt;strong&gt;we are paying for tokens&lt;/strong&gt;. I expect that as we
cannot fathom working with any codebase without a compiler now, a LLM-driven
assistant will be required to tackle bigger projects in near future.&lt;/p&gt;
&lt;p&gt;To be free, we need to be able to run assistants at reasonable cost.
Free is reasonable. Not paying through the nose for electricity is reasonable.
We can hope for good quality chinese models to be available for free.
We need a free toolkit revolution again. It was GNU Compiler Collection
for the previous generation. Would it be Kimi now?&lt;/p&gt;
&lt;p&gt;And we need the proprietary AI bubble to pop and rationality to return.&lt;/p&gt;
&lt;p&gt;066/100 of &lt;a class="reference external" href="https://100daystooffload.com/"&gt;#100DaysToOffload&lt;/a&gt;&lt;/p&gt;</description><category>100DaysToOffload</category><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2026/06/skill-issue/</guid><pubDate>Sat, 20 Jun 2026 23:11:36 GMT</pubDate></item><item><title>Small TLS settings modernization</title><link>https://enotty.pipebreaker.pl/posts/2026/06/small-tls-settings-modernization/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;Some time has passed since &lt;a class="reference external" href="https://enotty.pipebreaker.pl/posts/2017/01/zaciskanie-pasa-tlsa/"&gt;I've tightened TLS settings&lt;/a&gt;
on my home server. Let's move it a notch higher, this time including home k3s cluster.&lt;/p&gt;
&lt;section id="use-ecc-certificates"&gt;
&lt;h2&gt;Use ECC certificates&lt;/h2&gt;
&lt;p&gt;In 2026, using elliptic curves cryptography certificates should be the norm. Fortunately,
automatically obtaining them is easy. I'm using &lt;cite&gt;cert-manager&lt;/cite&gt; for kubernetes ingresses.
Switching to ECC is a just a matter of adding an algorithm annotation on &lt;cite&gt;Ingress&lt;/cite&gt;:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code yaml"&gt;&lt;a id="rest_code_a7777d8a7cd446149bdd70137debe350-1" name="rest_code_a7777d8a7cd446149bdd70137debe350-1" href="https://enotty.pipebreaker.pl/posts/2026/06/small-tls-settings-modernization/#rest_code_a7777d8a7cd446149bdd70137debe350-1"&gt;&lt;/a&gt;&lt;span class="nt"&gt;annotations&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_a7777d8a7cd446149bdd70137debe350-2" name="rest_code_a7777d8a7cd446149bdd70137debe350-2" href="https://enotty.pipebreaker.pl/posts/2026/06/small-tls-settings-modernization/#rest_code_a7777d8a7cd446149bdd70137debe350-2"&gt;&lt;/a&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;cert-manager.io/cluster-issuer&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;"zerossl-production"&lt;/span&gt;
&lt;a id="rest_code_a7777d8a7cd446149bdd70137debe350-3" name="rest_code_a7777d8a7cd446149bdd70137debe350-3" href="https://enotty.pipebreaker.pl/posts/2026/06/small-tls-settings-modernization/#rest_code_a7777d8a7cd446149bdd70137debe350-3"&gt;&lt;/a&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;cert-manager.io/private-key-algorithm&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;"ECDSA"&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;and removing the secret containing old cert and key.&lt;/p&gt;
&lt;p&gt;Small caveat: FreeIPA still lags. While it &lt;a class="reference external" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/"&gt;supports ACME protocol&lt;/a&gt;,
ECC through it is not possible, yet. I've left my internal domains with RSA certificates.&lt;/p&gt;
&lt;p&gt;For the main server, I refresh certificates using small Ruby script. I had the change &lt;cite&gt;RSA.new(3072)&lt;/cite&gt; to
an EC key generation, rest happened automatically:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code ruby"&gt;&lt;a id="rest_code_26144e77dd3a48a19c2a39e8af192a72-1" name="rest_code_26144e77dd3a48a19c2a39e8af192a72-1" href="https://enotty.pipebreaker.pl/posts/2026/06/small-tls-settings-modernization/#rest_code_26144e77dd3a48a19c2a39e8af192a72-1"&gt;&lt;/a&gt;&lt;span class="n"&gt;certificate_private_key&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="no"&gt;OpenSSL&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;PKey&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;EC&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;generate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'prime256v1'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;a id="rest_code_26144e77dd3a48a19c2a39e8af192a72-2" name="rest_code_26144e77dd3a48a19c2a39e8af192a72-2" href="https://enotty.pipebreaker.pl/posts/2026/06/small-tls-settings-modernization/#rest_code_26144e77dd3a48a19c2a39e8af192a72-2"&gt;&lt;/a&gt;&lt;span class="n"&gt;csr&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="no"&gt;Acme&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;Client&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;CertificateRequest&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;new&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="ss"&gt;private_key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;certificate_private_key&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ss"&gt;names&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="no"&gt;PIPEBREAKER_DOMAINS&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/section&gt;
&lt;section id="use-tlsv1-3-only"&gt;
&lt;h2&gt;Use TLSv1.3 only&lt;/h2&gt;
&lt;p&gt;Last time I've limited support of Transport Layer Security to versions 1.2 and 1.3. Today, let's allow the latest only.
I don't care about supporting Windows 7-era clients (years out of support).&lt;/p&gt;
&lt;p&gt;Ingress on k3s is handled by Traefik. Simplest way to influence its config is by creating a global (named &lt;code class="docutils literal"&gt;default&lt;/code&gt;) TLS
configuration option:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code yaml"&gt;&lt;a id="rest_code_d120c276ed5841748cce7e4892c7ba48-1" name="rest_code_d120c276ed5841748cce7e4892c7ba48-1" href="https://enotty.pipebreaker.pl/posts/2026/06/small-tls-settings-modernization/#rest_code_d120c276ed5841748cce7e4892c7ba48-1"&gt;&lt;/a&gt;&lt;span class="nt"&gt;apiVersion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;traefik.io/v1alpha1&lt;/span&gt;
&lt;a id="rest_code_d120c276ed5841748cce7e4892c7ba48-2" name="rest_code_d120c276ed5841748cce7e4892c7ba48-2" href="https://enotty.pipebreaker.pl/posts/2026/06/small-tls-settings-modernization/#rest_code_d120c276ed5841748cce7e4892c7ba48-2"&gt;&lt;/a&gt;&lt;span class="nt"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;TLSOption&lt;/span&gt;
&lt;a id="rest_code_d120c276ed5841748cce7e4892c7ba48-3" name="rest_code_d120c276ed5841748cce7e4892c7ba48-3" href="https://enotty.pipebreaker.pl/posts/2026/06/small-tls-settings-modernization/#rest_code_d120c276ed5841748cce7e4892c7ba48-3"&gt;&lt;/a&gt;&lt;span class="nt"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_d120c276ed5841748cce7e4892c7ba48-4" name="rest_code_d120c276ed5841748cce7e4892c7ba48-4" href="https://enotty.pipebreaker.pl/posts/2026/06/small-tls-settings-modernization/#rest_code_d120c276ed5841748cce7e4892c7ba48-4"&gt;&lt;/a&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;default&lt;/span&gt;
&lt;a id="rest_code_d120c276ed5841748cce7e4892c7ba48-5" name="rest_code_d120c276ed5841748cce7e4892c7ba48-5" href="https://enotty.pipebreaker.pl/posts/2026/06/small-tls-settings-modernization/#rest_code_d120c276ed5841748cce7e4892c7ba48-5"&gt;&lt;/a&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;namespace&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;kube-system&lt;/span&gt;
&lt;a id="rest_code_d120c276ed5841748cce7e4892c7ba48-6" name="rest_code_d120c276ed5841748cce7e4892c7ba48-6" href="https://enotty.pipebreaker.pl/posts/2026/06/small-tls-settings-modernization/#rest_code_d120c276ed5841748cce7e4892c7ba48-6"&gt;&lt;/a&gt;&lt;span class="nt"&gt;spec&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_d120c276ed5841748cce7e4892c7ba48-7" name="rest_code_d120c276ed5841748cce7e4892c7ba48-7" href="https://enotty.pipebreaker.pl/posts/2026/06/small-tls-settings-modernization/#rest_code_d120c276ed5841748cce7e4892c7ba48-7"&gt;&lt;/a&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;minVersion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;VersionTLS13&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;That's all!&lt;/p&gt;
&lt;p&gt;Change to &lt;code class="docutils literal"&gt;nginx&lt;/code&gt; configuration on the main server is minimal, too. Version 1.2 is removed from the list, leaving only 1.3:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code shell"&gt;&lt;a id="rest_code_d054908d179f4817b4524927bc6116c5-1" name="rest_code_d054908d179f4817b4524927bc6116c5-1" href="https://enotty.pipebreaker.pl/posts/2026/06/small-tls-settings-modernization/#rest_code_d054908d179f4817b4524927bc6116c5-1"&gt;&lt;/a&gt;ssl_protocols&lt;span class="w"&gt; &lt;/span&gt;TLSv1.3&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;I have to tune Postfix and few other services TLS settings later.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;065/100 of &lt;a class="reference external" href="https://100daystooffload.com/"&gt;#100DaysToOffload&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/section&gt;</description><category>100DaysToOffload</category><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2026/06/small-tls-settings-modernization/</guid><pubDate>Wed, 10 Jun 2026 11:48:25 GMT</pubDate></item><item><title>Apple knows better (how big it is)</title><link>https://enotty.pipebreaker.pl/posts/2026/01/apple-knows-better-how-big-it-is/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;Last year, I've spent few months exchanging emails and packet dumps with Zoom's support.
They provide videoconferencing software which gave me connectivity problems . Specifically, Zoom
client, on my work Macbook, when connected to my home network, failed. To make reporting
harded, Zoom's webpage did not open in Chrome on that laptop neither.&lt;/p&gt;
&lt;p&gt;Perplexingly, my private Fedora laptop, on the same network, had no problems
whatsoever. I'll spare the details of weeks-long investigation (no, it wasn't DNS' fault;
nor Cloudflare's).&lt;/p&gt;
&lt;p&gt;The problem source…&lt;/p&gt;
&lt;p&gt;MacOS X DHCP client &lt;strong&gt;ignores&lt;/strong&gt; Maximum Transfer Unit (option 26) from DHCP server!&lt;/p&gt;
&lt;p&gt;I couldn't believe it, but there are tons of similar reports over the net. Apparently,
Apple deems MTU information not trustworthy. Well, thank you 🍏, there went weeks of my
time.&lt;/p&gt;
&lt;dl class="simple"&gt;
&lt;dt&gt;&lt;em&gt;Why do I even have non-standard MTU in my network?&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Since my ISP &lt;a class="reference external" href="https://enotty.pipebreaker.pl/posts/2023/12/logitus-netia/"&gt;was acquired&lt;/a&gt;, I had to deal with blast-from-the-past networking.
Plain, reliable Ethernet connection was replaced with PPPoE, lowering the MTU to 1492 bytes, bringing
distaste and headaches.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;Why other webpages and software continued working?&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Most communications use TCP/IP protocol, which knows how to deal with decreased MTU.
Modern pages (and Zoom) try to use QUIC protocol. It works over UDP. UDP
has no mechanisms of Path MTU discovery and too big packets are just dropped.
PMPTU for QUIC is still at &lt;a class="reference external" href="https://datatracker.ietf.org/doc/draft-pskim-pmtu-algorithm-issue/00/"&gt;a draft stage&lt;/a&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;Why it started to happening recently?&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Due to other circuimstances, I had disabled IPv6 connectivity for my work laptop around summer last year.
I didn't noticed at the time, but before that, Zoom worked fine over IPv6. MTU information from RA is good enough for Apple,
whereas from DHCP is a no-no.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;Kudos to Zoom Support, for spotting the MTU problem in the end.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;030/100 of &lt;a class="reference external" href="https://100daystooffload.com/"&gt;#100DaysToOffload&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;</description><category>100DaysToOffload</category><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2026/01/apple-knows-better-how-big-it-is/</guid><pubDate>Fri, 16 Jan 2026 10:38:18 GMT</pubDate></item><item><title>I Voted, F43 edition</title><link>https://enotty.pipebreaker.pl/posts/2026/01/i-voted-f43-edition/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;I've cast my votes in Fedora Engineering Steering Comittee.
&lt;a class="reference external" href="https://elections.fedoraproject.org/"&gt;The voting&lt;/a&gt; closes tomorrow.&lt;/p&gt;
&lt;p&gt;As usual, I've read interview with the candidates, and then
decided on my preferences. Red Hat employees get a minus, new faces
get plus. There are exceptions, it's not a hard rule!&lt;/p&gt;
&lt;p&gt;That's one of the way I contribute to Fedora. Sometimes
&lt;a class="reference external" href="https://enotty.pipebreaker.pl/posts/2019/11/its-election-time-in-fedora-land/"&gt;I blog about elections&lt;/a&gt;.
I've also been a Fedora packages for almost 18 years!&lt;/p&gt;
&lt;img alt="https://badges.fedoraproject.org/pngs/ivoted-f43.png" class="align-center" src="https://badges.fedoraproject.org/pngs/ivoted-f43.png"&gt;
&lt;p&gt;028/100 of &lt;a class="reference external" href="https://100daystooffload.com/"&gt;#100DaysToOffload&lt;/a&gt;&lt;/p&gt;</description><category>100DaysToOffload</category><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2026/01/i-voted-f43-edition/</guid><pubDate>Tue, 06 Jan 2026 16:44:33 GMT</pubDate></item><item><title>Fedora 42→43, more eventful than usual</title><link>https://enotty.pipebreaker.pl/posts/2025/12/fedora-42-43-more-eventful-than-usual/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;I've found time for &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;dist-upgrade&lt;/span&gt;&lt;/code&gt; of my home server, finally. As usual, there was one thing
needing manual intervention: PostgreSQL update.  But this time it was more complicated.&lt;/p&gt;
&lt;p&gt;Between Fedora 42 and 43, PostgreSQL jumped from v16 to v18. And &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;postgresql-setup&lt;/span&gt; &lt;span class="pre"&gt;--upgrade&lt;/span&gt;&lt;/code&gt;
handles adjacent versions upgrades only.  Fortunately, Fedora ships other version-suffixed
packages for this database.&lt;/p&gt;
&lt;p&gt;It is possible (and needed!) to use &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;postgresql-server17&lt;/span&gt;&lt;/code&gt; and &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;postgresql17-upgrade&lt;/span&gt;&lt;/code&gt; packages as an intermediate
step in the upgrade.  Commands are documented in &lt;a class="reference external" href="https://bugzilla.redhat.com/show_bug.cgi?id=2411778#c1"&gt;bz#2411778#c1&lt;/a&gt;.
It should be included in &lt;a class="reference external" href="https://discussion.fedoraproject.org/tags/c/ask/common-issues/82/none/f43"&gt;F43 Common Bugs&lt;/a&gt;
list, but it isn't. (And the list itself was moved from Wiki into Discourse…)&lt;/p&gt;
&lt;p&gt;Note to self: the upgrade always fails with my customised &lt;code class="docutils literal"&gt;postgresql.conf&lt;/code&gt;.
Remember to plant the default config for the duration of postgresql upgrade.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;026/100 of &lt;a class="reference external" href="https://100daystooffload.com/"&gt;#100DaysToOffload&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;</description><category>100DaysToOffload</category><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2025/12/fedora-42-43-more-eventful-than-usual/</guid><pubDate>Fri, 12 Dec 2025 10:39:03 GMT</pubDate></item><item><title>Backups with btrbk</title><link>https://enotty.pipebreaker.pl/posts/2025/11/backups-with-btrbk/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;&lt;a class="reference external" href="https://enotty.pipebreaker.pl/posts/2016/05/migracja-do-bcache/"&gt;Storage setup&lt;/a&gt; of my home server is
btrfs raid1 over two, dm-crypt'ed 16TB HDDs cached with bcache on NVMe.
It works fine, however for PostgreSQL database and my homedir I prefer full NVMe
speed.&lt;/p&gt;
&lt;p&gt;Therefore I've put those two directories on (dm-crypt'ed) btrfs subvolumes
directly on NVMe. Thanks to &lt;code class="docutils literal"&gt;DUP&lt;/code&gt; profile there's a protection against bitrot.
But it's still a single device which may just die. Regardless of full backups,
I was doing daily &lt;code class="docutils literal"&gt;rsync&lt;/code&gt; into main drives, but there's faster and more capable
way.&lt;/p&gt;
&lt;p&gt;Enter &lt;a class="reference external" href="https://github.com/digint/btrbk"&gt;btrbk&lt;/a&gt;, which operates on btrfs subvolumes.
It uses btrfs' native &lt;code class="docutils literal"&gt;send&lt;/code&gt; capability to copy the subvolume between filesystems effectively.&lt;/p&gt;
&lt;p&gt;Additionally, it's very easy to keep some number of historic subvolume snapshots. They utilize
copy-on-write, minimizing space usage. This let me recover files quickly or
compare filesystem's state over last few days.&lt;/p&gt;
&lt;p&gt;The config it bit tricky, that's why I'm posting this.  My full backup config
below, divided in three sections for explanations.&lt;/p&gt;
&lt;pre class="literal-block"&gt;timestamp_format        long
snapshot_preserve       14d
snapshot_preserve_min   2d      # defaults to 'all'&lt;/pre&gt;
&lt;p&gt;The source definition. &lt;code class="docutils literal"&gt;preserve&lt;/code&gt; option combination is needed to have
daily snapshots kept for last two weeks and have older snapshots removed.&lt;/p&gt;
&lt;pre class="literal-block"&gt;target_preserve         7d
target_preserve_min     latest  # defaults to 'all'&lt;/pre&gt;
&lt;p&gt;What to do with subvolumes copies at the target directory. Above combination
of options keeps last seven days of snapshots copies.&lt;/p&gt;
&lt;pre class="literal-block"&gt;send_compressed_data    yes

volume /run/btrbk-work
        target /home/poligon/backs/btrbk_snaps

        subvolume home_zdzichu

        subvolume var_lib_pgsql&lt;/pre&gt;
&lt;p&gt;Job definition. &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;/run/btrbk-work&lt;/span&gt;&lt;/code&gt; is a directory where I temporarily mount
NVMe drive root volume with subvolumes beneath. &lt;code class="docutils literal"&gt;/home/poligon/backs/btrbk_snaps&lt;/code&gt;
is the directory on my main (raid1) pool where subvolume copies are stored.
And the last two lines are specific subvolumes to copy.&lt;/p&gt;
&lt;p&gt;That works for me. &lt;code class="docutils literal"&gt;btrbk&lt;/code&gt; is run by &lt;code class="docutils literal"&gt;cron.daily/&lt;/code&gt; from a short script
ensuring everything is mounted where it should be.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;020/100 of &lt;a class="reference external" href="https://100daystooffload.com/"&gt;#100DaysToOffload&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;</description><category>100DaysToOffload</category><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2025/11/backups-with-btrbk/</guid><pubDate>Sun, 02 Nov 2025 19:52:18 GMT</pubDate></item><item><title>Actalis EAB ACME works – it was base64url issue</title><link>https://enotty.pipebreaker.pl/posts/2025/08/actalis-eab-acme-works-it-was-base64url-issue/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;As an addendum to &lt;a class="reference external" href="https://enotty.pipebreaker.pl/posts/2025/08/leaving-buypass-as-acme-provider/"&gt;yesterday's note&lt;/a&gt;: I've got
Actalis issuer to work with &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;cert-manager&lt;/span&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;cert-manager&lt;/span&gt;&lt;/code&gt; expects some credentials to be in so-called &lt;code class="docutils literal"&gt;base64url&lt;/code&gt; encoding, which
is &lt;a class="reference external" href="https://cert-manager.io/docs/configuration/acme/#external-account-bindings"&gt;stated in a note&lt;/a&gt; in the
documentation. Fix was easy, I had to remove &lt;code class="docutils literal"&gt;=&lt;/code&gt; from provided HMAC Keys. The docs have
&lt;code class="docutils literal"&gt;sed&lt;/code&gt; invocation to use.&lt;/p&gt;
&lt;p&gt;002/100 of &lt;a class="reference external" href="https://100daystooffload.com/"&gt;#100DaysToOffload&lt;/a&gt;&lt;/p&gt;</description><category>100DaysToOffload</category><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2025/08/actalis-eab-acme-works-it-was-base64url-issue/</guid><pubDate>Wed, 20 Aug 2025 07:55:32 GMT</pubDate></item><item><title>Leaving BuyPass as an ACME provider</title><link>https://enotty.pipebreaker.pl/posts/2025/08/leaving-buypass-as-acme-provider/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;For a long time I've been using BuyPass as TLS certificates provider for ACME.
Unfortunately they &lt;a class="reference external" href="https://community.buypass.com/t/y4y130p"&gt;decided to disengage from this area of services&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;There are &lt;a class="reference external" href="https://acmeclients.com/certificate-authorities/"&gt;quite a few ACME providers&lt;/a&gt;. Some even look
like they could replace BuyPass, which had two strong traits: it is based in Europe and was providing certificates
valid for half a year. It looked like &lt;a class="reference external" href="https://www.actalis.com/subscription"&gt;Actalis&lt;/a&gt; would be a good replacement.
They're from Italy and have 1 year certificates, but available in paid plans only.&lt;/p&gt;
&lt;p&gt;After some tinkering with &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;cert-manager&lt;/span&gt;&lt;/code&gt; I was unable to make it work. Some cryptic, discouraging messages
like &lt;code class="docutils literal"&gt;"ACME server URL host and ACME private key registration host differ. &lt;span class="pre"&gt;Re-checking&lt;/span&gt; ACME account registration"&lt;/code&gt;
and &lt;code class="docutils literal"&gt;"failed to verify ACME account" &lt;span class="pre"&gt;err="failed&lt;/span&gt; to decode external account binding key data: illegal base64 data at input byte 43"&lt;/code&gt; made me look further.&lt;/p&gt;
&lt;p&gt;Next shot, &lt;a class="reference external" href="https://cert-manager.io/docs/tutorials/zerossl/zerossl/"&gt;ZeroSSL&lt;/a&gt; worked straight away. Worth noting –
official &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;cert-manager&lt;/span&gt;&lt;/code&gt; documentation has a tutorial on using ZeroSSL. There are some limitation, but it's
fine to me. There's nothing more to write, it just works.&lt;/p&gt;
&lt;p&gt;For private services (meant to be accessed only from my devices), I'm using
&lt;a class="reference external" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/"&gt;FreeIPA as an ACME provider&lt;/a&gt;, of course.&lt;/p&gt;
&lt;p&gt;Why not Let's Encrypt? Only because it is not &lt;em&gt;hipster&lt;/em&gt; enough.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;This is post 001/100 of &lt;a class="reference external" href="https://100daystooffload.com/"&gt;100DaysToOffload&lt;/a&gt; challenge. I intend to write
short posts about nothing in particular, just collected thoughts. Language will vary: Polish, English,
maybe Arabic if I get back to learning it.&lt;/p&gt;
&lt;/blockquote&gt;</description><category>100DaysToOffload</category><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2025/08/leaving-buypass-as-acme-provider/</guid><pubDate>Tue, 19 Aug 2025 18:26:33 GMT</pubDate></item><item><title>Fixing FreeIPA ACME</title><link>https://enotty.pipebreaker.pl/posts/2024/02/fixing-freeipa-acme/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;I've managed to fix &lt;a class="reference external" href="https://enotty.pipebreaker.pl/posts/2024/01/woes-with-freeipa-and-sids/"&gt;one of the recent problems with my FreeIPA&lt;/a&gt;.
To be more specific – after few months breakage, ACME issuer is working again for me.&lt;/p&gt;
&lt;p&gt;Solution was dead simple after I've found the relevant line in the logs:&lt;/p&gt;
&lt;pre class="literal-block"&gt;2024-02-07 21:59:24 [ajp-nio-0:0:0:0:0:0:0:1-8009-exec-3]
SEVERE: Servlet.service() for servlet [ACME] in context with path [/acme] threw exception
org.jboss.resteasy.spi.UnhandledException: com.netscape.certsrv.base.UnauthorizedException:
Authorization failed: Authorization failed on resource: group=Certificate Manager Agents, operation: {1}&lt;/pre&gt;
&lt;p&gt;I've fired up an LDAP client (I'm using &lt;a class="reference external" href="https://jxplorer.org/"&gt;JXplorer&lt;/a&gt;), went to &lt;code class="docutils literal"&gt;/ipaca/groups/Certificate Manager Agents&lt;/code&gt; and added
two records. Type &lt;code class="docutils literal"&gt;uniqueMember&lt;/code&gt; with value &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;uid=acme-kaitain.pipebreaker.pl,ou=people,o=ipaca&lt;/span&gt;&lt;/code&gt;, plus another one for the second replica.
FreeIPA started to issue certificates again, although there are still some strange trackbacks in the logs.&lt;/p&gt;
&lt;p&gt;Why the group membership dissapeared? I don't know.&lt;/p&gt;</description><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2024/02/fixing-freeipa-acme/</guid><pubDate>Thu, 08 Feb 2024 20:17:56 GMT</pubDate></item><item><title>Woes with FreeIPA and SIDs</title><link>https://enotty.pipebreaker.pl/posts/2024/01/woes-with-freeipa-and-sids/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;img alt="Sid (from Ice Age)" class="align-right" src="https://lumiere-a.akamaihd.net/v1/images/ct_iceage_sid_21464_10f2d363.jpeg?region=0,0,800,800&amp;amp;width=320"&gt;
&lt;p&gt;As cool as &lt;a class="reference external" href="https://freeipa.org"&gt;FreeIPA&lt;/a&gt; is – I'm using it for over 10 years at home – sometimes
I fell it breaks just by being looked at.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;TLDR: If you have accounts or groups with UID or GID not falling in any defined range ID ranges,
fix that by any of: 1) changing the UID/GID; 2) extending defined ID range; 3) creating a new ID range
covering those UIDs/GIDs.&lt;/p&gt;
&lt;p&gt;Then generate new SIDs with &lt;code class="docutils literal"&gt;ipa &lt;span class="pre"&gt;config-mod&lt;/span&gt; &lt;span class="pre"&gt;--enable-sid&lt;/span&gt; &lt;span class="pre"&gt;--add-sids&lt;/span&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Few months ago my FreeIPA installation stopped allowing users to login. It was
mostly a nuisance for me, nothing critical:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;on most important computers I have local accounts&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;services authenticating with plain LDAP continued to work&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;so what didn't work? Login into FreeIPA's web interface. But &lt;cite&gt;admin&lt;/cite&gt; accounted worked, so…&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When I eventually started to debug, I found following logs in &lt;code class="docutils literal"&gt;krb5kdc.log&lt;/code&gt;:&lt;/p&gt;
&lt;pre class="literal-block"&gt;krb5kdc[3123](info): AS_REQ : handle_authdata (2)
krb5kdc[3123](info): AS_REQ (6 etypes {aes256-cts-hmac-sha384-192(20), aes128-cts-hmac-sha256-128(19),
aes256-cts-hmac-sha1-96(18), aes128-cts-hmac-sha1-96(17), camellia256-cts-cmac(26),
camellia128-cts-cmac(25)}) 192.168.x.x: HANDLE_AUTHDATA: zdzichu@PIPEBREAKER.PL for krbtgt/PIPEBREAKER.PL@PIPEBREAKER.PL, No such file or directory&lt;/pre&gt;
&lt;p&gt;Some searching the web later, I've concluded &lt;cite&gt;No such file or directory&lt;/cite&gt; refers to SID, a &lt;em&gt;Security Identifier&lt;/em&gt;.
SIDs are some Microsoft's Active Directory properties. I see no reason to have them on Linux-only FreeIPA installs.&lt;/p&gt;
&lt;p&gt;The &lt;a class="reference external" href="https://freeipa.readthedocs.io/en/latest/designs/adtrust/sidconfig.html#id2"&gt;Upgrade section&lt;/a&gt; in the documentation is wrong:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The upgrade does not turn on the feature. If the admin wants to enable SID generation, he needs to update the packages and run the new command&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It's not true, admin desires don't matter. As Alexander Bokovoy wrote &lt;a class="reference external" href="https://www.mail-archive.com/freeipa-users@lists.fedorahosted.org/msg17032.html"&gt;on the mailing list&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;FreeIPA generates SIDs by default since FreeIPA 4.9.8. It is configured
to do so on new installations even when integration with AD is not
considered, due to tightened requirements to process constrained
delegation in Kerberos.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;So SIDs are really &lt;strong&gt;required&lt;/strong&gt; in FreeIPA now. I don't want them, but whatever. There is a command
which is supposed to generate missing data:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;code class="docutils literal"&gt;ipa &lt;span class="pre"&gt;config-mod&lt;/span&gt; &lt;span class="pre"&gt;--enable-sid&lt;/span&gt; &lt;span class="pre"&gt;--add-sids&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It finished without errors, but login still didn't work.&lt;/p&gt;
&lt;p&gt;More searching. The commands fires up a job (in LDAP server?) so let look into &lt;em&gt;dirsvr's&lt;/em&gt; &lt;cite&gt;errors.log&lt;/cite&gt;:&lt;/p&gt;
&lt;pre class="literal-block"&gt;[12/Jan/2024:14:07:51.524937136 +0100] - ERR - sidgen_task_thread - [file ipa_sidgen_task.c, line 194]: Sidgen task starts ...
[12/Jan/2024:14:07:51.566941696 +0100] - ERR - find_sid_for_ldap_entry - [file ipa_sidgen_common.c, line 521]: Cannot convert Posix ID [135] into an unused SID.
[12/Jan/2024:14:07:51.585948214 +0100] - ERR - do_work - [file ipa_sidgen_task.c, line 154]: Cannot add SID to existing entry.
[12/Jan/2024:14:07:51.597088076 +0100] - ERR - sidgen_task_thread - [file ipa_sidgen_task.c, line 199]: Sidgen task finished [32].&lt;/pre&gt;
&lt;p&gt;OK, we're getting somewhere. I had some an obsolete group defined with GID 135. Let's remove it and re-run the command.&lt;/p&gt;
&lt;pre class="literal-block"&gt;[12/Jan/2024:14:24:29.879953617 +0100] - ERR - find_sid_for_ldap_entry - [file ipa_sidgen_common.c, line 521]: Cannot convert Posix ID [1037] into an unused SID&lt;/pre&gt;
&lt;p&gt;I know this UID, this is one of the users I've migrated to FreeIPA. Obviously I cannot remove it.&lt;/p&gt;
&lt;p&gt;Turns out, FreeIPA has something called &lt;a class="reference external" href="https://www.freeipa.org/page/V3/ID_Ranges"&gt;ID ranges&lt;/a&gt;.
&lt;strong&gt;If you have accounts or groups with UID or GID not falling in any defined range, sidgen script just fails.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I had to go to &lt;em&gt;IPA Server -&amp;gt; ID Ranges -&amp;gt; Add&lt;/em&gt; in web console and make changes. I did not want to mess with already
defined ranges, so I created a new one. An “unix” range. Base 1000, size 1000, had to guess some numbers for RID ranges before it was accepted.&lt;/p&gt;
&lt;p&gt;Not that I'm so smart to figure it out. There's &lt;a class="reference external" href="https://access.redhat.com/solutions/394763"&gt;Knowledgebase solution 394763&lt;/a&gt; for exactly this problem.&lt;/p&gt;
&lt;p&gt;And just like that, kerberized login to FreeIPA started working again.&lt;/p&gt;
&lt;p&gt;Knowing what was wrong, I've started noticing (and understanding)
&lt;a class="reference external" href="https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org/message/LB5LTBK45BHGGLGKKR2NXJRMKN3WB2PJ/"&gt;other people have the same kind of issues&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;One problem down, two to go. Replication between my replicas is not working. Again with unhelpful message:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;[12/Jan/2024:14:33:32.812986996 +0100] - ERR - NSMMReplicationPlugin - acquire_replica - agmt="cn=kaitain.pipebreaker.pl-to-okda.pipebreaker.pl" (okda:389): Unable to acquire replica: permission denied. The bind dn "" does not have permission to supply replication updates to the replica. Will retry later.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I did all the steps from &lt;a class="reference external" href="https://access.redhat.com/solutions/2988311"&gt;KB 2988311&lt;/a&gt; but it didn't help.&lt;/p&gt;
&lt;p&gt;Second problem, &lt;a class="reference external" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/"&gt;ACME on FreeIPA&lt;/a&gt; ceased to work for me.&lt;/p&gt;
&lt;p&gt;I hadn't had willpower to debug these two, yet.&lt;/p&gt;</description><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2024/01/woes-with-freeipa-and-sids/</guid><pubDate>Sat, 20 Jan 2024 17:23:22 GMT</pubDate></item><item><title>How systemd exponential restart delay works</title><link>https://enotty.pipebreaker.pl/posts/2024/01/how-systemd-exponential-restart-delay-works/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;Since the beginning, &lt;code class="docutils literal"&gt;systemd&lt;/code&gt; had a &lt;a class="reference external" href="https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html#Restart="&gt;Restart=&lt;/a&gt; directive to do just that – restart a service when it fails or exists. Some tuning was provided by &lt;a class="reference external" href="https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html#RestartSec="&gt;RestartSec=&lt;/a&gt; (how long to wait between restarts), &lt;a class="reference external" href="https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#StartLimitIntervalSec=interval"&gt;StartLimitBurst=&lt;/a&gt; (how many times to try) and few minor directives.&lt;/p&gt;
&lt;p&gt;Starting with &lt;code class="docutils literal"&gt;systemd v254&lt;/code&gt;, we have two new knobs:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;&lt;a class="reference external" href="https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html#RestartSteps="&gt;RestartSteps=&lt;/a&gt; &lt;em&gt;the number of steps to take to increase the interval of auto-restarts&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a class="reference external" href="https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html#RestartMaxDelaySec="&gt;RestartMaxDelaySec=&lt;/a&gt; &lt;em&gt;the longest time to sleep before restarting a service as the interval goes up&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Together, they provide ability to exponentially extend wait-time between restarts. First restart is quite quick, but then system waits more and more. Here what it means.&lt;/p&gt;
&lt;p&gt;Let assume a service with following settings:&lt;/p&gt;
&lt;pre class="literal-block"&gt;Restart=always
RestartSec=100ms (the default)
RestartMaxDelaySec=10s
RestartSteps=5&lt;/pre&gt;
&lt;p&gt;Upon a failure, &lt;code class="docutils literal"&gt;systemd&lt;/code&gt; will wait (rounded a bit):&lt;/p&gt;
&lt;ol class="arabic simple" start="0"&gt;
&lt;li&gt;&lt;p&gt;100ms until first restart&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;250ms until next restart (first step)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;630ms until next restart (second step)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;1.58s until next restart (third step)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;3.98s until next restart (fourth step)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;10.0s until next restart (&lt;code class="docutils literal"&gt;RestartSteps=5&lt;/code&gt; – fifth step) and following restarts&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Second example. Given:&lt;/p&gt;
&lt;pre class="literal-block"&gt;RestartSec=1s
RestartMaxDelaySec=10s
RestartSteps=3&lt;/pre&gt;
&lt;p&gt;subsequent restarts will be done after waiting:&lt;/p&gt;
&lt;ol class="arabic simple" start="0"&gt;
&lt;li&gt;&lt;p&gt;100ms&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;2.15s (step 1)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;4.64s (step 2)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;10.0s (step 3, as in &lt;code class="docutils literal"&gt;RestartSteps=3&lt;/code&gt;).&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Hope this helps. You can find &lt;a class="reference external" href="https://github.com/systemd/systemd/blob/v255/src/core/service.c#L322"&gt;the exact formula in src/core/service.c&lt;/a&gt;.&lt;/p&gt;</description><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2024/01/how-systemd-exponential-restart-delay-works/</guid><pubDate>Tue, 02 Jan 2024 20:25:44 GMT</pubDate></item><item><title>Migrated home server to the UEFI boot</title><link>https://enotty.pipebreaker.pl/posts/2023/02/migrated-home-server-to-uefi-boot/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;I've migrated my home server to boot using UEFI. It means suprising number of things:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;I did something useful during my unplanned PTO days&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a class="reference external" href="https://fedoraproject.org/wiki/GRUB_2#Instructions_for_UEFI-based_systems"&gt;Fedora's GRUB instructions&lt;/a&gt; are useful and precise&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I was really wrong in &lt;a class="reference external" href="https://enotty.pipebreaker.pl/posts/2015/07/it-seems-my-ecs-h67h2-m-motherboard-bis-notb-uefi-capablebrigui-uef/"&gt;my rant&lt;/a&gt; couple years ago. Although I had to switch firmware into &lt;em&gt;Windows 8 (no CSM)&lt;/em&gt; mode today.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;the server is ready for modernization later this year, the upgrade of fives: some AMD Ryzen 7xxx (AM5 socket), DDR5, PCIe5. Packed in a SSUPD Meshroom S case. Getting back to the integrated GPU and hopefully lowering power consumption (now it idles at around 90W🙁)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I can unsubscribe from &lt;a class="reference external" href="https://fedoraproject.org/wiki/SIGs/BiosBoot"&gt;BIOS Boot SIG&lt;/a&gt;, as this was my last legacy-booting computer. The SIG mailing list is completely empty, apparently all the ruckus with needing BIOS booting within Fedora has no real standing.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;</description><category>english</category><category>shorts</category><guid>https://enotty.pipebreaker.pl/posts/2023/02/migrated-home-server-to-uefi-boot/</guid><pubDate>Fri, 17 Feb 2023 11:58:31 GMT</pubDate></item><item><title>Obvious webdevel things dump</title><link>https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;Having just spent hours debugging simple Flask application, I need to went:&lt;/p&gt;
&lt;p&gt;1. &lt;code class="docutils literal"&gt;tzdata&lt;/code&gt; package in &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;fedora-minimal&lt;/span&gt;&lt;/code&gt; container image &lt;a class="reference external" href="https://bugzilla.redhat.com/show_bug.cgi?id=1870814"&gt;is broken&lt;/a&gt;.
RPM database lists files which are not installed (actually, they were removed during base container build). It's getting fixed.&lt;/p&gt;
&lt;p&gt;Symptom: &lt;code class="docutils literal"&gt;FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/zoneinfo/zone.tab'&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Workaround: &lt;code class="docutils literal"&gt;microdnf reinstall tzdata&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;2. HTML checkboxes are weird. When they are set, they appear in HTTP request data with &lt;code class="docutils literal"&gt;value&lt;/code&gt;. When unset, they are &lt;strong&gt;not&lt;/strong&gt; in the
request (i.e. one cannot look for &lt;code class="docutils literal"&gt;checked = False&lt;/code&gt;). Thus, following is enough to find if the checkbox has been checked:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code python"&gt;&lt;a id="rest_code_b086215f523340c8a28ec3e43ebb33ce-1" name="rest_code_b086215f523340c8a28ec3e43ebb33ce-1" href="https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/#rest_code_b086215f523340c8a28ec3e43ebb33ce-1"&gt;&lt;/a&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="s2"&gt;"checkbox_name"&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;form&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_b086215f523340c8a28ec3e43ebb33ce-2" name="rest_code_b086215f523340c8a28ec3e43ebb33ce-2" href="https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/#rest_code_b086215f523340c8a28ec3e43ebb33ce-2"&gt;&lt;/a&gt; &lt;span class="err"&gt;…&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;3. default-on checkboxes with state retained over POST… This one was tricky.  Apparently, initialising Flask-WTForms with
request data on &lt;em&gt;the first load&lt;/em&gt; overwrites default state. Solution: use form data in POST handler only.&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code python"&gt;&lt;a id="rest_code_a16a8dad7d7349b18638804127e0483d-1" name="rest_code_a16a8dad7d7349b18638804127e0483d-1" href="https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/#rest_code_a16a8dad7d7349b18638804127e0483d-1"&gt;&lt;/a&gt;&lt;span class="k"&gt;class&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;SomeForm&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;FlaskForm&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;a id="rest_code_a16a8dad7d7349b18638804127e0483d-2" name="rest_code_a16a8dad7d7349b18638804127e0483d-2" href="https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/#rest_code_a16a8dad7d7349b18638804127e0483d-2"&gt;&lt;/a&gt;  &lt;span class="n"&gt;checkbox_name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;BooleanField&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Some label"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;default&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;a id="rest_code_a16a8dad7d7349b18638804127e0483d-3" name="rest_code_a16a8dad7d7349b18638804127e0483d-3" href="https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/#rest_code_a16a8dad7d7349b18638804127e0483d-3"&gt;&lt;/a&gt;
&lt;a id="rest_code_a16a8dad7d7349b18638804127e0483d-4" name="rest_code_a16a8dad7d7349b18638804127e0483d-4" href="https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/#rest_code_a16a8dad7d7349b18638804127e0483d-4"&gt;&lt;/a&gt;  &lt;span class="nd"&gt;@app&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;route&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"/"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;methods&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"GET"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"POST"&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;a id="rest_code_a16a8dad7d7349b18638804127e0483d-5" name="rest_code_a16a8dad7d7349b18638804127e0483d-5" href="https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/#rest_code_a16a8dad7d7349b18638804127e0483d-5"&gt;&lt;/a&gt;  &lt;span class="k"&gt;def&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt;
&lt;a id="rest_code_a16a8dad7d7349b18638804127e0483d-6" name="rest_code_a16a8dad7d7349b18638804127e0483d-6" href="https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/#rest_code_a16a8dad7d7349b18638804127e0483d-6"&gt;&lt;/a&gt;      &lt;span class="c1"&gt;# doing "form = SomeForm(request.form)" here would obliterate default checkbox state; don't do it&lt;/span&gt;
&lt;a id="rest_code_a16a8dad7d7349b18638804127e0483d-7" name="rest_code_a16a8dad7d7349b18638804127e0483d-7" href="https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/#rest_code_a16a8dad7d7349b18638804127e0483d-7"&gt;&lt;/a&gt;
&lt;a id="rest_code_a16a8dad7d7349b18638804127e0483d-8" name="rest_code_a16a8dad7d7349b18638804127e0483d-8" href="https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/#rest_code_a16a8dad7d7349b18638804127e0483d-8"&gt;&lt;/a&gt;      &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;method&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"POST"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_a16a8dad7d7349b18638804127e0483d-9" name="rest_code_a16a8dad7d7349b18638804127e0483d-9" href="https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/#rest_code_a16a8dad7d7349b18638804127e0483d-9"&gt;&lt;/a&gt;          &lt;span class="n"&gt;form&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;SomeForm&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;form&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;a id="rest_code_a16a8dad7d7349b18638804127e0483d-10" name="rest_code_a16a8dad7d7349b18638804127e0483d-10" href="https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/#rest_code_a16a8dad7d7349b18638804127e0483d-10"&gt;&lt;/a&gt;          &lt;span class="err"&gt;…&lt;/span&gt;
&lt;a id="rest_code_a16a8dad7d7349b18638804127e0483d-11" name="rest_code_a16a8dad7d7349b18638804127e0483d-11" href="https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/#rest_code_a16a8dad7d7349b18638804127e0483d-11"&gt;&lt;/a&gt;      &lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_a16a8dad7d7349b18638804127e0483d-12" name="rest_code_a16a8dad7d7349b18638804127e0483d-12" href="https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/#rest_code_a16a8dad7d7349b18638804127e0483d-12"&gt;&lt;/a&gt;          &lt;span class="c1"&gt;# not a POST? start with default, empty form&lt;/span&gt;
&lt;a id="rest_code_a16a8dad7d7349b18638804127e0483d-13" name="rest_code_a16a8dad7d7349b18638804127e0483d-13" href="https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/#rest_code_a16a8dad7d7349b18638804127e0483d-13"&gt;&lt;/a&gt;          &lt;span class="n"&gt;form&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;SomeForm&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;a id="rest_code_a16a8dad7d7349b18638804127e0483d-14" name="rest_code_a16a8dad7d7349b18638804127e0483d-14" href="https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/#rest_code_a16a8dad7d7349b18638804127e0483d-14"&gt;&lt;/a&gt;          &lt;span class="err"&gt;…&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;</description><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2022/02/obvious-webdevel-things-dump/</guid><pubDate>Tue, 15 Feb 2022 14:29:29 GMT</pubDate></item><item><title>The lights are blinking, but a part of me is broken</title><link>https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;Software neglect forces perfectly good hardware obsolete. I was suprised it could strike such basic devices as
an ethernet switch.&lt;/p&gt;
&lt;p&gt;Few years ago I bought a TP-Link gigabit switch for home network. TL-SG2216 model ticked all the
boxes: 16 ports, 2 SFP slots (if I ever get FTTH), VLANs, IPv6 support and remote management, 5 years warranty.
Although &lt;code class="docutils literal"&gt;ssh&lt;/code&gt; required strange dances since the beginning
(&lt;code class="docutils literal"&gt;ssh &lt;span class="pre"&gt;-oKexAlgorithms=+diffie-hellman-group1-sha1&lt;/span&gt; &lt;span class="pre"&gt;-oCiphers=aes256-cbc&lt;/span&gt; &lt;span class="pre"&gt;-oHostKeyAlgorithms=+ssh-dss&lt;/span&gt; …&lt;/code&gt;), the HTTPS
interface worked fine. Until it broke last year.&lt;/p&gt;
&lt;p&gt;Firefox was adamant – SSL_ERROR_NO_CYPHER_OVERLAP. Chromium threw similar tantrum: ERR_SSL_VERSION_OR_CIPHER_MISMATCH.
HTTPS management UI on my switch ceased to be secure enough for modern browsers. The world rushed forward,
obsoleting and disabling old, unsecure algorthms and protocols. In the meantime my switch stood still.
Eventually the world surpassed what was possible with TP-Link.&lt;/p&gt;
&lt;p&gt;From my perspective, the web UI broke. I bought a switch with HTTPS management, and this feature stopped working.
So, in the last days of my warranty coverage, I reported the issue to TP-Link. Long story short, it was denied on
a technicality. I should have opened the issue through the distributor who sold me the switch, not directly
with TP-Link. I've got this information after the warranty lapsed, which ended the story.&lt;/p&gt;
&lt;p&gt;But frankly, I do not think TP-Link would be able to salvage this situation. I put only a tiny blame on them.&lt;/p&gt;
&lt;p&gt;They designed the switch couple years ago. It was good enough and worked with the ecosystem of its time.
They provided couple minor firmware upgrades, and after a decade on the market, EOLed the switch.&lt;/p&gt;
&lt;p&gt;It is the world which changed.&lt;/p&gt;
&lt;p&gt;Couple decades ago, network hardware once deployed would be working for years, practically forever. Security risks weren't
so serious as we have now. No one would deprecate and remove protocols in the name of security.
How long 3DES (hell, even single DES?) was with us?&lt;/p&gt;
&lt;p&gt;Today, security is paramount. Our lifes are entwined with TCP/IP services. Protocols are phased out
and improved when needed. Web browsers automatically update to newer versions. &lt;strong&gt;And this is good&lt;/strong&gt;.
But manufactures need to catch up. Product development cannot end when market availability starts.
Fixes, updates are required to do more work to retain functionality. Even bigger changes like adding new TLS protocol
needs to happen during the device lifetime. We need regulators (like EU) to enforce that.&lt;/p&gt;
&lt;p&gt;We also need to vote with our wallets. Maybe pay a bit more, but buy from companies providing better support
for their products, through their shelf-life and beyond. Couple of years ago I was &lt;a class="reference external" href="https://lwn.net/Articles/659603/"&gt;dissapointed&lt;/a&gt;
&lt;a class="reference external" href="https://enotty.pipebreaker.pl/posts/2016/04/schronisko-dla-kart-sd/"&gt;[2]&lt;/a&gt; with Motorola not delivering on promise of upgrades for Moto G. I will not buy Motorola Android phone
again.&lt;/p&gt;
&lt;p&gt;What options do I have with the switch?&lt;/p&gt;
&lt;p&gt;I could replace the switch with something modern, but it's just spending money and generating electro-waste.&lt;/p&gt;
&lt;p&gt;I could get a little VM with obsolete operating system and an old browser just to manage this switch. This is unsafe,
makes me shudder and is too cumbersome to even consider.&lt;/p&gt;
&lt;p&gt;Finally, I can manage the device using plain, unencrypted HTTP. Given it's accessible in my LAN only,
this is the way to go. I will be sad inside, but that's the only loss.&lt;/p&gt;
&lt;p&gt;&lt;code class="docutils literal"&gt;sslscan&lt;/code&gt; output below shows the sad state of TP-SG2216 web management:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code text"&gt;&lt;a id="rest_code_1d4549998ff94d9383773db54b4c94a2-1" name="rest_code_1d4549998ff94d9383773db54b4c94a2-1" href="https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/#rest_code_1d4549998ff94d9383773db54b4c94a2-1"&gt;&lt;/a&gt;Testing SSL server distrans.pipebreaker.pl on port 443 using SNI name distrans.pipebreaker.pl
&lt;a id="rest_code_1d4549998ff94d9383773db54b4c94a2-2" name="rest_code_1d4549998ff94d9383773db54b4c94a2-2" href="https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/#rest_code_1d4549998ff94d9383773db54b4c94a2-2"&gt;&lt;/a&gt;
&lt;a id="rest_code_1d4549998ff94d9383773db54b4c94a2-3" name="rest_code_1d4549998ff94d9383773db54b4c94a2-3" href="https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/#rest_code_1d4549998ff94d9383773db54b4c94a2-3"&gt;&lt;/a&gt;SSL/TLS Protocols:
&lt;a id="rest_code_1d4549998ff94d9383773db54b4c94a2-4" name="rest_code_1d4549998ff94d9383773db54b4c94a2-4" href="https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/#rest_code_1d4549998ff94d9383773db54b4c94a2-4"&gt;&lt;/a&gt;SSLv2     disabled
&lt;a id="rest_code_1d4549998ff94d9383773db54b4c94a2-5" name="rest_code_1d4549998ff94d9383773db54b4c94a2-5" href="https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/#rest_code_1d4549998ff94d9383773db54b4c94a2-5"&gt;&lt;/a&gt;SSLv3     disabled
&lt;a id="rest_code_1d4549998ff94d9383773db54b4c94a2-6" name="rest_code_1d4549998ff94d9383773db54b4c94a2-6" href="https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/#rest_code_1d4549998ff94d9383773db54b4c94a2-6"&gt;&lt;/a&gt;TLSv1.0   enabled
&lt;a id="rest_code_1d4549998ff94d9383773db54b4c94a2-7" name="rest_code_1d4549998ff94d9383773db54b4c94a2-7" href="https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/#rest_code_1d4549998ff94d9383773db54b4c94a2-7"&gt;&lt;/a&gt;TLSv1.1   disabled
&lt;a id="rest_code_1d4549998ff94d9383773db54b4c94a2-8" name="rest_code_1d4549998ff94d9383773db54b4c94a2-8" href="https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/#rest_code_1d4549998ff94d9383773db54b4c94a2-8"&gt;&lt;/a&gt;TLSv1.2   disabled
&lt;a id="rest_code_1d4549998ff94d9383773db54b4c94a2-9" name="rest_code_1d4549998ff94d9383773db54b4c94a2-9" href="https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/#rest_code_1d4549998ff94d9383773db54b4c94a2-9"&gt;&lt;/a&gt;TLSv1.3   disabled
&lt;a id="rest_code_1d4549998ff94d9383773db54b4c94a2-10" name="rest_code_1d4549998ff94d9383773db54b4c94a2-10" href="https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/#rest_code_1d4549998ff94d9383773db54b4c94a2-10"&gt;&lt;/a&gt;
&lt;a id="rest_code_1d4549998ff94d9383773db54b4c94a2-11" name="rest_code_1d4549998ff94d9383773db54b4c94a2-11" href="https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/#rest_code_1d4549998ff94d9383773db54b4c94a2-11"&gt;&lt;/a&gt;Supported Server Cipher(s):
&lt;a id="rest_code_1d4549998ff94d9383773db54b4c94a2-12" name="rest_code_1d4549998ff94d9383773db54b4c94a2-12" href="https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/#rest_code_1d4549998ff94d9383773db54b4c94a2-12"&gt;&lt;/a&gt;Preferred TLSv1.0  128 bits  RC4-SHA
&lt;a id="rest_code_1d4549998ff94d9383773db54b4c94a2-13" name="rest_code_1d4549998ff94d9383773db54b4c94a2-13" href="https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/#rest_code_1d4549998ff94d9383773db54b4c94a2-13"&gt;&lt;/a&gt;Accepted  TLSv1.0  128 bits  RC4-MD5
&lt;a id="rest_code_1d4549998ff94d9383773db54b4c94a2-14" name="rest_code_1d4549998ff94d9383773db54b4c94a2-14" href="https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/#rest_code_1d4549998ff94d9383773db54b4c94a2-14"&gt;&lt;/a&gt;Accepted  TLSv1.0  112 bits  DES-CBC3-SHA
&lt;a id="rest_code_1d4549998ff94d9383773db54b4c94a2-15" name="rest_code_1d4549998ff94d9383773db54b4c94a2-15" href="https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/#rest_code_1d4549998ff94d9383773db54b4c94a2-15"&gt;&lt;/a&gt;Accepted  TLSv1.0  56 bits   TLS_RSA_WITH_DES_CBC_SHA
&lt;/pre&gt;&lt;/div&gt;</description><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2022/02/the-lights-are-blinking-but-a-part-of-me-is-broken/</guid><pubDate>Sat, 12 Feb 2022 13:34:33 GMT</pubDate></item><item><title>I am sorry if you read this at “We Make Fedora” :(</title><link>https://enotty.pipebreaker.pl/posts/2021/11/i-am-sorry-if-you-read-this-at-we-make-fedora/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;Chances are you are reading this post on a blog aggregator (“planet”)
named &lt;em&gt;We Make Fedora&lt;/em&gt; (lack of link deliberate). &lt;em&gt;We Make Fedora&lt;/em&gt; was
&lt;a class="reference external" href="https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/S37ZLH6WV26JZDA4UXIFKV4V52KL2M3Q/"&gt;apparently organised by Daniel Pocock&lt;/a&gt;.
He copied all the blog sources from &lt;a class="reference external" href="http://fedoraplanet.org/"&gt;Planet Fedora&lt;/a&gt;,
&lt;strong&gt;but mixed-in some shady, anonymous sources&lt;/strong&gt;. This way, “conspiracy theory”-like nameless
posts &lt;strong&gt;build on credibility of real Fedora developer's blogs&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I do not want neither my name nor mine posts to appear alongside such content. Examples
of recent posts:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;borderline slanderous posts about Chris Lamb, former Debian leadership (on allegely Fedora-related site!) personal matters&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;insinuations about trafficking of underage girls by open source communities, on one occasion implicating Justin W. Flory from Fedora&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;comparison between Adolf Hitler's activities (!!!) and German Free Software Foundation of Europe&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;equaling Google's Youth Hacking 4 Freedom with nazi Concentration Camps&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- Sources:
https://fsfellowship.eu/open-labs-mozilla-grooming-women-for-outreachy/
https://fsfellowship.eu/justin-flory-unicef-redhat-jeffrey-epstein-moment/
https://fsfellowship.eu/100-years-hitler-psychological-experiments-on-volunteers/
https://fsfellowship.eu/matthias-kirschner-fsfe-people-trafficking-coercion-volunteers/
http://fsfellowship.eu/google-fsfe-child-labor/
https://debian.community/karen-sandler-outreachy-debian-money/
https://debian.community/mark-shuttleworth-elio-qoshi-debian-ubuntu-underage-girls/ --&gt;
&lt;p&gt;Holocaust is a very painful memory for European society. It should never be
forgotten, the memory should be treated with seriousness in places like
&lt;a class="reference external" href="https://www.yadvashem.org/"&gt;Yad Vashem Institue&lt;/a&gt;. It should &lt;strong&gt;never&lt;/strong&gt; be
used in an anonymous slanderous content.&lt;/p&gt;
&lt;p&gt;Again, &lt;strong&gt;I do not want my name used to legitimise above content&lt;/strong&gt;.
I've asked Daniel to remove my blog from his aggregator three times:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;on Tue, 24 Aug 2021 12:00:33 +0200, in a direct email&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;on Mon, 6 Sep 2021 09:17:35 +0200, in an email to Daniel and fedora-devel (apparently still in moderation queue)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;on Mon, 6 Sep 2021 17:08:42 +0200, in a reply to Daniel&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Despite above efforts, my posts still appear on &lt;em&gt;We Make Fedora&lt;/em&gt;. I don't
want to see my name on a site with such dubious content. I going to block access
to my RSS/ATOM feeds for the aggregator. Unfortunately anyone can utilize
public feeds to create any site he wants.&lt;/p&gt;</description><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2021/11/i-am-sorry-if-you-read-this-at-we-make-fedora/</guid><pubDate>Sat, 27 Nov 2021 16:00:00 GMT</pubDate></item><item><title>ACME &amp; FreeIPA – super easy</title><link>https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;This post will be short. Recent &lt;a class="reference external" href="https://freeipa.org"&gt;FreeIPA&lt;/a&gt; versions
contain ACME server implementation, which makes TLS certificate issuance a breeze.&lt;/p&gt;
&lt;dl class="simple"&gt;
&lt;dt&gt;FreeIPA&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;FreeIPA is a solution giving you LDAP for user accounts, CA for issuing certificates
and Kerberos for SSO, delivered with nice WebUI in an integrated package.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;ACME&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;&lt;em&gt;Automated Certificate Management Environment&lt;/em&gt; is a protocol designed to automate
process of getting a TLS certificate. It was popularised by Let's Encrypt, BuyPass,
Venafi and others.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;When you have FreeIPA, you have your own Certificate Authority. It is most sensible
to use it for securing your internal endpoints. Your clients should already trust this CA.
Your internal network may not be reachable by external ACME providers. And you may want
to hide your internal hostnames from appearing in global Certificate Transparency Databases.&lt;/p&gt;
&lt;p&gt;Ready to start? Make sure package &lt;cite&gt;pki-acme&lt;/cite&gt; is installed on you FreeIPA server. Next,
enable ACME functionality:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ ipa-acme-manage enable&lt;/p&gt;
&lt;p&gt;The ipa-acme-manage command was successful&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Done! Now configure the client – for my k8s I'm using awesome &lt;a class="reference external" href="https://cert-manager.io/"&gt;cert-manager&lt;/a&gt;.
Start with definition of a &lt;cite&gt;ClusterIssuer&lt;/cite&gt; with your FreeIPA URL (put you own email and server address, of course):&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code yaml"&gt;&lt;a id="rest_code_6d6f42c24b114d0994bd07968ad328a3-1" name="rest_code_6d6f42c24b114d0994bd07968ad328a3-1" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_6d6f42c24b114d0994bd07968ad328a3-1"&gt;&lt;/a&gt;&lt;span class="nn"&gt;---&lt;/span&gt;
&lt;a id="rest_code_6d6f42c24b114d0994bd07968ad328a3-2" name="rest_code_6d6f42c24b114d0994bd07968ad328a3-2" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_6d6f42c24b114d0994bd07968ad328a3-2"&gt;&lt;/a&gt;&lt;span class="nt"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;ClusterIssuer&lt;/span&gt;
&lt;a id="rest_code_6d6f42c24b114d0994bd07968ad328a3-3" name="rest_code_6d6f42c24b114d0994bd07968ad328a3-3" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_6d6f42c24b114d0994bd07968ad328a3-3"&gt;&lt;/a&gt;&lt;span class="nt"&gt;apiVersion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;cert-manager.io/v1&lt;/span&gt;
&lt;a id="rest_code_6d6f42c24b114d0994bd07968ad328a3-4" name="rest_code_6d6f42c24b114d0994bd07968ad328a3-4" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_6d6f42c24b114d0994bd07968ad328a3-4"&gt;&lt;/a&gt;&lt;span class="nt"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_6d6f42c24b114d0994bd07968ad328a3-5" name="rest_code_6d6f42c24b114d0994bd07968ad328a3-5" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_6d6f42c24b114d0994bd07968ad328a3-5"&gt;&lt;/a&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;pipebreaker-freeipa&lt;/span&gt;
&lt;a id="rest_code_6d6f42c24b114d0994bd07968ad328a3-6" name="rest_code_6d6f42c24b114d0994bd07968ad328a3-6" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_6d6f42c24b114d0994bd07968ad328a3-6"&gt;&lt;/a&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;spec&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_6d6f42c24b114d0994bd07968ad328a3-7" name="rest_code_6d6f42c24b114d0994bd07968ad328a3-7" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_6d6f42c24b114d0994bd07968ad328a3-7"&gt;&lt;/a&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;acme&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_6d6f42c24b114d0994bd07968ad328a3-8" name="rest_code_6d6f42c24b114d0994bd07968ad328a3-8" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_6d6f42c24b114d0994bd07968ad328a3-8"&gt;&lt;/a&gt;&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;email&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;tomek@pipebreaker.pl&lt;/span&gt;
&lt;a id="rest_code_6d6f42c24b114d0994bd07968ad328a3-9" name="rest_code_6d6f42c24b114d0994bd07968ad328a3-9" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_6d6f42c24b114d0994bd07968ad328a3-9"&gt;&lt;/a&gt;&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;server&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;https://ipa-ca.pipebreaker.pl/acme/directory&lt;/span&gt;
&lt;a id="rest_code_6d6f42c24b114d0994bd07968ad328a3-10" name="rest_code_6d6f42c24b114d0994bd07968ad328a3-10" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_6d6f42c24b114d0994bd07968ad328a3-10"&gt;&lt;/a&gt;&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;privateKeySecretRef&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_6d6f42c24b114d0994bd07968ad328a3-11" name="rest_code_6d6f42c24b114d0994bd07968ad328a3-11" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_6d6f42c24b114d0994bd07968ad328a3-11"&gt;&lt;/a&gt;&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="c1"&gt;# Secret resource that will be used to store the account's private key.&lt;/span&gt;
&lt;a id="rest_code_6d6f42c24b114d0994bd07968ad328a3-12" name="rest_code_6d6f42c24b114d0994bd07968ad328a3-12" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_6d6f42c24b114d0994bd07968ad328a3-12"&gt;&lt;/a&gt;&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nt"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;issuer-pbrk-account-key&lt;/span&gt;
&lt;a id="rest_code_6d6f42c24b114d0994bd07968ad328a3-13" name="rest_code_6d6f42c24b114d0994bd07968ad328a3-13" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_6d6f42c24b114d0994bd07968ad328a3-13"&gt;&lt;/a&gt;&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;solvers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_6d6f42c24b114d0994bd07968ad328a3-14" name="rest_code_6d6f42c24b114d0994bd07968ad328a3-14" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_6d6f42c24b114d0994bd07968ad328a3-14"&gt;&lt;/a&gt;&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="p p-Indicator"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;http01&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_6d6f42c24b114d0994bd07968ad328a3-15" name="rest_code_6d6f42c24b114d0994bd07968ad328a3-15" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_6d6f42c24b114d0994bd07968ad328a3-15"&gt;&lt;/a&gt;&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="nt"&gt;ingress&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p p-Indicator"&gt;{}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Second (and last) step is to annotate each ingress which should get a TLS certificate
automatically provided:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code yaml"&gt;&lt;a id="rest_code_7943a462f13942f69b77828837ffced2-1" name="rest_code_7943a462f13942f69b77828837ffced2-1" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_7943a462f13942f69b77828837ffced2-1"&gt;&lt;/a&gt;&lt;span class="nn"&gt;---&lt;/span&gt;
&lt;a id="rest_code_7943a462f13942f69b77828837ffced2-2" name="rest_code_7943a462f13942f69b77828837ffced2-2" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_7943a462f13942f69b77828837ffced2-2"&gt;&lt;/a&gt;&lt;span class="nt"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;Ingress&lt;/span&gt;
&lt;a id="rest_code_7943a462f13942f69b77828837ffced2-3" name="rest_code_7943a462f13942f69b77828837ffced2-3" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_7943a462f13942f69b77828837ffced2-3"&gt;&lt;/a&gt;&lt;span class="nt"&gt;apiVersion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;networking.k8s.io/v1&lt;/span&gt;
&lt;a id="rest_code_7943a462f13942f69b77828837ffced2-4" name="rest_code_7943a462f13942f69b77828837ffced2-4" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_7943a462f13942f69b77828837ffced2-4"&gt;&lt;/a&gt;&lt;span class="nt"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_7943a462f13942f69b77828837ffced2-5" name="rest_code_7943a462f13942f69b77828837ffced2-5" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_7943a462f13942f69b77828837ffced2-5"&gt;&lt;/a&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;annotations&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_7943a462f13942f69b77828837ffced2-6" name="rest_code_7943a462f13942f69b77828837ffced2-6" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_7943a462f13942f69b77828837ffced2-6"&gt;&lt;/a&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;cert-manager.io/cluster-issuer&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;pipebreaker-freeipa&lt;/span&gt;
&lt;a id="rest_code_7943a462f13942f69b77828837ffced2-7" name="rest_code_7943a462f13942f69b77828837ffced2-7" href="https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/#rest_code_7943a462f13942f69b77828837ffced2-7"&gt;&lt;/a&gt;&lt;span class="p p-Indicator"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;…&lt;/span&gt;&lt;span class="p p-Indicator"&gt;]&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;And that's basically it. After few moments certificate should be issued:&lt;/p&gt;
&lt;img alt="/dżogstaff/2021.11.25-freeipa-issued-certificate.png" class="align-center" src="https://enotty.pipebreaker.pl/d%C5%BCogstaff/2021.11.25-freeipa-issued-certificate.png"&gt;
&lt;p&gt;When using &lt;cite&gt;cert-manager&lt;/cite&gt;, make sure it's version &lt;strong&gt;1.6.0&lt;/strong&gt; or later. There was
&lt;a class="reference external" href="https://github.com/jetstack/cert-manager/pull/4430"&gt;a fix for ambiguity in spec&lt;/a&gt; which solved
some interoperability problems with FreeIPA implementation. The fix &lt;em&gt;may&lt;/em&gt; be backported for older
&lt;cite&gt;cert-manager&lt;/cite&gt; releases.&lt;/p&gt;</description><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2021/11/acme-freeipa-super-easy/</guid><pubDate>Thu, 25 Nov 2021 11:05:24 GMT</pubDate></item><item><title>Makeshift Kubernetes external load balancer with haproxy</title><link>https://enotty.pipebreaker.pl/posts/2021/07/makeshift-kubernetes-external-load-balancer-with-haproxy/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;Some time ago I've replaced Google Analytics with &lt;a class="reference external" href="https://plausible.io/"&gt;Plausible&lt;/a&gt;. It works great,
except for one tiny thing. The map of visitors was empty. Due to various layers of Network Adress Translations
in &lt;a class="reference external" href="https://enotty.pipebreaker.pl/posts/2020/12/k3s-is-tiny-and-cute/"&gt;k3s&lt;/a&gt; networking setup, the original
client IP address information was not reaching analytics engine.&lt;/p&gt;
&lt;p&gt;There are solutions – there is a &lt;a class="reference external" href="https://www.haproxy.com/blog/haproxy/proxy-protocol/"&gt;PROXY Protocol&lt;/a&gt; exactly
for that case. And Traefik, which handles ingress in k3s, supports PROXY. Only a bit of gymnastic was needed.&lt;/p&gt;
&lt;p&gt;Legacy IPv4 traffic entry point to my bare-metal cluster has a form of a small &lt;em&gt;in-the-cloud&lt;/em&gt; virtual machine. It routes incoming TCP/443 traffic
over the VPN into the cluster. The VM itself &lt;strong&gt;is not&lt;/strong&gt; a part of kubernetes setup – I cannot run any pods on it. I've
decided to use Ansible to configure it.&lt;/p&gt;
&lt;p&gt;The outcome lives in &lt;a class="reference external" href="https://github.com/zdzichu/k8s-haproxy-external-lb"&gt;k8s-haproxy-external-lb&lt;/a&gt; and gives me following map:&lt;/p&gt;
&lt;img alt="/dżogstaff/2021.07.30-plausible-map.png" class="align-center" src="https://enotty.pipebreaker.pl/d%C5%BCogstaff/2021.07.30-plausible-map.png"&gt;
&lt;p&gt;&lt;em&gt;(greetings Australia, have you found information about the red LED on Sonoff?)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;There are few moving parts, but with Python, Kubernetes and Ansible, the result is suprisingly simple:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;there's a persistent pod running on the k8s cluster, watching &lt;code class="docutils literal"&gt;EndPoints&lt;/code&gt; exposed by Traefik. When
a change occurs (traefik pod restart, replica count modification, etc.) – ansible playbook is triggered.
This pod may be seen as a &lt;em&gt;k8s controller&lt;/em&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;ansible playbook collects Traefik pod's IP addresses and ports.
JSON parsing in ansible is a bit suboptimal:
&lt;code class="docutils literal"&gt;… | first | first | first&lt;/code&gt; &lt;a class="reference external" href="https://github.com/zdzichu/k8s-haproxy-external-lb/blob/9a964ecafd6311a92fe954993147cac4f4248b4f/ansible/haproxy-configure.yaml#L28"&gt;looks bad&lt;/a&gt; but works.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;still using ansible, haproxy configuration file is created, put on the edge nodes, and the service is restarted. I've selected
haproxy because:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;it implements PROXY protocol&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I did &lt;a class="reference external" href="https://enotty.pipebreaker.pl/posts/2019/07/openshifts-haproxy-as-ipv6-ingress/"&gt;similar thing on OpenShift&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;haproxy passes received traffic directly to Traefik. This happens at the TCP level. TLS is terminated at Traefik,
and certificates do not leave kubernetes cluster.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Some minimal preparations were needed. Communication between edge node and kubernetes pod network had to be established.
This was done in an instant, thanks to &lt;a class="reference external" href="https://wireguard.com"&gt;Wireguard&lt;/a&gt;.
SSH keypair for ansible had to be put in a k8s &lt;code class="docutils literal"&gt;Secret&lt;/code&gt; and distributed among edge nodes. Finally, small fix
was needed in ansible itself: &lt;em&gt;local&lt;/em&gt; connection plugin was not happy when run in a container, as random user without
an entry in &lt;code class="docutils literal"&gt;/etc/passwd&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Traefik&lt;/em&gt; had to be configured to trust PROXY protocol information and generate &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;X-Forwarded-For&lt;/span&gt;&lt;/code&gt; headers.
&lt;em&gt;Plausible&lt;/em&gt; utilized information in those headers without additional tinkering.&lt;/p&gt;
&lt;p&gt;Configuration details are described at &lt;a class="reference external" href="https://github.com/zdzichu/k8s-haproxy-external-lb"&gt;https://github.com/zdzichu/k8s-haproxy-external-lb&lt;/a&gt;.&lt;/p&gt;</description><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2021/07/makeshift-kubernetes-external-load-balancer-with-haproxy/</guid><pubDate>Fri, 30 Jul 2021 12:56:58 GMT</pubDate></item><item><title>PSA: kernel 5.12.11 is safe for bcache, again</title><link>https://enotty.pipebreaker.pl/posts/2021/06/psa-kernel-51211-is-safe-for-bcache-again/</link><dc:creator>Tomasz Torcz</dc:creator><description>&lt;p&gt;With the release of Linux kernel 5.12.11, &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Bcache"&gt;bcache&lt;/a&gt;
is safe to use, again. The &lt;a class="reference external" href="https://marc.info/?l=linux-bcache&amp;amp;m=162307032231208&amp;amp;w=2"&gt;patch&lt;/a&gt;
&lt;code class="docutils literal"&gt;bcache: avoid oversized read request in cache missing code path&lt;/code&gt; has been merged.&lt;/p&gt;
&lt;p&gt;Due to changes in 5.12 kernels, &lt;code class="docutils literal"&gt;bcache&lt;/code&gt; was prone to cause a &lt;code class="docutils literal"&gt;BUG_ON()&lt;/code&gt; when submitting
large I/O requests. The result was a kernel panic or a system freeze. Problem was reported in
couple of places: &lt;a class="reference external" href="https://bugzilla.redhat.com/show_bug.cgi?id=1965809"&gt;Fedora bug#1965809&lt;/a&gt;,
&lt;a class="reference external" href="https://www.spinics.net/lists/linux-bcache/msg10224.html"&gt;bcache mailing list #1&lt;/a&gt;,
&lt;a class="reference external" href="https://marc.info/?l=linux-bcache&amp;amp;m=162110659619628&amp;amp;w=2"&gt;bcache mailing list #2&lt;/a&gt;.&lt;/p&gt;</description><category>english</category><guid>https://enotty.pipebreaker.pl/posts/2021/06/psa-kernel-51211-is-safe-for-bcache-again/</guid><pubDate>Wed, 16 Jun 2021 10:32:18 GMT</pubDate></item></channel></rss>