<?xml version="1.0"?>
<rss version="2.0">

<channel>
	<title>Planet Debian</title>
	<link>https://planet.debian.org/</link>
	<language>en</language>
	<description>Planet Debian - https://planet.debian.org/</description>


<item>
	<title>Vincent Bernat: Performance evolution of route lookup on Linux</title>
	<guid>http://www.luffy.cx/en/blog/2026-linux-performance-ipv4-ipv6-route-lookup.html</guid>
	<link>https://vincent.bernat.ch/en/blog/2026-linux-performance-ipv4-ipv6-route-lookup</link>
     <description>  &lt;p&gt;In previous articles, I explained how the Linux kernel implements &lt;a href=&quot;https://vincent.bernat.ch/en/blog/2017-ipv4-route-lookup-linux&quot; title=&quot;IPv4 route lookup on Linux&quot;&gt;IPv4&lt;/a&gt; and
&lt;a href=&quot;https://vincent.bernat.ch/en/blog/2017-ipv6-route-lookup-linux&quot; title=&quot;IPv6 route lookup on Linux&quot;&gt;IPv6&lt;/a&gt; routing tables, and I showed the performance improvement of route
lookups &lt;a href=&quot;https://vincent.bernat.ch/en/blog/2017-performance-progression-ipv4-route-lookup-linux&quot; title=&quot;Performance progression of IPv4 route lookup on Linux (2018)&quot;&gt;from Linux 2.6.32 to 4.16 for IPv4&lt;/a&gt;—including the impact of
the &lt;a href=&quot;https://meltdownattack.com/&quot; title=&quot;Meltdown and Spectre&quot;&gt;Meltdown and Spectre mitigations&lt;/a&gt;—as well as &lt;a href=&quot;https://vincent.bernat.ch/en/blog/2017-performance-progression-ipv6-route-lookup-linux&quot; title=&quot;Performance progression of IPv6 route lookup on Linux (2018)&quot;&gt;from Linux 2.6.39 to 4.18
for IPv6&lt;/a&gt;. This article updates the numbers through Linux 7.3 and
investigates the perpetrator responsible for the performance regressions! 🕵️‍♂️&lt;/p&gt;
&lt;p&gt;I ran the following benchmarks on an &lt;a href=&quot;https://www.amd.com/en/products/processors/server/epyc/4th-generation-9004-and-8004-series/amd-epyc-8024p.html&quot; title=&quot;AMD EPYC™ 8024P&quot;&gt;&lt;strong&gt;AMD EPYC 8024P&lt;/strong&gt;&lt;/a&gt;, a &lt;a href=&quot;https://en.wikipedia.org/wiki/Zen_4#Zen_4c&quot; title=&quot;Zen 4 on Wikipedia&quot;&gt;Zen 4c
CPU&lt;/a&gt;, rented from &lt;a href=&quot;https://www.scaleway.com/en/elastic-metal/&quot; title=&quot;Scaleway Elastic Metal: bare metal servers in the cloud&quot;&gt;Scaleway&lt;/a&gt;, running at 2.4 GHz with CPU boost disabled. I
compiled the kernels with GCC 10.2: this version can compile older kernels as
well as the current ones.&lt;/p&gt;
&lt;h1 id=&quot;ipv6&quot;&gt;IPv6&lt;/h1&gt;
&lt;figure class=&quot;lf-fullbleed&quot;&gt;&lt;div class=&quot;lf-media-outer&quot; style=&quot;width: 1127px;&quot;&gt;&lt;span class=&quot;lf-media-inner&quot;&gt;&lt;img alt=&quot;Performance evolution of IPv6 route lookups from Linux 4.14 to 7.3&quot; class=&quot;lf-media&quot; height=&quot;486&quot; src=&quot;https://media-bernat-ch.b-cdn.net/images/linux/ipv6-radix-perf-2026.b057a30dbcf68e.svg&quot; width=&quot;1127&quot; /&gt;&lt;/span&gt;&lt;/div&gt;Performance evolution of IPv6 route lookups. Versions with an asterisk have SRSO mitigation disabled.&lt;/figure&gt;
&lt;p&gt;I tested four scenarios:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a recent full view with about 260,000 prefixes,&lt;/li&gt;
&lt;li&gt;a full view from 2017 with about 40,000 prefixes,&lt;/li&gt;
&lt;li&gt;a set of 40,000 /48 prefixes, such that 2 lookups out of 3 match, and&lt;/li&gt;
&lt;li&gt;a set of 40,000 random /128 prefixes, such that 1 lookup out of 400 matches.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In Linux &lt;strong&gt;4.15&lt;/strong&gt;, Wei Wang improved the lookup performance by replacing the
read-write lock with an &lt;abbr title=&quot;Read-Copy-Update&quot;&gt;RCU&lt;/abbr&gt; and a spinlock in &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=66f5d6ce53e665477d2a33e8f539d4fa4ca81c83&quot; title=&quot;ipv6: replace rwlock with rcu and spinlock in fib6_table&quot;&gt;commit 66f5d6ce53e6&lt;/a&gt;. In Linux
&lt;strong&gt;4.18&lt;/strong&gt;, David Ahern &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0565de29cbd65b378147d36f9642f93a046240dc&quot; title=&quot;net/ipv6: Separate data structures for FIB and data path&quot;&gt;improved the data structures used by route lookup&lt;/a&gt;. In
Linux &lt;strong&gt;5.9&lt;/strong&gt;, Brian Vazquez removed expensive indirect calls in &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=55cced4f813bece01f96256d96f283b9210d19ee&quot; title=&quot;ipv6: fib6: avoid indirect calls from fib6_rule_lookup&quot;&gt;commit
55cced4f813b&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The major 200 ns regression introduced in Linux &lt;strong&gt;6.5&lt;/strong&gt; wiped out all these
improvements. This version implements a mitigation for &quot;&lt;a href=&quot;https://docs.kernel.org/admin-guide/hw-vuln/srso.html&quot; title=&quot;Speculative Return Stack Overflow (SRSO)&quot;&gt;Speculative Return
Stack Overflow&lt;/a&gt;,&quot; a vulnerability affecting AMD processors, in &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fb3bd914b3ec28f5fb697ac55c4846ac2d542855&quot; title=&quot;x86/srso: Add a Speculative RAS Overflow mitigation&quot;&gt;commit
fb3bd914b3ec&lt;/a&gt;. This mitigation adds about 20 cycles on each function return.
It was backported to older kernels (5.10, 5.15, 6.1, and 6.4). To keep the
results legible, I disabled the mitigation for these versions with
&lt;code&gt;spec_rstack_overflow=off&lt;/code&gt; on the kernel command-line.&lt;/p&gt;
&lt;p&gt;You can check the vulnerabilities impacting your CPU and their mitigations with
&lt;code&gt;lscpu&lt;/code&gt;. Some mitigations may depend on the microcode or on the
firmware.&lt;sup id=&quot;fnref:microcode&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:microcode&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;lscpu&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;grep&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&#39;^Vuln&#39;&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Gather data sampling:      Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Indirect target selection: Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Itlb multihit:             Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability L1tf:                      Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Mds:                       Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Meltdown:                  Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Mmio stale data:           Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Reg file data sampling:    Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Retbleed:                  Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Spec rstack overflow:      Mitigation; Safe RET&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Spectre v1:                Mitigation; usercopy/swapgs barriers and __user pointer sanitization&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Spectre v2:                Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Srbds:                     Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Tsa:                       Vulnerable: Clear CPU buffers attempted, no microcode&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Tsx async abort:           Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Vmscape:                   Mitigation; IBPB before exit to userspace&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h1 id=&quot;ipv4&quot;&gt;IPv4&lt;/h1&gt;
&lt;figure class=&quot;lf-fullbleed&quot;&gt;&lt;div class=&quot;lf-media-outer&quot; style=&quot;width: 1120px;&quot;&gt;&lt;span class=&quot;lf-media-inner&quot;&gt;&lt;img alt=&quot;Performance evolution of IPv4 route lookups from Linux 4.14 to 7.3&quot; class=&quot;lf-media&quot; height=&quot;486&quot; src=&quot;https://media-bernat-ch.b-cdn.net/images/linux/lpc-trie-perf-2026.774e21ded23623.svg&quot; width=&quot;1120&quot; /&gt;&lt;/span&gt;&lt;/div&gt;Performance evolution of IPv4 route lookups. Versions with an asterisk have SRSO mitigation disabled.&lt;/figure&gt;
&lt;p&gt;I tested three scenarios:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a recent full view with more than 1,000,000 prefixes,&lt;/li&gt;
&lt;li&gt;a subset of a full view from 2017 with 500,000 prefixes, and&lt;/li&gt;
&lt;li&gt;a set of 500,000 contiguous /32 prefixes.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The 30 ns impact of the mitigation for &lt;abbr title=&quot;Speculative Return Stack Overflow&quot;&gt;SRSO&lt;/abbr&gt; in Linux &lt;strong&gt;6.5&lt;/strong&gt; is smaller than for
IPv6 because IPv4 route lookups traverse fewer functions: around 4 function
calls for IPv4 compared to 25 for IPv6.&lt;/p&gt;
&lt;p&gt;In Linux &lt;strong&gt;5.11&lt;/strong&gt;, I introduced a regression in &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c0c5a60f0f1311bcf08bbe735122096d6326fb5b&quot; title=&quot;net: evaluate net.ipvX.conf.all.ignore_routes_with_linkdown&quot;&gt;commit c0c5a60f0f13&lt;/a&gt; after
fixing the behavior of &lt;code&gt;net.ipv4.conf.all.ignore_routes_with_linkdown&lt;/code&gt;!&lt;sup id=&quot;fnref:ipv6&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:ipv6&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;
As a result, the &lt;a href=&quot;https://elixir.bootlin.com/linux/v7.3.1/source/include/linux/inetdevice.h#L265&quot; title=&quot;Definition of ip_ignore_linkdown()&quot;&gt;&lt;code&gt;ip_ignore_linkdown()&lt;/code&gt;&lt;/a&gt; function spends
around 5 additional cycles to return a result as it needs to follow three
additional pointers. &lt;a href=&quot;https://elixir.bootlin.com/linux/v7.3.1/source/include/net/ip_fib.h#L374&quot; title=&quot;Definition of fib_lookup()&quot;&gt;&lt;code&gt;fib_lookup()&lt;/code&gt;&lt;/a&gt; eventually calls it in the
&lt;a href=&quot;https://elixir.bootlin.com/linux/v7.3.1/source/net/ipv4/fib_trie.c#L1406&quot; title=&quot;Definition of fib_lookup_good_nhc()&quot;&gt;following code&lt;/a&gt;:&lt;/p&gt;
&lt;div class=&quot;language-c codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ip_ignore_linkdown&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nhc&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nhc_dev&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nhc&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nhc_flags&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;RTNH_F_LINKDOWN&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fib_flags&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;FIB_LOOKUP_IGNORE_LINKSTATE&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;If we reorder the conditions, we avoid calling &lt;code&gt;ip_ignore_linkdown()&lt;/code&gt; for the
most common case where the link isn&#39;t down:&lt;/p&gt;
&lt;div class=&quot;language-c codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nhc&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nhc_flags&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;RTNH_F_LINKDOWN&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fib_flags&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;FIB_LOOKUP_IGNORE_LINKSTATE&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;
&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ip_ignore_linkdown&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nhc&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nhc_dev&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Here&#39;s the distribution of lookup times before applying the &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=5fe3653f13b9d0549d8e8f6c181cf2dcbc67b06a&quot; title=&quot;net/ipv4: check RTNH_F_LINKDOWN before ip_ignore_linkdown() - kernel/git/netdev/net-next.git - Netdev Group&#39;s -next networking tree&quot;&gt;patch&lt;/a&gt; on top of
net-next:&lt;sup id=&quot;fnref:release&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:release&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class=&quot;language-text-only codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;min=128 max=4657 count=994104 95th=134 90th=133 50th=132 mad=0
    value │                         ┊                            count
      128 │                                                        120
      129 │                                                       2232
      130 │▒                                                     25224
      131 │▒▒▒▒▒▒▒▒▒▒▒▒▒░                                       264264
      132 │▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░             516480
      133 │▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░      126864
      134 │▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░      21624
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The lighter shade depicts the cumulative distribution function. After applying
the patch, the median improved from 132 to 126 cycles:&lt;sup id=&quot;fnref:cycle&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:cycle&quot;&gt;4&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class=&quot;language-text-only codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;min=124 max=208839 count=994104 95th=128 90th=127 50th=126 mad=0
    value │                         ┊                            count
      124 │                                                        576
      125 │▒▒                                                    49440
      126 │▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░                      584904
      127 │▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░       284592
      128 │▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░      45288
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h1 id=&quot;impact-of-mitigations&quot;&gt;Impact of mitigations&lt;/h1&gt;
&lt;p&gt;To reduce the impact of mitigations, you can disable all of them with
&lt;code&gt;mitigations=off&lt;/code&gt;, disable only a specific one like with
&lt;code&gt;spec_rstack_overflow=off&lt;/code&gt;, or protect against only some &lt;a href=&quot;https://docs.kernel.org/admin-guide/hw-vuln/attack_vector_controls.html&quot; title=&quot;Attack Vector Controls&quot;&gt;attack vectors&lt;/a&gt; with
&lt;code&gt;mitigations=auto,no_user_kernel&lt;/code&gt;, starting from Linux 6.17.&lt;/p&gt;
&lt;p&gt;The impact is also quite different depending on the CPU. For example, on a &lt;a href=&quot;https://www.intel.com/content/www/us/en/products/sku/198011/intel-xeon-w2295-processor-24-75m-cache-3-00-ghz/specifications.html&quot; title=&quot;Intel® Xeon® W-2295 Processor (24.75M Cache, 3.00 GHz) Specifications&quot;&gt;Xeon
W-2295&lt;/a&gt;, an Intel desktop CPU from 2020, the impact of the mitigations is only
a few cycles for IPv4, and less than 3% for IPv6. The main contributor is the
mitigation for the &lt;a href=&quot;https://docs.kernel.org/admin-guide/hw-vuln/indirect-target-selection.html&quot; title=&quot;Indirect Target Selection (ITS) — The Linux Kernel documentation&quot;&gt;Indirect Target Selection&lt;/a&gt; vulnerability, which is fixed
since the &lt;a href=&quot;https://en.wikipedia.org/wiki/Sapphire_Rapids&quot; title=&quot;Sapphire Rapids on Wikipedia&quot;&gt;Sapphire Rapids&lt;/a&gt; architecture.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;If we set aside the regressions introduced by the &lt;a href=&quot;https://docs.kernel.org/admin-guide/hw-vuln/&quot; title=&quot;Hardware vulnerabilities — The Linux Kernel documentation&quot;&gt;mitigations against CPU
attacks&lt;/a&gt;, the performance of IPv4 is declining slowly over time while IPv6 has
improved in the past and is currently stable. If routing performance is
important, you have several options: choose a different CPU like an &lt;a href=&quot;https://en.wikipedia.org/wiki/Zen_5&quot; title=&quot;Zen 5 on Wikipedia&quot;&gt;AMD Zen 5
CPU&lt;/a&gt;, a &lt;a href=&quot;https://en.wikipedia.org/wiki/Sapphire_Rapids&quot; title=&quot;Sapphire Rapids on Wikipedia&quot;&gt;fourth generation Xeon CPU&lt;/a&gt;, or maybe an &lt;a href=&quot;https://en.wikipedia.org/wiki/ARM_Neoverse#Neoverse_V2&quot; title=&quot;ARM Neoverse on Wikipedia&quot;&gt;ARM Neoverse V2&lt;/a&gt;;
disable some or all the mitigations; bypass routing with &lt;abbr title=&quot;eXpress Data Path&quot;&gt;XDP&lt;/abbr&gt;/&lt;abbr title=&quot;Extended Berkeley Packet Filter&quot;&gt;eBPF&lt;/abbr&gt;;&lt;sup id=&quot;fnref:ebpf&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:ebpf&quot;&gt;5&lt;/a&gt;&lt;/sup&gt; or
&lt;a href=&quot;https://www.gtp-guard.org/articles/5g-upf-pump-up-the-volume/&quot; title=&quot;5G UPF: Pump Up the Volume!&quot;&gt;offload routing&lt;/a&gt; to the network card.&lt;/p&gt;
&lt;div class=&quot;admonition&quot;&gt;
&lt;p class=&quot;admonition-title&quot;&gt;Note&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://maytham.aezign.au/&quot; title=&quot;Maytham Alsudany: Dev and Sysadmin&quot;&gt;Maytham Alsudany&lt;/a&gt; reviewed a first draft of this article. Any errors are still mine!&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;footnote&quot;&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id=&quot;fn:microcode&quot;&gt;
&lt;p&gt;The microcode was out of date on my machine as I forgot to install the
&lt;code&gt;amd64-microcode&lt;/code&gt; package. As it only impacts &lt;a href=&quot;https://www.amd.com/en/resources/product-security/bulletin/amd-sb-7029.html&quot; title=&quot;AMD Transient Scheduler Attacks&quot;&gt;&lt;abbr title=&quot;Transient Scheduler Attacks&quot;&gt;TSA&lt;/abbr&gt;&lt;/a&gt;, our benchmark is
unaffected. Spectre v2 mitigation did not enable &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e7862eda309ecfccc36bb5558d937ed3ace07f3f&quot; title=&quot;x86/cpu: Support AMD Automatic IBRS&quot;&gt;automatic &lt;abbr title=&quot;Indirect Branch Restricted Speculation&quot;&gt;IBRS&lt;/abbr&gt;&lt;/a&gt;, because
of &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=acaa4b5c4c854b5009f4d4a5395b2609ad0f4937&quot; title=&quot;x86/speculation: Do not enable Automatic IBRS if SEV-SNP is enabled&quot;&gt;&lt;abbr title=&quot;Secure Encrypted Virtualization-Secure Nested Paging&quot;&gt;SEV-SNP&lt;/abbr&gt; being enabled in the firmware&lt;/a&gt;. With automatic &lt;abbr title=&quot;Indirect Branch Restricted Speculation&quot;&gt;IBRS&lt;/abbr&gt;, the
impact of &lt;abbr title=&quot;Speculative Return Stack Overflow&quot;&gt;SRSO&lt;/abbr&gt; should be smaller. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:microcode&quot; title=&quot;Jump back to footnote 1 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:ipv6&quot;&gt;
&lt;p&gt;Despite &lt;code&gt;ipvX&lt;/code&gt; in its title, the commit only changes the behavior of the
IPv4 code. The IPv6 version overwrites the value of each device in
&lt;a href=&quot;https://elixir.bootlin.com/linux/v7.3.1/source/net/ipv6/addrconf.c#L940&quot; title=&quot;Definition of addrconf_fixup_linkdown()&quot;&gt;&lt;code&gt;addrconf_fixup_linkdown()&lt;/code&gt;&lt;/a&gt;. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:ipv6&quot; title=&quot;Jump back to footnote 2 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:release&quot;&gt;
&lt;p&gt;Linux 7.5 will be the first stable release including this fix. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:release&quot; title=&quot;Jump back to footnote 3 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:cycle&quot;&gt;
&lt;p&gt;At 2.4 GHz, one cycle is about 0.42 ns. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:cycle&quot; title=&quot;Jump back to footnote 4 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:ebpf&quot;&gt;
&lt;p&gt;This requires avoiding &lt;a href=&quot;https://docs.ebpf.io/linux/helper-function/bpf_fib_lookup/&quot; title=&quot;Helper function bpf_fib_lookup&quot;&gt;&lt;code&gt;bpf_fib_lookup()&lt;/code&gt;&lt;/a&gt;, which relies on
the same kernel lookup. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:ebpf&quot; title=&quot;Jump back to footnote 5 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt; </description> 
	<pubDate>Mon, 09 Nov 2026 20:07:32 +0000</pubDate>

</item> 
<item>
	<title>Thorsten Alteholz: My Debian Activities in October 2026</title>
	<guid>https://blog.alteholz.eu/?p=2864</guid>
	<link>http://blog.alteholz.eu/2026/11/my-debian-activities-in-october-2026/</link>
     <description>  &lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian LTS/ELTS&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;&lt;/p&gt;&lt;p&gt;This was my hundred-forty-eighth month that I did some work for the Debian LTS initiative, started by Raphael Hertzog at Freexian.
&lt;/p&gt;
&lt;p&gt;
During my allocated time I uploaded or worked on:  
&lt;/p&gt;&lt;p&gt;&lt;/p&gt;



&lt;ul class=&quot;wp-block-list&quot;&gt;&lt;li&gt;[&lt;a href=&quot;https://lists.debian.org/debian-lts-announce/2026/10/msg00018.html&quot;&gt;DLA 4825-1&lt;/a&gt;]  suricata-update security update to fix one CVE in Bookworm related to a path traversal attack. Thanks a lot to Andreas Dolp, who prepared the package.&lt;/li&gt;&lt;li&gt;[&lt;a href=&quot;https://lists.debian.org/debian-lts-announce/2026/10/msg00051.html&quot;&gt;DLA 4857-1&lt;/a&gt;]  caddy security update to fix nine CVEs in Bookworm related to the bypass of path- or host-based access controls, the execution of an unintended file by a FastCGI
backend, the injection of identity headers trusted by applications running behind Caddy, unauthorised reconfiguration of the server through its admin API, or cross-site scripting.
&lt;/li&gt;&lt;li&gt;[&lt;a href=&quot;https://lists.debian.org/debian-lts-announce/2026/10/msg00065.html&quot;&gt;DLA 4870-1&lt;/a&gt;] antiword security update to fix several isssue in Bookworm related to heap out-of-bounds write in several parts of the software or integer divide by zero.  Unfortunately no issue has been assigned a CVE id yet.
&lt;/li&gt;&lt;li&gt;[&lt;a href=&quot;https://lists.debian.org/debian-lts-announce/2026/10/msg00064.html&quot;&gt;DLA 4871-1&lt;/a&gt;] cyrus-sasl2 security update to fix one CVE in Bookworm related to a heap-based buffer overflow.
&lt;/li&gt;&lt;li&gt;[ELA-1873-1] antiword security update to fix several isssue in Stretch, Buster and Bullseye related to heap out-of-bounds write in several parts of the software or integer divide by zero.  Unfortunately no issue has been assigned a CVE id yet.&lt;/li&gt;
&lt;li&gt;[ELA-1874-1] cyrus-sasl2 security update to fix one CVE in Stretch, Buster and Bullseye related to a heap-based buffer overflow.&lt;/li&gt;&lt;li&gt;[ELA-1875-1] libcaca security update to fix two CVEs in Buster related to a missing overflow check.&lt;/li&gt;&lt;li&gt;[ELA-1876-1] libcaca security update to fix one CVE in Stretch and Bullseye related to a missing overflow check.&lt;/li&gt;
&lt;li&gt;[osmo-bsc] upload to unstable to fix one CVE related to a heap based buffer overflow.&lt;/li&gt;&lt;/ul&gt;



&lt;p&gt;
Besides doing these uploads, I reviewed the libssh upload (DLA-4844-1) and helped a bit in the background of the &lt;i&gt;php&lt;/i&gt; uploads. Last but not least I spend some time on security-master to assist others (especially the kernel team) with uploads to Bookworm and Bullseye.
&lt;/p&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian Printing&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;This month I uploaded a new upstream version  or a bugfix version of:&lt;/p&gt;



&lt;ul class=&quot;wp-block-list&quot;&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/cups&quot;&gt;cups&lt;/a&gt; to unstable, to finally fix autopkgtest.&lt;/li&gt;&lt;/ul&gt;



&lt;p&gt;&lt;strong&gt;This work is generously funded by &lt;a href=&quot;https://www.freexian.com&quot;&gt;Freexian&lt;/a&gt;!&lt;/strong&gt;&lt;/p&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian Lomiri&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;This month I uploaded a new package &lt;i&gt;vendor-ubuntu-touch&lt;/i&gt; to be able to build packages differently in an UbuntuTouch environment. I am curious when it will leave NEW. I also tried to finish two new applications.&lt;/p&gt;



&lt;p&gt;&lt;strong&gt;This work has been generously funded by &lt;a href=&quot;https://freiesoftware.gmbh/&quot;&gt;Fre(i)e Software GmbH&lt;/a&gt;!&lt;/strong&gt;&lt;/p&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian Astro&lt;/strong&gt;&lt;/h3&gt;


&lt;p&gt;This month I uploaded a new upstream version  or a bugfix version of:&lt;/p&gt;



&lt;ul class=&quot;wp-block-list&quot;&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/calceph&quot;&gt;calceph&lt;/a&gt; to unstable (sponsored upload)&lt;/li&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/alfa&quot;&gt;alfa&lt;/a&gt; to unstable (sponsored upload).&lt;/li&gt;&lt;/ul&gt;


&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian IoT&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;Unfortunately I had no time to work in this category this month.&lt;/p&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian Mobcom&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;This month I uploaded a new upstream version  or a bugfix version of:&lt;/p&gt;



&lt;ul class=&quot;wp-block-list&quot;&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osm-sgsn&quot;&gt;osmo-sgsn&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/libosmo-abis&quot;&gt;libosmo-abis&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/libosmo-sigtran&quot;&gt;libosmo-sigtran&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-bsc&quot;&gt;osmo-bsc&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-iuh&quot;&gt;osmo-iuh&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-msc&quot;&gt;osmo-msc&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-mgw&quot;&gt;osmo-mgw&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-bts&quot;&gt;osmo-bts&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-hlr&quot;&gt;osmo-hlr&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-ggsn&quot;&gt;osmo-ggsn&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-libasn1c&quot;&gt;osmo-libasn1c&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;/ul&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;misc&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;This month I uploaded a new upstream version of:&lt;/p&gt;



&lt;ul class=&quot;wp-block-list&quot;&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/puppet-module-alteholz-tdc&quot;&gt;puppet-module-alteholz-tdc&lt;/a&gt; to unstable&lt;/li&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/dateutils&quot;&gt;dateutils&lt;/a&gt; to unstable.&lt;/li&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/ta-lib&quot;&gt;ta-lib&lt;/a&gt; to unstable.&lt;/li&gt;&lt;/ul&gt;



&lt;p&gt;Due to different reasons I started to tidy up the list of packages I maintain. Some packages have been removed, some packages lost myself as uploader and some packages have been orphaned. The number of orphaned packages is about 1100 now, so maybe you can find one to adopt.&lt;/p&gt; </description> 
	<pubDate>Mon, 09 Nov 2026 15:48:52 +0000</pubDate>

</item> 
<item>
	<title>Reproducible Builds (diffoscope): diffoscope 338 released</title>
	<guid>https://diffoscope.org/news/diffoscope-338-released/</guid>
	<link>https://diffoscope.org/news/diffoscope-338-released/</link>
     <description>  &lt;p&gt;The diffoscope maintainers are pleased to announce the release of diffoscope
version &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;338&lt;/code&gt;. This version includes the following changes:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;[ Chris Lamb ]
* Binutils no longer shows the top-level directory; update expected test output.
  (Closes: #1151752)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You find out more by &lt;a href=&quot;https://diffoscope.org&quot;&gt;visiting the project homepage&lt;/a&gt;.&lt;/p&gt; </description> 
	<pubDate>Mon, 09 Nov 2026 00:00:00 +0000</pubDate>

</item> 
<item>
	<title>Birger Schacht: Using incus for throw away VMs</title>
	<guid>https://bisco.org/notes/using-incus-for-throw-away-vms/</guid>
	<link>https://bisco.org/notes/using-incus-for-throw-away-vms/</link>
     <description>  &lt;p&gt;For some time now I’ve been looking for a way of keeping projects I’m working
on in a separate VM without much setup. There are numerous solutions to do this
kind of thing using namespaces (various container technologies, firejail,
flatpak, bubblewrap, …) but I wanted something that uses real virtualization.
I recently stumbled upon &lt;a href=&quot;https://linuxcontainers.org/incus/&quot;&gt;incus&lt;/a&gt; and it
seemed like it could be a solution to my problem. Incus is a manager for both
containers and virtual machines. It is possible to create VM images that can be
used as templates, meaning that other machines can then be based on them on
creation. Virtual machines can be configured using “profiles”.&lt;/p&gt;
&lt;p&gt;For my use case, I have created a profile that defines how my template image
should look like. In this profile I use
&lt;a href=&quot;https://docs.cloud-init.io/en/latest/index.html&quot;&gt;cloud-init&lt;/a&gt; to configure the
template machine on startup:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-yaml&quot;&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #309; font-weight: bold;&quot;&gt;config&lt;/span&gt;:&lt;span style=&quot;color: #bbb;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #bbb;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #309; font-weight: bold;&quot;&gt;cloud-init.user-data&lt;/span&gt;:&lt;span style=&quot;color: #bbb;&quot;&gt; &lt;/span&gt;|&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    #cloud-config
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    apt:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      conf: |
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        APT {
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;          Install-Recommends 0;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        }
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    package_update: true
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    package_upgrade: true
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    package_reboot_if_required: true
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    packages:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - file
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - man-db
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - bat
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - eza
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - git
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - git-delta
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - neovim
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - zsh
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - tmux
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - curl
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - ncurses-term
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - hx
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - nix-bin
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - nix-setup-systemd
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - rustup
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - npm
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - podman
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    users:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - name: user
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        lock_passwd: false
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        # mkpasswd &#39;incus password&#39;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        hashed_passwd: $y$j9T$p9XBP4Ox3SBUnyu.sqv5m1$f1rxcPJyVs05w./dZvIzu6.4dVWBvzu99nMBZRNlamD
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        groups: sudo, nix-users
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        shell: /usr/bin/zsh
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        uid: 1000
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    write_files:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - path: /home/user/.config/nix/nix.conf
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        content: |
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;          experimental-features = nix-command flakes
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        permissions: 0600
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - path: /home/user/.zshrc.local
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        content: |
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;          export PATH=&quot;$PATH:$HOME/.nix-profile/bin&quot;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        permissions: 0600
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    runcmd:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - [curl, -sSfL, -o, /home/user/.tmux.conf, https://grml.org/console/tmux.conf]
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - [curl, -sSfL, -o, /home/user/.vimrc, https://grml.org/console/vimrc]
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - [curl, -sSfL, -o, /home/user/.zshrc, https://grml.org/console/zshrc]
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - [chown, -R, user:user, /home/user/]&lt;/span&gt;&lt;span style=&quot;color: #bbb;&quot;&gt;    
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #bbb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #309; font-weight: bold;&quot;&gt;description&lt;/span&gt;:&lt;span style=&quot;color: #bbb;&quot;&gt; &lt;/span&gt;Base template for dev VMs&lt;span style=&quot;color: #bbb;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #bbb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #0cf; font-weight: bold;&quot;&gt;...&lt;/span&gt;&lt;span style=&quot;color: #bbb;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;and I use a script to regenerate the template image when I want to adapt the
config:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-shell&quot;&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #099;&quot;&gt;#!/bin/sh
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #099;&quot;&gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #09f; font-style: italic;&quot;&gt;#set -e&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #366;&quot;&gt;set&lt;/span&gt; -x
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #033;&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color: #555;&quot;&gt;=&lt;/span&gt;dev-vm-template
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #09f; font-style: italic;&quot;&gt;# adapt the profile before rebuilding the template image&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;incus profile edit cloud-dev-template
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;incus delete --force &lt;span style=&quot;color: #a00;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #033;&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color: #a00;&quot;&gt;}&lt;/span&gt; &lt;span style=&quot;color: #555;&quot;&gt;||&lt;/span&gt; &lt;span style=&quot;color: #366;&quot;&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;incus create images:debian/13/cloud --vm --quiet --profile default --profile cloud-dev-template &lt;span style=&quot;color: #a00;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #033;&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color: #a00;&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;incus start &lt;span style=&quot;color: #a00;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #033;&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color: #a00;&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;incus &lt;span style=&quot;color: #366;&quot;&gt;wait&lt;/span&gt; &lt;span style=&quot;color: #a00;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #033;&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color: #a00;&quot;&gt;}&lt;/span&gt; agent
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;incus &lt;span style=&quot;color: #366;&quot;&gt;exec&lt;/span&gt; &lt;span style=&quot;color: #a00;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #033;&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color: #a00;&quot;&gt;}&lt;/span&gt; -- cloud-init status --wait &lt;span style=&quot;color: #555;&quot;&gt;||&lt;/span&gt; &lt;span style=&quot;color: #366;&quot;&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;incus stop &lt;span style=&quot;color: #a00;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #033;&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color: #a00;&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;incus publish --alias cloud-dev-template --reuse &lt;span style=&quot;color: #a00;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #033;&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color: #a00;&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This script uses the &lt;code&gt;debian/13/cloud&lt;/code&gt; image together with my
&lt;code&gt;cloud-dev-template&lt;/code&gt; profile to set up a machine, configure it using
&lt;code&gt;cloud-init&lt;/code&gt; and store the result as an image called &lt;code&gt;cloud-dev-template&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&quot;inker&quot;&gt;inker&lt;/h2&gt;
&lt;p&gt;To use this setup, I created a small python tool called
&lt;a href=&quot;https://codeberg.org/birger/inker&quot;&gt;inker&lt;/a&gt; that talks to the &lt;a href=&quot;https://linuxcontainers.org/incus/docs/main/rest-api-spec/&quot;&gt;incus REST
API&lt;/a&gt;. Using &lt;code&gt;inker create&lt;/code&gt; creates a new VM based on my template. Using &lt;code&gt;inker attach&lt;/code&gt; attaches
the current working directory to a VM as a readonly mount. It is possible to
combine those commands like &lt;code&gt;inker create | inker attach&lt;/code&gt; to do those two steps
in one command. &lt;code&gt;inker login&lt;/code&gt; logs into the VM that has the current directory
attached. This way I can create VMs that are connected to directories on my
filesystem.&lt;/p&gt;
&lt;p&gt;I am currently playing around with this setup, but I think this could help me
to have a throwaway development machine, similar to &lt;a href=&quot;https://containers.dev/&quot;&gt;dev
containers&lt;/a&gt;. I’m not sure yet how happy I am with
&lt;code&gt;incus&lt;/code&gt;, though. I was also looking at systemd-vmspawn, but there are still
some features missing that I would need. But I might rewrite &lt;code&gt;inker&lt;/code&gt; at some
point to use a different backend.&lt;/p&gt; </description> 
	<pubDate>Sun, 08 Nov 2026 05:28:51 +0000</pubDate>

</item> 
<item>
	<title>Dirk Eddelbuettel: prrd 0.1.0 at CRAN: Now With Real Concurrency</title>
	<guid>http://dirk.eddelbuettel.com/blog/2026/11/07#prrd_0.1.0</guid>
	<link>http://dirk.eddelbuettel.com/blog/2026/11/07#prrd_0.1.0</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/dirk.png&quot; width=&quot;65&quot; height=&quot;90&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;A new release of &lt;a href=&quot;https://dirk.eddelbuettel.com/code/prrd.html&quot;&gt;prrd&lt;/a&gt; arrived at
&lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt; today, and has already
been built for &lt;a href=&quot;https://eddelbuettel.github.io/r2u/&quot;&gt;r2u&lt;/a&gt; and
on &lt;a href=&quot;https://eddelbuettel.r-universe.dev/prrd&quot;&gt;r-universe&lt;/a&gt;.
The &lt;a href=&quot;https://dirk.eddelbuettel.com/code/prrd.html&quot;&gt;prrd&lt;/a&gt;
package facilitates the &lt;em&gt;parallel running [of] reverse dependency
[checks]&lt;/em&gt; when preparing R packages. It is used extensively for
releases I make of &lt;a href=&quot;https://www.rcpp.org&quot;&gt;Rcpp&lt;/a&gt;, &lt;a href=&quot;https://dirk.eddelbuettel.com/code/rcpp.armadillo.html&quot;&gt;RcppArmadillo&lt;/a&gt;,
&lt;a href=&quot;https://dirk.eddelbuettel.com/code/rcpp.eigen.html&quot;&gt;RcppEigen&lt;/a&gt;,
&lt;a href=&quot;https://dirk.eddelbuettel.com/code/bh.html&quot;&gt;BH&lt;/a&gt;, and
others.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;prrd screenshot image&quot; src=&quot;https://github.com/eddelbuettel/prrd/raw/master/local/screenshot_prrd_rcpparmadillo.png&quot; style=&quot;float: left; margin: 10px 10px 10px 0;&quot; width=&quot;700&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The key idea of &lt;a href=&quot;https://dirk.eddelbuettel.com/code/prrd.html&quot;&gt;prrd&lt;/a&gt; is simple,
and described in some more detail on &lt;a href=&quot;https://dirk.eddelbuettel.com/code/prrd.html&quot;&gt;its webpage&lt;/a&gt; and
its &lt;a href=&quot;https://github.com/eddelbuettel/prrd&quot;&gt;GitHub repo&lt;/a&gt;.
Reverse dependency checks are an important part of package development
that is easily done in a (serial) loop. But these checks are also
generally &lt;em&gt;embarassingly parallel&lt;/em&gt; as there is no or little
interdependency between them (besides maybe shared build depedencies).
See the (somewhat dated) screenshot (running six parallel workers,
arranged in a split &lt;a href=&quot;https://byobu.org&quot;&gt;byobu&lt;/a&gt; session).&lt;/p&gt;
&lt;p&gt;This release updates internals to allow for greater concurrency. &lt;a href=&quot;https://www.sqlite.org/&quot;&gt;SQLite&lt;/a&gt; is used as the backend, both
for the job queue (managed via the &lt;a href=&quot;https://cran.r-project.org/package=liteq&quot;&gt;liteq&lt;/a&gt; package) as
well as for storing actual reverse-dependency test results. It is
well-known that &lt;a href=&quot;https://www.sqlite.org/&quot;&gt;SQLite&lt;/a&gt; copes quite
well with multiple &lt;em&gt;readers&lt;/em&gt;. Multiple concurrent
&lt;em&gt;writers&lt;/em&gt; are more challenging. We tended to get by via
&lt;code&gt;BEGIN EXCLUSIVE&lt;/code&gt; pragma use, but still get occassional issue
even at a somewhat moderate concurrency levels. After some back and
forth and trying a few approaches, more recently we established one
first solution relying on very explicity (OS-level, filesystem-based)
locking via package &lt;a href=&quot;https://cran.r-project.org/package=filelock&quot;&gt;filelock&lt;/a&gt;. That
worked.&lt;/p&gt;
&lt;p&gt;We mentioned this in &lt;a href=&quot;https://github.com/r-lib/liteq/pull/29#issuecomment-6421988987&quot;&gt;an
old &lt;code&gt;liteq&lt;/code&gt; issue&lt;/a&gt; that had circled around the same
question with a number of posts over the years, but no resolution. This
comment seemingly awoke &lt;a href=&quot;https://github.com/gaborcsardi&quot;&gt;Gábor&lt;/a&gt;, and he nailed this
years-open issue with a fine pull request deploying
&lt;code&gt;BEGIN IMMEDIATE&lt;/code&gt; and well as a loop around
&lt;code&gt;tryCatch&lt;/code&gt; to not immediately fail. I borrowed/ported that
approach to &lt;a href=&quot;https://dirk.eddelbuettel.com/code/prrd.html&quot;&gt;prrd&lt;/a&gt; and we now
have a second solution (and no longer need &lt;a href=&quot;https://cran.r-project.org/package=filelock&quot;&gt;filelock&lt;/a&gt;). On a
somewhat better server with enough cores and memory, I am now running
eighteen concurrent workers—watched via three multi-pane &lt;a href=&quot;https://byobu.org&quot;&gt;byobu&lt;/a&gt; windows. Works like a charm without
issues. At last! A big thanks to &lt;a href=&quot;https://github.com/gaborcsardi&quot;&gt;Gábor&lt;/a&gt; for finding another
solution, and especially that only relies on &lt;a href=&quot;https://www.sqlite.org/&quot;&gt;SQLite&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The release is summarised in the NEWS entry:&lt;/p&gt;
&lt;blockquote&gt;
&lt;h4 id=&quot;changes-in-prrd-version-0.1.0-2026-11-07&quot;&gt;Changes in prrd
version 0.1.0 (2026-11-07)&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Concurrent operations are now supported via updated sqlite
semantics borrowed with appreciation from &lt;span class=&quot;pkg&quot;&gt;liteq&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;This follows an interim solution relying on &lt;span class=&quot;pkg&quot;&gt;filelock&lt;/span&gt; use; however this later package is not
needed so no increase in dependencies&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;Courtesy of my &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/&quot;&gt;CRANberries&lt;/a&gt;, there
is also a diffstat report for &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/2026/08/27#prrd_0.0.7&quot;&gt;this
release&lt;/a&gt;.&lt;/p&gt;
&lt;p style=&quot;font-size: 80%; font-style: italic;&quot;&gt;
This post by &lt;a href=&quot;https://dirk.eddelbuettel.com&quot;&gt;Dirk
Eddelbuettel&lt;/a&gt; originated on his &lt;a href=&quot;https://dirk.eddelbuettel.com/blog/&quot;&gt;Thinking inside the box&lt;/a&gt;
blog. If you like this or other open-source work I do, you can &lt;a href=&quot;https://github.com/sponsors/eddelbuettel&quot;&gt;sponsor me at
GitHub&lt;/a&gt;.
&lt;/p&gt;&lt;p&gt;&lt;/p&gt; </description> 
	<pubDate>Sat, 07 Nov 2026 19:39:00 +0000</pubDate>

</item> 
<item>
	<title>Andrew Cater: Arm Cambridge - Mini-Debconf Cambridge - day 1 20261107</title>
	<guid>tag:blogger.com,1999:blog-8085113335874848981.post-4830726576516808315</guid>
	<link>http://flosslinuxblog.blogspot.com/2026/11/arm-cambridge-mini-debconf-cambridge.html</link>
     <description>  &lt;p&gt; Half way through the day:&lt;br /&gt;&lt;br /&gt;A morning of technical talks:&lt;br /&gt;&lt;br /&gt;Vock - Instrumenting, kernel coverage and process tracing&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Rebuilding the archive on your desktop&lt;br /&gt;&lt;/p&gt;&lt;p&gt;An overview of Secure Boot&lt;br /&gt;&lt;br /&gt;An excellent lunch - with thanks to Liv and her Arm catering staff&lt;br /&gt;&lt;br /&gt;Three lightning talks - two without slides :)&lt;br /&gt;&lt;br /&gt;Excellent day so far :)&lt;/p&gt; </description> 
	<pubDate>Sat, 07 Nov 2026 14:18:40 +0000</pubDate>
  <author>noreply@blogger.com (Andrew Cater)</author>  
</item> 
<item>
	<title>Mike Gabriel: OpenAGPS - The New Kid on the Block</title>
	<guid>https://sunweavers.net/161 at https://sunweavers.net/blog</guid>
	<link>https://sunweavers.net/blog/node/161</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/sunweaver.png&quot; width=&quot;82&quot; height=&quot;82&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;There is a new project coming to Open Source Software land these days: &lt;a href=&quot;https://openagps.net&quot;&gt;OpenAGPS&lt;/a&gt;. It is not yet 100% functional, but we are working on it. It is not fully operational, yet, but we are on it.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Let me introduce OpenAGPS to you...&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;The Situation Today&lt;/h3&gt;

&lt;p&gt;The domain of assisted geo location services has been left to a few big tech providers. When using GPS on mobile devices, most of us send info on our approximate device location (based on cell tower IDs seen by our devices around us) mostly to Google&#39;s SUPL service in order to facilitate a faster GNSS/GPS lock on the satellites flying above us.&lt;/p&gt;

&lt;p&gt;Without assistance, retrieving a GNSS/GPS lock on sufficient satellites includes &quot;finding&quot; those satellites and once found retrieving data (in bytes/sec) from them. In some regions, this leads to waiting periods of up to 45 minutes, before a mobile devices has gained a lock on sufficient satellites (3 or more).&lt;/p&gt;

&lt;p&gt;In Assisted-GNSS/GPS, &quot;other&quot; information (such as cell tower IDs) gets used to estimate what GNSS/GPS satellites are currently passing over one&#39;s location. With AGPS, the mobile devices retrieve information via a so-called SUPL server, containing two details: a list of potential satellites above and their dataframes. Esp. providing those dataframes over the device&#39;s internet connection (and not via the GNSS/GPS receiver downloading it from the satellite itself) speeds up the lock-on process of the mobile tremendously (several seconds to a few minutes).&lt;/p&gt;

&lt;p&gt;However, for this mechanism to work, your device will share your IMSI (although not needed for AGPS), a list of cell towers around you and their signal strengths with the provider of the SUPL service, revealing your approximate position. In total, this allows SUPL providers to re-identify each mobile device and create motion profiles of each such device (and its owner). If the SUPL service is hosted by one main provider (i.e. Google SUPL), there is a lot of valuable information available to them for free that they can commercialize.&lt;/p&gt;

&lt;p&gt;Currently, there is only one mitigation method available to hide one&#39;s location info from the SUPL server(s) at e.g. Google: using a SUPL proxy server implementation (available as OSS, provided by and used in e.g. GrapheneOS). A SUPL proxy still depends on the big tech service provider(s) for SUPL as it merely proxies SUPL requests from mobile devices through to the proprietary SUPL services, at e.g. Google, but the mobile device is being camouflaged behind the SUPL proxy in use.&lt;/p&gt;

&lt;h3&gt;The OpenAGPS Teaser&lt;/h3&gt;

&lt;p&gt;OpenAGPS, on the contrary, will be a fully independent implementation from proprietary service providers, and it will refrain from collecting and commercializing end users’ data. It will be driven by individuals of the OpenAGPS community. There will likely be one central service that the OpenAGPS project plans to host and operate (the Porygon frontend/backend, OpenAGPS&#39;s GNSS Almanach service), but except from that SUPL servers can be self-hosted by individuals, companys or other communities. The requesting mobile devices&#39; IDs will be hidden from the Porygon server (like with existing SUPL proxy implementations), so that the only centrally operated component (the Porygon Almanach server) does not know who is requesting what geo position information (and thus cannot collect such data, neither derive info about where requesting devices are located).&lt;/p&gt;

&lt;p&gt;In addition, with a large OpenAGPS community, it is imaginable (in theory) that there will also be multiple central Almanach servers available on the internet (with parallel networks of base stations attached to each GNSS Almanach server).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://openagps.net/docs/&quot;&gt;Checkout the OpenAGPS architecture schematics and our website/documentation to learn more.&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Collecting Satellite Data&lt;/h3&gt;

&lt;p&gt;The OpenAGPS project is not simply a software that admins/users can install, it needs kind of a huge and global community to operate/host/house its base station network.&lt;/p&gt;

&lt;p&gt;The challenge with providing a community-driven AGPS service on the internet is that up-to-date (real-time!) GNSS/GPS satellite position data is not available for free download. Almanach data can be obtained per region from various organisations, but then their datasets are often days to weeks old, thus too outdated. GNSS/GPS satellites are not geo-stationary, they circulate around the planet. Their position is dependent on the current date-time. A globally spanning network of GNSS/GPS base stations will do the trick here. We will need a community that harvests the needed satellite data in real time and makes it available through the Porygon Almanach server to all OpenAGPS users.&lt;/p&gt;

&lt;p&gt;The OpenAGPS project will depend on at least one community member every ~40-50 km² to operate a so-called OpenAGPS base station: These base stations are stationary, need to run 24/7, and they will harvest GNSS/GPS statellite data information from the satellites above in real-time and share this data with the (central) Porygon server, continuously. The Porygon server will create a timestamp-dependent &quot;map&quot; of all seen satellites and extrapolate locations between base stations&#39; Almanach data updates.&lt;/p&gt;

&lt;h3&gt;Help making OpenAGPS a Success: Host a Base Station&lt;/h3&gt;

&lt;p&gt;To make OpenAGPS a success, we need volunteers who are willing to host (actually: house) an OpenAGPS base station at their home or work place (or both). Users will only be able to use their self-hosted OpenAGPS SUPL server with their mobile devices (instead of e.g. Google SUPL), if we manage to establish sufficient coverage with those base stations in the area of interest, so that the OpenAGPS Almanach will get populated with sufficient satellite position data.&lt;/p&gt;

&lt;p&gt;If you&#39;d like to host/house such a base station, please &lt;a href=&quot;https://openagps.net/community/&quot;&gt;get in touch&lt;/a&gt; and &lt;a href=&quot;https://openagps.net/docs/base-stations/&quot;&gt;check the docs&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;Support this project by Co-Funding it&lt;/h3&gt;

&lt;p&gt;If you realize that you have an interest in this project and would like to improve your level of digital sovereignty in your government, organization, at your home, etc. then consider sending financial support to the project. If you want to support us, please get in touch with Raoul Kramer at &lt;a href=&quot;https://betabreak.net&quot;&gt;BetaBreak&lt;/a&gt; or Mike Gabriel at &lt;a href=&quot;https://freiesoftware.gmbh&quot;&gt;Fre(i)e Software GmbH&lt;/a&gt;. If you are a software developer and would like to contribute to OpenAGPS, also get in touch and let us meet at &lt;a href=&quot;https://fosdem.org&quot;&gt;FOSDEM 2027&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;Credits&lt;/h3&gt;

&lt;p&gt;A huge thanks to the NLnet Foundation for funding this project&#39;s bootstrap phase. Follow-up funding has been applied for, so please keep fingers crossed!&lt;/p&gt; </description> 
	<pubDate>Sat, 07 Nov 2026 09:23:42 +0000</pubDate>

</item> 
<item>
	<title>Isoken Ibizugbe: Seeing Accessibility in Debian</title>
	<guid>http://isokenibizugbe.wordpress.com/2026/11/06/seeing-accessibility-in-debian/</guid>
	<link>https://isokenibizugbe.wordpress.com/2026/11/06/seeing-accessibility-in-debian/</link>
     <description>  &lt;figure class=&quot;wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex&quot;&gt;
&lt;figure class=&quot;wp-block-image size-large&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;wp-image-32&quot; height=&quot;768&quot; src=&quot;https://isokenibizugbe.wordpress.com/wp-content/uploads/2026/11/img_1103.png?w=1024&quot; width=&quot;1024&quot; /&gt;&lt;/figure&gt;
&lt;/figure&gt;



&lt;p class=&quot;wp-block-paragraph&quot;&gt;Recently, I’ve been noticing something on packaging around my house that I used to glance right past: raised Braille dots on a carton of medicine, and embossed markings on a container of body cream. I’ve always known what Braille looked like, but I never paid close attention to it. Now that I’m actively working on accessibility testing for the Debian Installer, I see it everywhere.&lt;/p&gt;



&lt;p class=&quot;wp-block-paragraph&quot;&gt;It made me reflect on how accessibility usually enters our consciousness. In tech, we’re taught about accessibility as a best practice when designing user interfaces or web apps. But realistically, you mostly see it implemented well in massive global software, like mobile operating systems or browsers like Firefox. You rarely see accessibility features integrated into local Nigerian physical products or everyday tech. Paying attention to these details made me realize how much care goes into making sure every person is considered, and how vital that mindset really is.&lt;/p&gt;



&lt;p class=&quot;wp-block-paragraph&quot;&gt;&lt;/p&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;Manual Testing &amp;amp; The openQA Bottleneck&lt;/h3&gt;



&lt;p class=&quot;wp-block-paragraph&quot;&gt;My recent work with Debian has been focused on automating tests for the Debian Installer’s accessibility features, specifically validating Braille display emulation.&lt;/p&gt;



&lt;p class=&quot;wp-block-paragraph&quot;&gt;I started out by manually testing following the official steps on the&lt;a href=&quot;https://wiki.debian.org/DebianInstaller/Accessibility&quot;&gt; Debian Installer Accessibility Wiki&lt;/a&gt;. Once I understood the manual flow, the next goal was figuring out how to automate it inside openQA.&lt;/p&gt;



&lt;p class=&quot;wp-block-paragraph&quot;&gt;Initially, the idea was to initialize from the bootloader by adding parameters to the Grub (GRUB=”brltty=auto”)and it should start the installation with the braille visual. However, this didn’t work, the parameters never initiated the brttyl and it was a huge blocker going back and forth. Getting brltty to talk to the test runner in that environment would have required sweeping changes across the main Debian openQA instance configuration.&lt;/p&gt;



&lt;p class=&quot;wp-block-paragraph&quot;&gt;Instead of pushing for complex system-wide changes on the instance, we started looking for easier alternative approaches and noted the complicated ones, when we advance in the test.&lt;/p&gt;



&lt;p class=&quot;wp-block-paragraph&quot;&gt;We brainstormed streaming the display output directly to a dedicated file to capture and verify the Braille virtual display output. Ultimately, nested virtualization proved to be the most easiest path forward. &lt;/p&gt;



&lt;p class=&quot;wp-block-paragraph&quot;&gt;&lt;/p&gt;



&lt;p class=&quot;wp-block-paragraph&quot;&gt;You can check out the implementation details and changes in the &lt;a href=&quot;https://salsa.debian.org/qa/openqa/openqa-tests-debian/-/merge_requests/135&quot; rel=&quot;noreferrer noopener&quot; target=&quot;_blank&quot;&gt;Merge Request&lt;/a&gt;&lt;/p&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;Joining the Conversation&lt;/h3&gt;



&lt;p class=&quot;wp-block-paragraph&quot;&gt;As part of this work, I joined the debian-accessibility mailing list to introduce what we were building and share our progress.&lt;/p&gt;



&lt;p class=&quot;wp-block-paragraph&quot;&gt;The responses were encouraging. I got some feedback and suggestions and the thread also created a discussion on how accessible the installation process currently feels for blind or visually impaired users, and where they also find issues. It served as a great reminder that test suites aren’t just about passing CI checks, they’re about serving actual people who rely on these systems every day.&lt;/p&gt; </description> 
	<pubDate>Fri, 06 Nov 2026 20:25:58 +0000</pubDate>

</item> 
<item>
	<title>Steve McIntyre: Geeks hacking in Cambridge...</title>
	<guid>https://blog.einval.com/2026/11/06#Cambridge-2026-hacking</guid>
	<link>https://blog.einval.com/2026/11/06#Cambridge-2026-hacking</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/sledge2.png&quot; width=&quot;59&quot; height=&quot;72&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;We&#39;re at the &lt;a href=&quot;http://www.arm.com/&quot;&gt;Arm&lt;/a&gt; office in
Cambridge for fun conversations and Debian hacking, as part of this
year&#39;s mini-DebConf. Here&#39;s some geek pron... :-)&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;Geeks!&quot; src=&quot;https://www.einval.com/~steve/images/miniconf2026-2.jpg&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;More geeks!&quot; src=&quot;https://www.einval.com/~steve/images/miniconf2026-3.jpg&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Massive thanks to the Arm folks for making us welcome: Steve Capper
  and &lt;strong&gt;especially&lt;/strong&gt; Charlie Dixon for going above and
  beyond to set things up for us!&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;Cakes!&quot; src=&quot;https://www.einval.com/~steve/images/miniconf2026-1.jpg&quot; /&gt;&lt;/p&gt; </description> 
	<pubDate>Fri, 06 Nov 2026 15:32:00 +0000</pubDate>

</item> 
<item>
	<title>Vincent Bernat: Scriptable GeoDNS: leaving AWS for Bunny</title>
	<guid>http://www.luffy.cx/en/blog/2026-bunny-geodns.html</guid>
	<link>https://vincent.bernat.ch/en/blog/2026-bunny-geodns</link>
     <description>  &lt;p&gt;To optimize the performance metrics of this blog, I relied on &lt;em&gt;Amazon
CloudFront&lt;/em&gt; to serve the assets,&lt;sup id=&quot;fnref:cloudfront&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:cloudfront&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; and &lt;em&gt;Route 53&lt;/em&gt; for the geo-aware
DNS&lt;sup id=&quot;fnref:route53&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:route53&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; to direct readers to the closest host serving the content. But
Route 53 is expensive: &lt;a href=&quot;https://aws.amazon.com/route53/pricing/&quot; title=&quot;Amazon Route 53 pricing&quot;&gt;US$0.50 per zone per month, US$0.70 per million
geolocation queries, and US$0.75 per healthcheck per month&lt;/a&gt;,
plus &lt;a href=&quot;https://aws.amazon.com/kms/pricing/&quot; title=&quot;AWS Key Management Service pricing&quot;&gt;US$1 per month for the KMS key&lt;/a&gt; needed to sign zones with
DNSSEC. When I discovered that Bunny DNS is &lt;a href=&quot;https://bunny.net/blog/were-making-bunny-dns-free/&quot; title=&quot;We’re making Bunny DNS free&quot;&gt;almost free&lt;/a&gt; for up to 500
domains and features scriptable answers, I made the jump! Plus, it&#39;s a European
company based in Slovenia.&lt;/p&gt;
&lt;div class=&quot;toc&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#bunny-cdn&quot;&gt;Bunny CDN&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#bunny-dns&quot;&gt;Bunny DNS&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#the-https-record-solution&quot;&gt;The HTTPS record solution&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#the-hybrid-solution&quot;&gt;The hybrid solution&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#acme-dns-with-hickory-dns&quot;&gt;ACME DNS with Hickory DNS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h1 id=&quot;bunny-cdn&quot;&gt;Bunny &lt;abbr title=&quot;Content Distribution Network&quot;&gt;CDN&lt;/abbr&gt;&lt;/h1&gt;
&lt;p&gt;&lt;a href=&quot;https://bunny.net/&quot; title=&quot;bunny.net: The Global Edge Platform that truly Hops&quot;&gt;&lt;em&gt;Bunny.net&lt;/em&gt;&lt;/a&gt; started as &lt;a href=&quot;https://bunny.net/our-story/&quot; title=&quot;Story of a small company disrupting the CDN market!&quot;&gt;BunnyCDN in 2015&lt;/a&gt;. They added &lt;a href=&quot;https://bunny.net/blog/bunnycdn-is-now-ipv6-enabled/&quot; title=&quot;BunnyCDN is Now IPv6 Enabled&quot;&gt;IPv6
support in 2017&lt;/a&gt;. Switching was uneventful. I don&#39;t bring a custom domain: I
serve the content from the &lt;code&gt;b-cdn.net&lt;/code&gt; domain. As I depend on content
negotiation to &lt;a href=&quot;https://vincent.bernat.ch/en/blog/2021-webp-avif-nginx&quot; title=&quot;Serving WebP &amp;amp; AVIF images with Nginx&quot;&gt;serve AVIF and WebP images&lt;/a&gt;, I configure the &lt;abbr title=&quot;Content Distribution Network&quot;&gt;CDN&lt;/abbr&gt; to &lt;a href=&quot;https://bunny.net/docs/cdn/vary-cache&quot; title=&quot;Vary Cache on bunny.net documentation&quot;&gt;cache
each image format separately&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I &lt;a href=&quot;https://github.com/vincentbernat/cdktf-take1/blob/8950deb049198982b595f864b2a53517e63717e3/luffy/bunnycdn.ts#L31&quot; title=&quot;cdktf-take1/luffy/bunnycdn.ts at main&quot;&gt;disable logging&lt;/a&gt; to avoid collecting personal
information. While the &lt;a href=&quot;https://bunny.net/gdpr/&quot; title=&quot;General Data Protection Regulation (GDPR) for bunny.net&quot;&gt;bunny.net GDPR page&lt;/a&gt; promises they anonymize data, it
is unclear what CloudFront keeps in its own logs when logging is disabled.&lt;/p&gt;
&lt;p&gt;The only downside of the &lt;em&gt;bunny.net&lt;/em&gt; &lt;abbr title=&quot;Content Distribution Network&quot;&gt;CDN&lt;/abbr&gt; offering is the lack of HTTP/3. I asked
their support: two minutes later, they answered they are working on it but have
no &lt;abbr title=&quot;Estimated Time of Arrival&quot;&gt;ETA&lt;/abbr&gt; to share.&lt;/p&gt;
&lt;h1 id=&quot;bunny-dns&quot;&gt;Bunny DNS&lt;/h1&gt;
&lt;p&gt;&lt;em&gt;Bunny.net&lt;/em&gt; introduced their &lt;a href=&quot;https://bunny.net/blog/transforming-internet-routing-introducing-bunny-dns/&quot; title=&quot;We&#39;re transforming internet routing: Bunny DNS!&quot;&gt;DNS offering in 2022&lt;/a&gt; and recently reduced its
cost &lt;a href=&quot;https://bunny.net/blog/were-making-bunny-dns-free/&quot; title=&quot;We’re making Bunny DNS free&quot;&gt;to almost zero&lt;/a&gt;. They support &lt;a href=&quot;https://bunny.net/docs/dns/records#geographic-routing&quot; title=&quot;DNS Records on bunny.net documentation&quot;&gt;geographical routing&lt;/a&gt;, but a
very cool feature is the &lt;a href=&quot;https://bunny.net/docs/dns/scriptable/introduction&quot; title=&quot;Scriptable DNS on bunny.net documentation&quot;&gt;scriptable DNS&lt;/a&gt;: it runs a piece of user-supplied
JavaScript on each query to compute the answer.&lt;/p&gt;
&lt;p&gt;I run seven small NixOS virtual machines to host this blog around the world:
Paris, Nuremberg, Ashburn, Singapore, San Jose, São Paulo, and Sydney. Bunny&#39;s
scriptable DNS lets me return the IP addresses of the &lt;strong&gt;two nearest servers&lt;/strong&gt;.
The browser falls back to the second server if the first one is down.&lt;/p&gt;
&lt;div class=&quot;language-javascript codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;servers&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ipv4&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;45.90.160.60&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ipv6&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;2a0c:8881:5:100::1&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;latitude&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;48.88&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;longitude&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;2.22&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;cm&quot;&gt;/* […] */&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ipv4&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;139.180.162.114&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ipv6&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;2001:19f0:5800:1855:5400:6ff:fef0:4c0a&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;latitude&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;33.87&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;longitude&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;151.21&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;];&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;families&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;A&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;ipv4&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;AAAA&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;ipv6&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;records&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;A&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ARecord&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;AAAA&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;AaaaRecord&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;

&lt;span class=&quot;k&quot;&gt;export&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;default&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;handleQuery&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;query&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;query&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;request&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;queryType&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;toUpperCase&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;();&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;family&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;families&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;];&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;family&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[];&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// Get user location&lt;/span&gt;
&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;query&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;request&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;geoLocation&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// Build a list of candidates&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;let&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;candidates&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;servers&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ow&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;family&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;],&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;latitude&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;longitude&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// Select the two closest alive servers&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[];&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;while&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;length&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;RoutingEngine&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;getClosestServer&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;candidates&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;push&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;candidates&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;candidates&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;filter&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;((&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!==&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// Return their IP addresses&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;((&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ow&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;records&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;](&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;3600&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;));&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The above script relies on the
&lt;a href=&quot;https://bunny.net/docs/dns/scriptable/helper-objects#routingengine-getclosestserver-servers-array%3Cserver%3E-location-geolocation-onlineonly-bool-=-false-applyweight-bool-=-true--server&quot; title=&quot;Helper Objects on bunny.net documentation&quot;&gt;&lt;code&gt;RoutingEngine.getClosestServer()&lt;/code&gt;&lt;/a&gt; helper, which returns the
closest alive&lt;sup id=&quot;fnref:alive&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:alive&quot;&gt;3&lt;/a&gt;&lt;/sup&gt; server to the user.&lt;sup id=&quot;fnref:user&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:user&quot;&gt;4&lt;/a&gt;&lt;/sup&gt; Thanks to &lt;a href=&quot;https://doggo.mrkaran.dev/&quot; title=&quot;Doggo DNS&quot;&gt;Doggo&lt;/a&gt;, we can
check it works as expected, at least for &lt;code&gt;A&lt;/code&gt;:&lt;sup id=&quot;fnref:a&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:a&quot;&gt;5&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;doggo&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--gp-from&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Amsterdam&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;A&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;vincent.bernat.ch
&lt;span class=&quot;go&quot;&gt;LOCATION          NAME                TYPE  TTL    ADDRESS&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Amsterdam, NL&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;                  vincent.bernat.ch.  A     3600s  45.90.160.60&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;                  vincent.bernat.ch.  A     3600s  116.203.18.48&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;doggo&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--gp-from&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Texas&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;A&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;vincent.bernat.ch
&lt;span class=&quot;go&quot;&gt;LOCATION          NAME                TYPE  TTL    ADDRESS&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Houston (TX), US&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;                  vincent.bernat.ch.  A     3600s  5.161.44.145&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;                  vincent.bernat.ch.  A     3600s  149.28.219.155&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The most annoying drawback of this method is that a user from Buenos Aires gets
both São Paulo (1000 mi, 30 ms &lt;abbr title=&quot;Round Trip Time&quot;&gt;RTT&lt;/abbr&gt;) and Ashburn (5200 mi, 140 ms &lt;abbr title=&quot;Round Trip Time&quot;&gt;RTT&lt;/abbr&gt;). Most
resolvers randomize the order, so the user may pull the web page from Ashburn.
We could return only the nearest server—and swap the scripted record with the
built-in geographic routing instead. But if the server becomes unavailable, the
browser has no alternative until the DNS cache expires. It leaves a short window
of unavailability, even with a short &lt;abbr title=&quot;Time To Live&quot;&gt;TTL&lt;/abbr&gt;.&lt;/p&gt;
&lt;h2 id=&quot;the-https-record-solution&quot;&gt;The HTTPS record solution&lt;/h2&gt;
&lt;p&gt;The &lt;a href=&quot;https://kalfeher.com/https-records-simple/&quot; title=&quot;Simple HTTPS Records&quot;&gt;HTTPS DNS record&lt;/a&gt;, defined in &lt;a href=&quot;https://www.rfc-editor.org/info/rfc9460&quot; title=&quot;RFC 9460: Service Binding and Parameter Specification via the DNS (SVCB and HTTPS Resource Records)&quot;&gt;RFC 9460&lt;/a&gt;, solves both the availability
and the latency issues. Modern browsers query this record to get additional
information to reach an HTTP server, including an alternative port and the
application layer protocol—HTTP/2 or HTTP/3. Each record has a priority. We
can ask browsers to contact the nearest server first and fall back to the next
one if the first is unavailable:&lt;/p&gt;
&lt;div class=&quot;language-zone codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;vincent&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;HTTPS&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;first.geo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;alpn=&quot;h3,h2&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;vincent&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;HTTPS&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;second.geo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;alpn=&quot;h3,h2&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;vincent&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;HTTPS&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;alpn=&quot;h3,h2&quot;&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;; Bunny DNS must provide the two closest servers as &quot;first.geo&quot;&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;; and &quot;second.geo&quot; with geographic or latency routing.&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;first.geo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;A&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;45.90.160.60&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;first.geo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;AAAA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;2a0c:8881:5:100::1&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;second.geo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;A&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;116.203.18.48&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;second.geo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;AAAA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;2a01:4f8:1c0c:5eb5::1&lt;/span&gt;

&lt;span class=&quot;n&quot;&gt;vincent&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;A&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;45.90.160.60&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;vincent&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;A&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;116.203.18.48&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;vincent&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;AAAA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;2a0c:8881:5:100::1&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;vincent&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;AAAA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;2a01:4f8:1c0c:5eb5::1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This looks like the ideal solution! Unfortunately, Chrome &lt;a href=&quot;https://issues.chromium.org/issues/40257146&quot; title=&quot;Fully implement HTTPS-RR [40257146]&quot;&gt;ignores any record
whose target is not &lt;code&gt;.&lt;/code&gt;&lt;/a&gt;, hence the last record at priority 3.
Moreover, unlike with a &lt;code&gt;CNAME&lt;/code&gt;, Bunny DNS does not return the IP addresses for
&lt;code&gt;first.geo&lt;/code&gt; and &lt;code&gt;second.geo&lt;/code&gt; in the additional section. The resolver needs to
send a first request to get the &lt;code&gt;HTTPS&lt;/code&gt; record, and a second to resolve
&lt;code&gt;first.geo&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;HTTPS records are &lt;a href=&quot;https://www.netmeister.org/blog/https-caniuse.html&quot; title=&quot;Can I use HTTPS RRs?&quot;&gt;still too new&lt;/a&gt; for this use case. Back to the drawing board! 📐&lt;/p&gt;
&lt;h2 id=&quot;the-hybrid-solution&quot;&gt;The hybrid solution&lt;/h2&gt;
&lt;p&gt;As a compromise, the script returns the two nearest servers if they are at a
similar distance from the user. Otherwise, it returns only the nearest one with
a lower &lt;abbr title=&quot;Time To Live&quot;&gt;TTL&lt;/abbr&gt; of 2 minutes.&lt;/p&gt;
&lt;div class=&quot;language-javascript codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;export&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;default&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;handleQuery&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;query&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;query&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;request&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;geoLocation&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;let&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;candidates&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;servers&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ow&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ipv4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;latitude&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;longitude&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// Select the two closest servers&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[];&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;while&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;length&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;RoutingEngine&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;getClosestServer&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;candidates&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;push&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;candidates&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;candidates&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;filter&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;((&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!==&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// Compute the distance to the user for each of them&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;first&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;second&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;((&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;GeoDistance&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;calculate&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// If the second one is at twice the distance and at more than 1000 miles&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// from the first, return only the first one with a TTL of 2 minutes.&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;second&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;first&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;second&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;first&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;ow&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ARecord&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;].&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;120&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)];&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// Otherwise, return both with a TTL of 1 hour.&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;((&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ow&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ARecord&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;3600&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;));&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;We can check it with &lt;em&gt;Doggo&lt;/em&gt;. From Chicago, we get only the Ashburn server
with a &lt;abbr title=&quot;Time To Live&quot;&gt;TTL&lt;/abbr&gt; of 2 minutes, while from Mexico, we get both Ashburn and San Jose.&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;doggo&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--gp-from&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Chicago&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;A&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;vincent.bernat.ch
&lt;span class=&quot;go&quot;&gt;LOCATION          NAME                TYPE  TTL    ADDRESS&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Chicago (IL), US&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;                  vincent.bernat.ch.  A     120s   5.161.44.145&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;doggo&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--gp-from&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Mexico&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;A&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;vincent.bernat.ch
&lt;span class=&quot;go&quot;&gt;LOCATION          NAME                TYPE  TTL    ADDRESS&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Queretaro, MX&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;                  vincent.bernat.ch.  A     3600s  5.161.44.145&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;                  vincent.bernat.ch.  A     3600s  149.28.219.155&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;doggo&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--reverse&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;5&lt;/span&gt;.161.44.145&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;149&lt;/span&gt;.28.219.155
&lt;span class=&quot;go&quot;&gt;NAME                          TYPE  TTL    ADDRESS&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;145.44.161.5.in-addr.arpa.    PTR   7187s  web05.luffy.cx.&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;155.219.28.149.in-addr.arpa.  PTR   3600s  web07.luffy.cx.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;div class=&quot;admonition when-rss&quot;&gt;
&lt;p class=&quot;admonition-title&quot;&gt;Note&lt;/p&gt;
&lt;p&gt;On the &lt;a href=&quot;https://vincent.bernat.ch/en/blog/2026-bunny-geodns&quot;&gt;live page&lt;/a&gt;, the map below is interactive: point at a
location to get the DNS answer, or disable servers to see how the answers
change.&lt;/p&gt;
&lt;/div&gt;


&lt;figure class=&quot;lf-fullbleed&quot; id=&quot;lf1-map&quot;&gt;&lt;div class=&quot;lf-media-outer&quot; style=&quot;width: 1000px;&quot;&gt;&lt;span class=&quot;lf-media-inner&quot;&gt;&lt;img alt=&quot;Map of the servers answered by Bunny DNS for each location&quot; class=&quot;lf-media&quot; height=&quot;440&quot; src=&quot;https://media-bernat-ch.b-cdn.net/images/bunny-dns-map.05f55a00ae040e.svg&quot; width=&quot;1000&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/figure&gt;
&lt;p&gt;The &lt;a href=&quot;https://github.com/vincentbernat/cdktf-take1/blob/97d41f669361eb49eaefe0fb2e0f78836dbc92f3/luffy/dns.ts#L448-L512&quot;&gt;complete code&lt;/a&gt; is a bit more complex. It works around
&lt;code&gt;RoutingEngine.getClosestServer()&lt;/code&gt; supporting only IPv4, and it handles the case
where there are not enough alive servers to build an answer.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Bunny.net&lt;/em&gt; has a comprehensive &lt;a href=&quot;https://search.opentofu.org/provider/bunnyway/bunnynet/latest&quot; title=&quot;bunnynet Terraform Provider&quot;&gt;Terraform provider&lt;/a&gt;. I leverage &lt;a href=&quot;https://cdktn.io/&quot; title=&quot;CDK Terrain: Open-Source CDK for Terraform &amp;amp; OpenTofu&quot;&gt;CDK
Terrain&lt;/a&gt; to build the target state in TypeScript and &lt;a href=&quot;https://opentofu.org/&quot; title=&quot;OpenTofu&quot;&gt;OpenTofu&lt;/a&gt; to deploy
it. Have a look at &quot;&lt;a href=&quot;https://vincent.bernat.ch/en/blog/2022-cdktf-nixos&quot; title=&quot;Managing infrastructure with Terraform, CDKTF, and NixOS&quot;&gt;Managing infrastructure with Terraform, CDKTF, and
NixOS&lt;/a&gt;&quot; for more details.&lt;sup id=&quot;fnref:cdktn&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:cdktn&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;h1 id=&quot;acme-dns-with-hickory-dns&quot;&gt;ACME DNS with Hickory DNS&lt;/h1&gt;
&lt;p&gt;Route 53 covered one additional use case of mine: serving &lt;code&gt;acme.luffy.cx&lt;/code&gt; to
solve &lt;a href=&quot;https://letsencrypt.org/docs/challenge-types/#dns-01-challenge&quot; title=&quot;DNS-01 challenge&quot;&gt;DNS-01 ACME challenges&lt;/a&gt;. Unlike Route 53, Bunny DNS cannot
restrict access to a single zone with a fine-grained access policy. As this
usage requires neither high availability nor low latency, I replaced Route 53
with &lt;a href=&quot;https://hickory-dns.org/&quot; title=&quot;Hickory DNS&quot;&gt;Hickory&lt;/a&gt;, a memory-safe DNS server written in Rust. It supports
&lt;a href=&quot;https://hickory-dns.org/config/#signing-zones-with-dnssec&quot; title=&quot;Hickory DNS: Configuring the server, DNSSEC&quot;&gt;automatic DNSSEC signatures&lt;/a&gt; and &lt;a href=&quot;https://hickory-dns.org/config/#dynamic-updates-with-sqlite&quot; title=&quot;Hickory DNS: Configuring the server, dynamic updates&quot;&gt;dynamic updates&lt;/a&gt;. Its
configuration is simple:&lt;/p&gt;
&lt;div class=&quot;language-toml codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;[[zones]]&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;zone&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;acme.luffy.cx&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;zone_type&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Primary&quot;&lt;/span&gt;

&lt;span class=&quot;k&quot;&gt;[zones.stores]&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;allow_update&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;sqlite&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;journal_path&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;acme.luffy.cx.sqlite&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;zone_path&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;acme.luffy.cx.zone&quot;&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;# Private key to sign the zone with DNSSEC. Generated with:&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;#  openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;[[zones.keys]]&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;algorithm&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;ECDSAP256SHA256&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;key_path&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;/etc/hickory-dns.acme.luffy.cx.pem&quot;&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;# TSIG key to sign zone updates. Generated with:&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;#  openssl rand 32&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;[[zones.stores.tsig_keys]]&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;algorithm&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;hmac-sha256&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;key_file&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;/etc/hickory-dns.acme.luffy.cx.update.acme.luffy.cx.tsig&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;update.acme.luffy.cx.&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The &lt;a href=&quot;https://github.com/vincentbernat/nixops-take1/blob/8f8bfbab9d04ee07471d916ab96ef4b3eca5f781/tags/dns.nix#L7-L17&quot; title=&quot;nixops-take1/tags/dns.nix&quot;&gt;provided zone file&lt;/a&gt; only seeds the database on first start. I delegate
DNS-01 challenges to this zone with &lt;code&gt;CNAME&lt;/code&gt; records:&lt;/p&gt;
&lt;div class=&quot;language-zone codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;_acme-challenge&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;CNAME&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;bernat.ch.acme.luffy.cx.&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;_acme-challenge.vincent&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;CNAME&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;vincent.bernat.ch.acme.luffy.cx.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href=&quot;https://go-acme.github.io/lego/index.html&quot; title=&quot;Lego: ACME client and library written in Go&quot;&gt;Lego&lt;/a&gt;, the ACME client I use to get certificates from &lt;a href=&quot;https://letsencrypt.org/&quot; title=&quot;Let&#39;s Encrypt&quot;&gt;Let&#39;s Encrypt&lt;/a&gt;,
answers the DNS-01 challenge by pushing entries with the &lt;a href=&quot;https://www.rfc-editor.org/info/rfc2136&quot; title=&quot;RFC 2136: Dynamic Updates in the Domain Name System (DNS UPDATE)&quot;&gt;DNS UPDATE protocol&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Unfortunately, Bunny DNS cannot publish a &lt;code&gt;DS&lt;/code&gt; record in a zone.&lt;sup id=&quot;fnref:ds&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:ds&quot;&gt;7&lt;/a&gt;&lt;/sup&gt; I need one
to secure the &lt;code&gt;acme.luffy.cx&lt;/code&gt; zone and certificate delivery. Therefore, I host
the &lt;code&gt;luffy.cx&lt;/code&gt; zone on &lt;a href=&quot;https://desec.io/&quot; title=&quot;deSEC: Free Secure DNS&quot;&gt;deSEC&lt;/a&gt;,&lt;sup id=&quot;fnref:desec&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:desec&quot;&gt;8&lt;/a&gt;&lt;/sup&gt; a free DNS hosting service run by a
non-profit organization based in Berlin. I derive the &lt;code&gt;DS&lt;/code&gt; record to publish in
&lt;code&gt;luffy.cx&lt;/code&gt; from the &lt;code&gt;DNSKEY&lt;/code&gt; record of &lt;code&gt;acme.luffy.cx&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;ZONE&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;acme.luffy.cx
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;dig&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;@nsupdate.luffy.cx&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$ZONE&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;DNSKEY&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;+noall&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;+answer&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;dnssec-dsfromkey&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-a&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;SHA-256&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-f&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$ZONE&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;acme.luffy.cx. IN DS 55628 13 2 4946E7508F20E15F1B577A231104B029A1A82E04699A80CD46ADCE31227EE81F&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;hr /&gt;
&lt;p&gt;Overall, I am quite happy with the switch to &lt;em&gt;bunny.net&lt;/em&gt;. There are still a few
rough edges, like the inability to publish &lt;code&gt;DS&lt;/code&gt; records, the lack of HTTP/3, and
the IPv4-only &lt;code&gt;RoutingEngine.getClosestServer()&lt;/code&gt; helper. The bill went from US$5
per month to US$1. So far, performance is &lt;a href=&quot;https://cruxvis.withgoogle.com/#/?view=loadingperf&amp;amp;url=https%3A%2F%2Fvincent.bernat.ch&amp;amp;identifier=origin&amp;amp;device=ALL&amp;amp;periodStart=0&amp;amp;periodEnd=-1&amp;amp;display=p75s&quot; title=&quot;CrUX Vis for vincent.bernat.ch&quot;&gt;on par with AWS&lt;/a&gt;, but I
only finalized the current setup, including the server in Sydney, in late
October. I need a bit more time to gather more data, and I&#39;ll post a short update. 📈&lt;/p&gt;
&lt;div class=&quot;admonition&quot;&gt;
&lt;p class=&quot;admonition-title&quot;&gt;Update (2026-11)&lt;/p&gt;
&lt;p&gt;This post was briefly discussed on &lt;a href=&quot;https://news.ycombinator.com/item?id=50394292&quot;&gt;Hacker News&lt;/a&gt; and &lt;a href=&quot;https://lobste.rs/s/jsvlfm/scriptable_geodns_leaving_aws_for_bunny&quot;&gt;Lobsters&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;footnote&quot;&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id=&quot;fn:cloudfront&quot;&gt;
&lt;p&gt;I had been hosting media assets on CloudFront since 2011. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:cloudfront&quot; title=&quot;Jump back to footnote 1 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:route53&quot;&gt;
&lt;p&gt;Route 53 had served &lt;code&gt;bernat.ch&lt;/code&gt; since December 2021. I didn&#39;t use healthchecks as
they were too expensive. I didn&#39;t host most of my zones there either, as queries
for &lt;code&gt;haproxy.debian.net&lt;/code&gt; alone would have cost me around US$10 per month. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:route53&quot; title=&quot;Jump back to footnote 2 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:alive&quot;&gt;
&lt;p&gt;A server is alive if it answers an ICMP ping. The &lt;a href=&quot;https://bunny.net/docs/dns/scriptable/helper-objects&quot; title=&quot;Helper Objects on bunny.net documentation&quot;&gt;&lt;em&gt;bunny.net&lt;/em&gt;
documentation&lt;/a&gt; gives more details about the checks. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:alive&quot; title=&quot;Jump back to footnote 3 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:user&quot;&gt;
&lt;p&gt;The user queries Bunny DNS through a resolver. Usually, either the resolver
is close to the user, or it exposes the user&#39;s subnet through &lt;a href=&quot;https://vincent.bernat.ch/en/blog/2014-bind-edns0-client-subnet&quot; title=&quot;EDNS client subnet support for BIND&quot;&gt;EDNS client
subnet&lt;/a&gt;. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:user&quot; title=&quot;Jump back to footnote 4 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:a&quot;&gt;
&lt;p&gt;Don&#39;t use this script as is: &lt;code&gt;RoutingEngine.getClosestServer()&lt;/code&gt; only works
with IPv4. The &lt;a href=&quot;https://github.com/vincentbernat/cdktf-take1/blob/97d41f669361eb49eaefe0fb2e0f78836dbc92f3/luffy/dns.ts#L448-L512&quot;&gt;final script&lt;/a&gt; works around this limitation. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:a&quot; title=&quot;Jump back to footnote 5 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:cdktn&quot;&gt;
&lt;p&gt;The article is a bit outdated. &lt;em&gt;CDK Terrain&lt;/em&gt; replaces &lt;em&gt;CDKTF&lt;/em&gt;, &lt;em&gt;OpenTofu&lt;/em&gt;
replaces &lt;em&gt;Terraform&lt;/em&gt;, and I now use &lt;a href=&quot;https://colmena.cli.rs/unstable/&quot; title=&quot;Colmena documentation&quot;&gt;Colmena&lt;/a&gt; instead of &lt;em&gt;NixOps&lt;/em&gt;. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:cdktn&quot; title=&quot;Jump back to footnote 6 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:ds&quot;&gt;
&lt;p&gt;I contacted &lt;em&gt;bunny.net&lt;/em&gt; support to ask when they will support publishing a
&lt;code&gt;DS&lt;/code&gt; record and got an answer seven minutes later: they don&#39;t know. 😭&lt;/p&gt;
&lt;p&gt;This is a bummer, as they support automatic &lt;code&gt;CDS&lt;/code&gt;, a DNS record to advertise
a &lt;code&gt;DS&lt;/code&gt; record to the parent zone. They handle one side of the delegation,
not the other.&lt;/p&gt;
&lt;p&gt;I also reported a bug with the proof of non-existence, and they replied a
day later with a detailed answer. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:ds&quot; title=&quot;Jump back to footnote 7 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:desec&quot;&gt;
&lt;p&gt;Why not use deSEC for ACME challenges? You can &lt;a href=&quot;https://desec.readthedocs.io/en/latest/auth/tokens.html#token-scoping-policies&quot; title=&quot;Manage Tokens on deSEC DNS API documentation&quot;&gt;limit its tokens to a
single RRset&lt;/a&gt;. I could say I prefer to self-host, but the
truth is I only discovered this while writing this article. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:desec&quot; title=&quot;Jump back to footnote 8 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt; </description> 
	<pubDate>Fri, 06 Nov 2026 13:29:34 +0000</pubDate>

</item> 
<item>
	<title>Andrew Cater: Arm Cambridge - pre mini-Debconf days 20261105</title>
	<guid>tag:blogger.com,1999:blog-8085113335874848981.post-7235150088621498096</guid>
	<link>http://flosslinuxblog.blogspot.com/2026/11/arm-cambridge-pre-mini-debconf-days.html</link>
     <description>  &lt;p&gt; At Arm in Cambridge for two hackathon-type days before the main mini-Debconf on Saturday and Sunday. A roomful of people, mostly very quiet this morning but with people gradually arriving and greeting each other.&lt;br /&gt;&lt;br /&gt;Just had an excellent lunch. Arm are excelling themselves, as ever. With particular thanks to Charlie Dixon who has arranged excellent facilities for us all and to Liv for the catering provision. Other old friends here have also helped as ever.&lt;br /&gt;&lt;br /&gt;This sort of thing is ideal for cross-fertilization of experience, ideas - the side conversations where you realise that three people are converging to a consensus of discussion from three different starting points. It&#39;s fun and intensely interesting and it&#39;s the sort of thing that keeps me running Debian - and trusting the colleagues behind it because I&#39;ve seen them here. &lt;br /&gt;&lt;br /&gt;Face and name recognition is sometimes at least as valuable as rockstar coding and the social element and shared history keeps us pulling together.&lt;/p&gt; </description> 
	<pubDate>Fri, 06 Nov 2026 12:15:42 +0000</pubDate>
  <author>noreply@blogger.com (Andrew Cater)</author>  
</item> 
<item>
	<title>Andrew Cater: Arm Cambridge - pre-mini-Debconf days 20261106</title>
	<guid>tag:blogger.com,1999:blog-8085113335874848981.post-5956643767503841992</guid>
	<link>http://flosslinuxblog.blogspot.com/2026/11/arm-cambridge-pre-mini-debconf-days_01985132966.html</link>
     <description>  &lt;p&gt;Another interesting morning so far. Lots of interesting side conversations (and, of course, people using IRC to talk to the person next to them as is traditional).&lt;br /&gt;&lt;br /&gt;It&#39;s nice to hear somebody ask a question and be told, effectively  &quot;Oh, you need to talk to XX - they&#39;re sitting over there&quot; or &quot; I need to talk to someone about X, Y and Z - and they all resolve to you&quot;.&lt;br /&gt;&lt;br /&gt;Especially noticeable in  this room, perhaps, but it does point to the fact that many things in Debian ultimately  resolve to one or two people. There are a lot of people each with multiple areas of expertise which overlap - and then a few individuals who are essential as points of reference for *everyone* else.&lt;br /&gt;&lt;br /&gt;Thanks again to Arm for hosting us, for excellent food, coffee and facilities which make this _so much easier_ as a working environment for these days.&lt;/p&gt; </description> 
	<pubDate>Fri, 06 Nov 2026 12:14:36 +0000</pubDate>
  <author>noreply@blogger.com (Andrew Cater)</author>  
</item> 
<item>
	<title>Ben Hutchings: FOSS activity in October 2026</title>
	<guid>https://www.decadent.org.uk/ben/blog/2026/11/06/foss-activity-in-october-2026</guid>
	<link>https://www.decadent.org.uk/ben/blog/2026/11/06/foss-activity-in-october-2026.html</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/benh.png&quot; width=&quot;109&quot; height=&quot;100&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;ul&gt;
  &lt;li&gt;Debian packages:
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/firmware-nonfree&quot;&gt;firmware-nonfree&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/src:firmware-nonfree&quot;&gt;Bugs&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;replied to &lt;a href=&quot;https://bugs.debian.org/1150535&quot;&gt;#1150535: firmware-amd-graphics: Raphael iGPU SMU fails on resume from s2idle with 20260810 blobs, works with 20240318&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/firmware-nonfree/news/&quot;&gt;Uploads&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;uploaded version 20260916-1~bpo13+1 to trixie-backports&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/kernel-sec&quot;&gt;kernel-sec&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;Merge requests:
            &lt;ul&gt;
              &lt;li&gt;opened &lt;a href=&quot;https://salsa.debian.org/kernel-team/kernel-sec/-/merge_requests/32&quot;&gt;!32: Handle references to pending commits in vulns.git&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;opened &lt;a href=&quot;https://salsa.debian.org/kernel-team/kernel-sec/-/merge_requests/33&quot;&gt;!33: Add 5.10-bullseye-elts branch&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/kup&quot;&gt;kup&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;Merge requests:
            &lt;ul&gt;
              &lt;li&gt;reviewed &lt;a href=&quot;https://salsa.debian.org/kernel-team/kup/-/merge_requests/3&quot;&gt;!3: New upstream version&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux&quot;&gt;linux&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/src:linux&quot;&gt;Bugs&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;replied to &lt;a href=&quot;https://bugs.debian.org/1149564&quot;&gt;#1149564: linux-image-6.12.111+deb13-amd64: 6.12.111-1 regression crash bnxt_en: DMAR: DRHD: handling fault status reg 2&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;replied to &lt;a href=&quot;https://bugs.debian.org/1149641&quot;&gt;#1149641: linux: 6.12.111-1 regression: ASUS N-KEY keyboard (0b05:1866) dead, hid-asus “failed to request functions: -75”, cannot unlock LUKS root (GA401IV)&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;replied to &lt;a href=&quot;https://bugs.debian.org/1150352&quot;&gt;#1150352: linux-image-amd64: cannot upgrade from backported kernel 7.1.13 to 7.2.6&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
          &lt;li&gt;Merge requests:
            &lt;ul&gt;
              &lt;li&gt;reviewed &lt;a href=&quot;https://salsa.debian.org/kernel-team/linux/-/merge_requests/2067&quot;&gt;!2067: Introduce build profile for unsigned build&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;merged &lt;a href=&quot;https://salsa.debian.org/kernel-team/linux/-/merge_requests/2115&quot;&gt;!2115: 6.1 stable updates&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux/news/&quot;&gt;Uploads&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;uploaded version 7.2.11-1~bpo13+1 to trixie-backports&lt;/li&gt;
              &lt;li&gt;uploaded version 7.2.9-1~bpo13+1 to trixie-backports&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux-6.12&quot;&gt;linux-6.12&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux-6.12/news/&quot;&gt;Uploads&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;uploaded version 6.12.111-1~deb12u1 to bookworm-security&lt;/li&gt;
              &lt;li&gt;uploaded version 6.12.113-1~deb12u1 to bookworm-security&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux-base&quot;&gt;linux-base&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;Merge requests:
            &lt;ul&gt;
              &lt;li&gt;reviewed and merged &lt;a href=&quot;https://salsa.debian.org/kernel-team/linux-base/-/merge_requests/24&quot;&gt;!24: Also accept vmlinuz.unsigned as fallback&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Mailing lists:
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-backports/&quot;&gt;debian-backports&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;replied to &lt;a href=&quot;https://lists.debian.org/bd38a315a01b810563dceabc1b185c0f31f7e4ba.camel@decadent.org.uk&quot;&gt;bpo-kernel breaks out-of-tree kernel modules (from stable)&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-kernel/&quot;&gt;debian-kernel&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;posted &lt;a href=&quot;https://lists.debian.org/2dde7cad58dd14ddb478668b56a901b117709f59.camel@decadent.org.uk&quot;&gt;Agenda items for kernel-team meeting on 2026-10-28&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-lts-announce/&quot;&gt;debian-lts-announce&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;posted &lt;a href=&quot;https://lists.debian.org/asI6SMnKRfm2WbWF@decadent.org.uk&quot;&gt;[SECURITY] [DLA 4817-1] linux-6.12 security update&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;posted &lt;a href=&quot;https://lists.debian.org/atonJMQjgtwKUdOl@decadent.org.uk&quot;&gt;[SECURITY] [DLA 4850-1] linux-6.12 security update&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt; </description> 
	<pubDate>Fri, 06 Nov 2026 10:48:18 +0000</pubDate>

</item> 
<item>
	<title>Gunnar Wolf: Don&#39;t tell anybody... but we have apparently gone DARK!</title>
	<guid>https://gwolf.org/2026/11/don-t-tell-anybody-but-we-have-apparently-gone-dark.html</guid>
	<link>https://gwolf.org/2026/11/don-t-tell-anybody-but-we-have-apparently-gone-dark.html</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/gwolf.png&quot; width=&quot;69&quot; height=&quot;83&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;Your friendly &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;keyring-maint&lt;/code&gt; Debian team received one of the &lt;em&gt;weirdest&lt;/em&gt;
spam messages ever…&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;Weird spam from Obscura&quot; src=&quot;https://gwolf.org/files/2026-11/weird_spam.png&quot; /&gt;&lt;/p&gt;

&lt;p&gt;So, do we want to py to who-knows-whom for promoting the keyring-maint
services in a verrrrrry-dark web search site?&lt;/p&gt;

&lt;p&gt;First time I have to throw this stinky onion at you…&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;Spam!&quot; src=&quot;https://gwolf.org/files/2026-11/spammy_onion.jpg&quot; /&gt;&lt;/p&gt; </description> 
	<pubDate>Thu, 05 Nov 2026 19:14:41 +0000</pubDate>

</item> 
<item>
	<title>John Goerzen: Letter from a Kansan: “Would You Rather Be Right or Happy?”</title>
	<guid>https://changelog.complete.org/?p=45047</guid>
	<link>https://changelog.complete.org/archives/45047-letter-from-a-kansan-would-you-rather-be-right-or-happy</link>
     <description>  &lt;p&gt;As a person that has lived in Kansas almost all my life, I have never seen such good political news for this state as we got this week.  It is a stunning rebuke of fascism from across the country.&lt;/p&gt;
&lt;p&gt;One of the many pieces of wisdom from mechanic Tom Magliozzi is this question: “Would you rather be right, or happy?”  He often asked it in the context of somebody that had just won an argument.&lt;/p&gt;
&lt;p&gt;This is my plea to all our progressive friends: remember that question, and keep it in mind carefully over the next 2 years.  We can either build on this momentum for an even bigger victory in 2028, or we can start to lose this unique coalition.&lt;/p&gt;
&lt;p&gt;Kansans spend our lives being misunderstood and forgotten.&lt;/p&gt;
&lt;p&gt;Many of us, myself included, visit large cities regularly.&lt;/p&gt;
&lt;p&gt;It is a more surprising event when someone from a large city drives down one of our dirt roads.  The kind of road that leaves your car covered in mud when you drive your daughter to school.  The kind of road that we drive on for 3 miles before we reach the nearest paved road.&lt;/p&gt;
&lt;p&gt;Statisticians label Topeka, the capital of Kansas and city of 126,000 people, as rural.&lt;/p&gt;
&lt;p&gt;The nearst town to me, 7 miles away, has a population of 600.  In winter, many people here still leave their keys in their running, unlocked cars while they run into the grocery store.  The person at the bank, the owner of the grocery store, the mechanic, the electricians, the builders, the people that run the local museum, all know my name and recognize me.  Not because I’m famous locally, but because this is normal here.  We are a community, a real one.&lt;/p&gt;
&lt;p&gt;Yet I’ve lost long-time friends, especially from the west coast, because, while I’m progressive, I still talk to Republicans.  They thought Republicans are so evil, they ought to be shunned and ostracized.&lt;/p&gt;
&lt;p&gt;It probably doesn’t compute to a San Franciscan what it means to live in a county that went 80% for Trump one time.  A county of about 10,000 people living in a space larger than Los Angeles, New York, and San Jose — combined.  (Those cities have a combined population of about 13 million, living on the same amount of land as 10,000 people do out here.)&lt;/p&gt;
&lt;p&gt;If I avoided talking to Republicans, it wouldn’t be them that would be isolated.  It would be me.&lt;/p&gt;
&lt;p&gt;Out here, many of us have lived with each other for generations.  We may go on living with them for generations.  If somebody’s car is stuck in the mud, the first person that comes by with a truck and a rope will probably pull them out.  Nobody asks who you voted for.  This is what you do for neighbors, because neighbors are humans, and next time it might be me that’s stuck in the mud.&lt;/p&gt;
&lt;p&gt;I can be as incensed as anyone else about what the fascists are doing.  I don’t have direct knowledge of how a lot of people vote.  But I take a deep breath sometimes and remind myself: these are my neighbors.  I’ve seen them go out of their way to be kind and generous with all walks of humanity.  (Yes, even whatever groups you’re imaginging to argue with me about.)&lt;/p&gt;
&lt;p&gt;This is part of how Adam Hamilton defeated Roger Marshal.  The anti-Trump sentiment wasn’t enough on its own.  Lifelong Republicans dissatisfied with how Trump handled things weren’t just going to vote for any Democrat.  They needed someone that was safe.  Someone that talked to them as humans.  Someone that respected them.&lt;/p&gt;
&lt;p&gt;Adam Hamilton went and shook hands with MAGA protestors at his events.  He told them “I want to be your senator, too.”&lt;/p&gt;
&lt;p&gt;This is how you win over the &lt;a href=&quot;https://www.motherjones.com/politics/2026/10/adam-hamilton-roger-marshall-rob-schenck-can-kansas-get-democratic-religion/&quot;&gt;most strident of Republicans&lt;/a&gt;.  Hamilton didn’t compromise his beliefs.  He invited discussion about them.&lt;/p&gt;
&lt;p&gt;I have already been seeing some progressives say things like, “Don’t cut them any slack.  Remember how many times people voted for fascism!  They need to still be ostracized.”&lt;/p&gt;
&lt;p&gt;That, folks, is the way we lose.  It is the wrong strategy everywhere.  And it is especially culturally wrong in the close-knit communities — again, actual communities where people know each other and have for years — that make up the heartland.&lt;/p&gt;
&lt;p&gt;Building relationships with people different than us is our best chance to build on this coalition.  And, isn’t that what progressive values call for?&lt;/p&gt;
&lt;p&gt;So, celebrate this victory.  Clap for all the activists that made it happen.&lt;/p&gt;
&lt;p&gt;And, before you set off to alienate your new and tentative allies, ask yourself:&lt;/p&gt;
&lt;p&gt;“Would I rather be right?  Or win again?”&lt;/p&gt; </description> 
	<pubDate>Thu, 05 Nov 2026 06:19:28 +0000</pubDate>

</item> 
<item>
	<title>Reproducible Builds (diffoscope): diffoscope 337 released</title>
	<guid>https://diffoscope.org/news/diffoscope-337-released/</guid>
	<link>https://diffoscope.org/news/diffoscope-337-released/</link>
     <description>  &lt;p&gt;The diffoscope maintainers are pleased to announce the release of diffoscope
version &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;337&lt;/code&gt;. This version includes the following changes:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;[ Chris Lamb ]
* Mark that the test_nupkg_compressed_files test requires the tlsh Python
* module. (Closes: #1151752)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You find out more by &lt;a href=&quot;https://diffoscope.org&quot;&gt;visiting the project homepage&lt;/a&gt;.&lt;/p&gt; </description> 
	<pubDate>Thu, 05 Nov 2026 00:00:00 +0000</pubDate>

</item> 
<item>
	<title>Juan Manuel Méndez Rey: Hello, Planet Debian</title>
	<guid>https://vejeta.com/en/blog/hello-planet-debian/</guid>
	<link>https://vejeta.com/en/blog/hello-planet-debian/</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/mendezr.png&quot; width=&quot;65&quot; height=&quot;85&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;Hello, Planet Debian. My blog was added to the Planet today, so I think the polite thing is to introduce myself before you start finding my posts between yours.&lt;/p&gt;
&lt;p&gt;I am Juan Manuel Méndez Rey, from Sevilla. In Debian I am mendezr, and on OFTC I am Vejeta. I have been using Linux since 1994 and Debian since 1998. For a long time that was all: a happy user, installing, breaking things, reading the mailing lists from the outside. I started contributing in October 2025, and last month I became a Debian Maintainer.&lt;/p&gt;
&lt;h2 id=&quot;a-friend-and-an-old-rfp&quot;&gt;A friend and an old RFP&lt;/h2&gt;
&lt;p&gt;The way in was a friend. Back in 2019 Arturo Borrero Gonzalez filed &lt;a href=&quot;https://bugs.debian.org/943703&quot;&gt;RFP #943703&lt;/a&gt; for Stremio, and for years he kept telling me I should pick it up. In September 2025 I finally listened and turned it into an ITP. It took longer than I like to admit, but &lt;a href=&quot;https://tracker.debian.org/pkg/stremio&quot;&gt;Stremio is now in Debian&lt;/a&gt;, and I told &lt;a href=&quot;https://vejeta.com/en/blog/stremio-is-finally-in-the-debian-archive/&quot;&gt;that story here&lt;/a&gt;. A six year old RFP turned out to be a very good first package.&lt;/p&gt;
&lt;h2 id=&quot;rescuing-old-software&quot;&gt;Rescuing old software&lt;/h2&gt;
&lt;p&gt;Somewhere along the way I discovered that what I enjoy most is bringing old software back.&lt;/p&gt;
&lt;p&gt;The first one came from tille, who asked for help in #debian-tinytasks with &lt;a href=&quot;https://tracker.debian.org/pkg/xwpe&quot;&gt;xwpe&lt;/a&gt;, a Borland style programming editor for the terminal that nobody was looking after. I adopted it, and then I ended up as its upstream maintainer too. I fixed the old bugs and added LSP and DAP, so now an editor from 1993 can debug Go. It ships on several distributions, in Homebrew and on the BSDs. The canonical repo is on &lt;a href=&quot;https://codeberg.org/mendezr/xwpe&quot;&gt;Codeberg&lt;/a&gt;, and the long version is &lt;a href=&quot;https://vejeta.com/en/blog/xwpe-2026-digital-archaeology-of-a-1993-programming-editor/&quot;&gt;in this post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://vejeta.com/images/2026/11/xwpe-go-dap-debug.png&quot;&gt;&lt;img alt=&quot;xwpe debugging a Go program over DAP, with a live Watches pane&quot; height=&quot;360&quot; src=&quot;https://vejeta.com/images/2026/11/xwpe-go-dap-debug.png&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The second one is older and took much longer. Conquer is a Unix strategy game written by Ed Barlow and Adam Bryant in 1987, and I lost many hours of my youth to it. It never had a free licence. I first asked about it on debian-legal in October 2006, and I spent the next 20 years tracking down the authors, one email at a time. Today Conquer v4 and V5 are GPL-3.0. It is not packaged in Debian yet, that is the next step, but you can already &lt;a href=&quot;https://vejeta.com/en/blog/conquer-a-20-year-odyssey-in-digital-archaeology/&quot;&gt;play it in the browser&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://vejeta.com/images/2026/11/conquer-web-first-turn.jpg&quot;&gt;&lt;img alt=&quot;Conquer running in the browser, first turn&quot; height=&quot;270&quot; src=&quot;https://vejeta.com/images/2026/11/conquer-web-first-turn.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&quot;what-i-am-doing-now&quot;&gt;What I am doing now&lt;/h2&gt;
&lt;p&gt;CEF took me six months and brought me into the Chromium team, and these days I am mostly with the syft, trivy and grype security stack and with Scala 3 and sbt for Debian.&lt;/p&gt;
&lt;h2 id=&quot;thanks&quot;&gt;Thanks&lt;/h2&gt;
&lt;p&gt;To Arturo, for the nudge. To dilinger, tille and tsimonq2, my DM advocates, for trusting me.&lt;/p&gt;
&lt;p&gt;And if you can sponsor uploads for syft, trivy, grype or the Scala work, I would be very grateful. The details are on &lt;a href=&quot;https://wiki.debian.org/JuanMendezRey&quot;&gt;my wiki page&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can find me there, as Vejeta on OFTC, or on Mastodon as &lt;a href=&quot;https://mastodon.sdf.org/@vejeta&quot;&gt;@vejeta@mastodon.sdf.org&lt;/a&gt;. Nice to meet you all.&lt;/p&gt; </description> 
	<pubDate>Wed, 04 Nov 2026 19:30:00 +0000</pubDate>

</item> 
<item>
	<title>Louis-Philippe Véronneau: Tenure</title>
	<guid>tag:veronneau.org,2026-11-04:/tenure.html</guid>
	<link>https://veronneau.org/tenure.html</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/pollo.png&quot; width=&quot;65&quot; height=&quot;70&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;Last week, I received confirmation from my college&#39;s human resources department
I was awarded tenure. If you ever worked in the academic world, you know how
big of a deal this is.&lt;/p&gt;
&lt;p&gt;In our fast moving and ever-increasingly unstable world, it is a pretty strange
feeling to know you have a stable, well-paying job for the rest of your career.
I am truly privileged to have an occupation I greatly enjoy.&lt;/p&gt;
&lt;p&gt;Three cheers for another 30 years!&lt;/p&gt; </description> 
	<pubDate>Tue, 03 Nov 2026 18:00:16 +0000</pubDate>

</item> 
<item>
	<title>John Goerzen: Must we always use LLMs this way?</title>
	<guid>https://changelog.complete.org/?p=44973</guid>
	<link>https://changelog.complete.org/archives/44973-must-we-always-use-llms-this-way</link>
     <description>  &lt;p&gt;As with my &lt;a href=&quot;https://changelog.complete.org/archives/44740-ai-in-debian-the-vote-proposals-and-nuance&quot;&gt;last post on AI&lt;/a&gt;, let me open with a statement:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Just because most people hold AI a certain way, doesn’t mean that we always must, either now or in the future.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;As I noted in that piece, and my &lt;a href=&quot;https://changelog.complete.org/archives/42503-artificial-intelligence-shades-of-gray&quot;&gt;shades of gray post&lt;/a&gt;, I am well aware — &lt;i&gt;and agree with&lt;/i&gt; — the notion that a lot of frontier AI models have disturbing ethical concerns that we shouldn’t dismiss, including concentration of power and wealth, environmental concerns, unethical scraping and training, the financial bubble they seem to be creating, and more.  The most poisonous of AI cheerleaders are accelerating enshittification while cutting quality all over the place.  AI slop is also a real problem, which I’ll discuss in a bit.&lt;/p&gt;
&lt;p&gt;Before I dive in, I need to mention that no AI assistance was used for writing this post, and I have been using em dashes — correctly — for years before LLMs did.  Secondly, while popular discourse seems to use “AI” and “LLM” interchangeably, the AI field is much more broad and much more old than LLMs.  I will, nonetheless, adopt the common “AI” jargon here, but be more specific when necessary to differentiate.&lt;/p&gt;
&lt;p&gt;In &lt;a href=&quot;https://shop.craphound.com/&quot;&gt;The Reverse Centaur’s Guide to Life After AI&lt;/a&gt; by Cory Doctorow, he presented two ideas I particularly want to focus on here:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The present and future of LLMs outside of the cloud-hosted frontier models&lt;/li&gt;
&lt;li&gt;What differentiates productive use of AI from slop&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The two are related, in fact.  Doctorow discussed how he never uses AI to write anything, but he sometimes uses it as an assistant to help him write.  Is that contradictory?  Not really.  He gave this example: he remembered a quote from a podcast, which he wanted to cite and attribute correctly.  But he couldn’t remember which podcast or who said it.  So he fired up &lt;a href=&quot;https://github.com/openai/whisper&quot;&gt;Whisper&lt;/a&gt;, an open-weight model you can download and run locally, even on meagre hardware.  Whisper is a speech-to-text model.  Doctorow ran likely podcast episodes (from the target range and set of podcasts he listens to) through the model, and at that point it was a regular search.  He found the quote, then went back and listened to the episode at that time spot to verify its accuracy.&lt;/p&gt;
&lt;p&gt;It would have taken so much time to do this without Whisper that he simply would not have done it otherwise.  His writing was better because of AI.  Not because AI wrote any words for him, but because it helped him find the right ideas and attributions.  He didn’t even have to trust its transcription; it pointed him at the right place, and then he could transcribe with precision.&lt;/p&gt;
&lt;p&gt;I too have used Whisper in much the same way.  A little while back, I digitized many hours of old family audio recordings going back to the 1970s.  Thanks to Whisper, which I ran locally primarily during hours of being fully solar-powered, I have a searchable index to these gems.  A person I know recently asked me if I knew any way to transcribe some old family recordings he had.  I told him I could run it through Whisper.  It wouldn’t have great punctuation, but most of the words would be there.  This meant a lot to him and his family; what I did in 2 minutes would have taken him many days (I presume he is not a fast typist as well.)&lt;/p&gt;
&lt;p&gt;So we can start by naming: &lt;b&gt;AI isn’t just chatbots, and AI can help even if it isn’t writing anything.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Doctorow goes on to ask the question: what happens after the AI bubble bursts?  I do believe it will, as &lt;a href=&quot;https://www.wheresyoured.at/&quot;&gt;Ed Zitron&lt;/a&gt; has carefully documented for us for a long time now.  The environmental damage done by frontier training and inference in the last few years will, of course, be done.  But as he points out, we’ll be left with a plethora of surprisingly-capable open weight models, a community that has made significant strides running them on low-end devices (even phones), and a massive buildup of clean energy that hopefully will be finally able to offset some polluting energy once these heavy users drop off the grid.&lt;/p&gt;
&lt;p&gt;So then what?  Will the world just throw away the likes of Whisper and Gemma?  Obviously not.  Doctorow imagines, credibly, a situation in which individuals and universities tinker with locally-run models, iterating on them and improving them with the more traditional scale of resources available to individuals and universities.  In other words, &lt;b&gt;this future sounds a lot like the earlier days of Open Source.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;As Ed Zitron has pointed out, the real costs of frontier AI have been hidden as these companies rack up fantastical losses.  When the bubble bursts, the real costs of frontier AI are likely to be high enough that CEO’s won’t be able to ignore the poor ROI.  But we’ll be left with these artifacts, these open-weight starting points, that people can use.&lt;/p&gt;
&lt;p&gt;That brings me to my central thesis: a lot of anti-AI sentiment is focused on the real downsides of the hyped uses of AI, and fails to account for the more ethical advances being made now, and likely to come in the future.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Varying quality of AI use&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;We are all familiar with AI slop.  I’ve seen it, and have an increasingly skeptical eye when I see “new” projects announced in even places as niche as a BBS community (where I see things like new terminal emulators announced, written in shockingly-poor nodejs, and such).  I’ve seen documents that take many pages to say what amounts to nothing intelligble to a human, with perfect grammar.  I’ve seen pull requests that have a description that amounts to several pages of slop.  I’ve personally seen an AI agent do things like correctly detect passing an untrusted argument to a shell, then propose a broken quoting algorithm to fix it (rather than proper sanitization and exec() or, better yet, avoiding the call altogether.)&lt;/p&gt;
&lt;p&gt;I’ve also seen AI tools very quickly and accurately identify bugs that had passed human review, even professional security reviews, for years.  I’ve seen them bring more joy to some people’s jobs by handling the more drudgery parts of the jobs.  One of my favorite podcasts, Oxide and Friends, had an episode called &lt;a href=&quot;https://www.youtube.com/watch?v=fmFt4-jjEc0&quot;&gt;Engineering Rigor in the LLM age&lt;/a&gt; and credibly described ways in which careful use of LLMs can &lt;i&gt;increase&lt;/i&gt; quality and safety.  Yes, I said increase.  (Oxide and Friends are not hype cheerleaders by any means; these are very serious people with solid technical chops, and I know some of them.)&lt;/p&gt;
&lt;p&gt;What accounts for this disconnect?&lt;/p&gt;
&lt;p&gt;We can point to many factors, but Doctorow asks a fundamental question: who is in charge?  Is it the person or the computer?  Does the AI service people, or do people service the AI?&lt;/p&gt;
&lt;p&gt;In some of the most ridiculously AI-first companies, it is very clearly the latter.  Mandates from CEOs to increase AI usage lead to perverse outcomes that sacrifice quality.  The AI is in charge.  I’ve never seen an AI be any good at design questions, and it’s no wonder than all these vibe-coded apps have the same generic feeling of crappiness.&lt;/p&gt;
&lt;p&gt;But when the AI is used pragmatically as a junior research assistant, that’s a different approach.  Its output is greeted skeptically, its actions distrusted, and it’s never asked to design something.  These are the cases where I’ve seen it make a meaningful difference.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;It’s not black-and-white&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;All this adds up to why I was opposed to the Debian proposals that would have banned LLM use.  Those votes are hard to change.  They would have left Debian in a vulnerable position of being unable to react to accurate security findings if they originated with an LLM, or left Debian unable to adopt ethical use of models.&lt;/p&gt;
&lt;p&gt;It would be akin to saying “you should never buy a PC because Windows 11 is terrible.”  I agree Windows 11 is terrible, but saying something like that is so dismissive of all those that have invested decades of their time in building something better.&lt;/p&gt;
&lt;p&gt;So, I find AI hype to be uncredible and dangerous.  I also find knee-jerk reactions to AI to be the same.  They are actually a form of capitulation: &lt;b&gt;they let the AI megacorps dictate the terms of the conversation to revolve around them&lt;/b&gt;.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Case study: Debian’s DFSG scanner&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;For a long time, my two biggest annoyances with Debian have been the difficulty of packaging Rust and Go packages with their long dependency trees, and how long it takes a new package to get reviewed.  About a year ago, the latter process was set on a path to reform, and it has gotten dramatically better.  It also cuts off a potential connection with someone that hasn’t yet heard of Linux.  Some people may not jump from Windows 11 (or the ChatGPTs of the world) immediately, but pretending that it’s ChatGPT or nothing does a disservice to all those that are trying to do research etchically.&lt;/p&gt;
&lt;p&gt;We should state at the outset that Debian takes compliance with the &lt;a href=&quot;https://www.debian.org/social_contract#guidelines&quot;&gt;Debian Free Software Guidelines&lt;/a&gt; (DFSG) extremely seriously.  Every new package gets a review, and these reviews often catch things that upstream repos and other distros don’t.  One common example would be a package that has a stated copyright and license, but then includes files that bear a different copyright and license.&lt;/p&gt;
&lt;p&gt;You can imagine reviewing packages at this level of detail isn’t a fun task for people, and it’s hard to find volunteers to do it.  Perhaps the answer to this should be “Debian should stop caring so much more than everyone else”, and perhaps you’re right (and perhaps you aren’t).&lt;/p&gt;
&lt;p&gt;In any case, the DFSG team that reviews this added what amounts to an LLM-backed license linter.  Its job is to produce an initial assessment that the license statements documented in debian/copyright are correct, thorough, and in compliance with DFSG.  This report was not taken to be authoritative, but was designed to help with some initial assessments.&lt;/p&gt;
&lt;p&gt;There were some predictable reactions.  People were angry that the DFSG team had added this tool without any communication about it (justifiably so, I’d say).  Many were angry just because of LLM.  People made assumptions about what kind of model it used, what kind of quality it would produce, how definitive it would be in the project.&lt;/p&gt;
&lt;p&gt;It is worth noting here that Debian is uniquely decentralized.  There is a central policy, but maintainers are free to maintain their packages how they like.  They don’t have to use a standard location for a Git repo, or even use Git.&lt;/p&gt;
&lt;p&gt;One person said essentially, “it’s fine for others to use whatever tool they want, but I shouldn’t have to be exposed to LLM slop.”  The other perspective boiled down to, “why should they keep the reports secret?  If you want to proactively fix things, or flag false positives, why not?”&lt;/p&gt;
&lt;p&gt;As Andreas Tille wrote, “I have read the LLM reviews carefully, and in many cases their findings inspired additional commits to improve my packaging. In some cases, they even helped me catch mistakes that led me to reject an upload myself before human inspection.”&lt;/p&gt;
&lt;p&gt;Joey Hess &lt;a href=&quot;https://joeyh.name/blog/entry/Debian_and_the_sirens/&quot;&gt;raises an interesting risk&lt;/a&gt;: that LLMs will remove the incentive for Debian to actually fix its cumbersome processes, by letting an LLM paper them over.  I have seen this tendency in other contexts, both at work and at home, as well.  It’s a real risk, especially if Debian doesn’t tackle the packaging problem for Rust and Go.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;https://mamot.fr/@ploum/117547571123879380&quot;&gt;Mastodon post&lt;/a&gt; that prompted me to write this began a chain of events that started with “Uploaders will be forced to address LLMs issues without human inspection.”  I don’t believe that will be the case; it goes too far against the Debian ethos.&lt;/p&gt;
&lt;p&gt;I encourage everyone to take a deep breath.  We are all getting used to a shifting landscape.  We will all make missteps, myself included.  The issues are complicated, the picture isn’t black and white, and there is incredible hype around the ecosystem that can make finding nuance difficult.&lt;/p&gt;
&lt;p&gt;Let’s be kind to each other, fellow humans.&lt;/p&gt;
&lt;p&gt;But, I do not care if you are kind to Claude.&lt;/p&gt; </description> 
	<pubDate>Tue, 03 Nov 2026 01:04:04 +0000</pubDate>

</item> 
<item>
	<title>Dirk Eddelbuettel: myman 0.13.0 on CRAN: Another wave!</title>
	<guid>http://dirk.eddelbuettel.com/blog/2026/11/02#myman_0.13.0</guid>
	<link>http://dirk.eddelbuettel.com/blog/2026/11/02#myman_0.13.0</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/dirk.png&quot; width=&quot;65&quot; height=&quot;90&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;Another new version of our still-new-ish package &lt;a href=&quot;https://github.com/eddelbuettel/myman&quot;&gt;myman&lt;/a&gt; reached &lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt; this morning, and has been
built for &lt;a href=&quot;https://eddelbuettel.github.io/r2u/&quot;&gt;r2u&lt;/a&gt; and on
&lt;a href=&quot;https://eddelbuettel.r-universe.dev/myman&quot;&gt;r-universe&lt;/a&gt;. The
matching &lt;a href=&quot;https://pypi.org/project/myman/&quot;&gt;Python package&lt;/a&gt;
has also been updated. The package offers twenty two hundred eighty four
&lt;em&gt;“My man …”&lt;/em&gt; posts by &lt;a href=&quot;https://bsky.app/profile/kevinmkruse.bsky.social&quot;&gt;Kevin Kruse&lt;/a&gt;
made on &lt;a href=&quot;https://bsky.app&quot;&gt;bsky&lt;/a&gt; during the summer of 2026.
Each wave picked at one particular public persona. This package wrapse
these up in the style of packages like &lt;a href=&quot;https://zeileis.codeberg.page/fortunes/&quot;&gt;fortunes&lt;/a&gt; or &lt;a href=&quot;https://github.com/eddelbuettel/gaussfacts&quot;&gt;gaussfacts&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This release contains a new wave from October 31 to November 1 poking
fun at Mike Johnson—just in time for the election.&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb1&quot;&gt;&lt;pre class=&quot;sourceCode r&quot;&gt;&lt;code class=&quot;sourceCode r&quot;&gt;&lt;span id=&quot;cb1-1&quot;&gt;&lt;a href=&quot;https://dirk.eddelbuettel.com/blog/index.rss#cb1-1&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;sc&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;fu&quot;&gt;library&lt;/span&gt;(myman)&lt;/span&gt;
&lt;span id=&quot;cb1-2&quot;&gt;&lt;a href=&quot;https://dirk.eddelbuettel.com/blog/index.rss#cb1-2&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;sc&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;fu&quot;&gt;set.seed&lt;/span&gt;(&lt;span class=&quot;dv&quot;&gt;20261102&lt;/span&gt;)  &lt;span class=&quot;co&quot;&gt;# reproducible sampling&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb1-3&quot;&gt;&lt;a href=&quot;https://dirk.eddelbuettel.com/blog/index.rss#cb1-3&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;sc&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;fu&quot;&gt;myman&lt;/span&gt;(&lt;span class=&quot;at&quot;&gt;target=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&quot;Mike Johnson&quot;&lt;/span&gt;)&lt;/span&gt;
&lt;span id=&quot;cb1-4&quot;&gt;&lt;a href=&quot;https://dirk.eddelbuettel.com/blog/index.rss#cb1-4&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;My man looks like he used parental controls to block &lt;span class=&quot;st&quot;&gt;&quot;Pimp My Ride&quot;&lt;/span&gt;.&lt;/span&gt;
&lt;span id=&quot;cb1-5&quot;&gt;&lt;a href=&quot;https://dirk.eddelbuettel.com/blog/index.rss#cb1-5&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;     &lt;span class=&quot;sc&quot;&gt;--&lt;/span&gt; about Mike Johnson on &lt;span class=&quot;dv&quot;&gt;2026-11-01&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb1-6&quot;&gt;&lt;a href=&quot;https://dirk.eddelbuettel.com/blog/index.rss#cb1-6&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb1-7&quot;&gt;&lt;a href=&quot;https://dirk.eddelbuettel.com/blog/index.rss#cb1-7&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;sc&quot;&gt;&amp;gt;&lt;/span&gt; &lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;So have a chuckle, and then go out and vote! The short NEWS entry for
this release follows.&lt;/p&gt;
&lt;blockquote&gt;
&lt;h4 id=&quot;changes-in-version-0.13.0-2026-11-02&quot;&gt;Changes in version 0.13.0
(2026-11-02)&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;New wave thirteen (100 posts); total is now 2284 posts&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;Courtesy of my &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/&quot;&gt;CRANberries&lt;/a&gt;, there
is also a diffstat report for the &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/2026/11/02#myman_0.13.0&quot;&gt;most
recent release&lt;/a&gt;. More information is available at the &lt;a href=&quot;https://github.com/eddelbuettel/myman&quot;&gt;repository&lt;/a&gt; or the &lt;a href=&quot;https://dirk.eddelbuettel.com/code/myman.html&quot;&gt;package
page&lt;/a&gt;.&lt;/p&gt;
&lt;p style=&quot;font-size: 80%; font-style: italic;&quot;&gt;
This post by &lt;a href=&quot;https://dirk.eddelbuettel.com&quot;&gt;Dirk
Eddelbuettel&lt;/a&gt; originated on his &lt;a href=&quot;https://dirk.eddelbuettel.com/blog/&quot;&gt;Thinking inside the box&lt;/a&gt;
blog. If you like this or other open-source work I do, you can &lt;a href=&quot;https://github.com/sponsors/eddelbuettel&quot;&gt;sponsor me at
GitHub&lt;/a&gt;.
&lt;/p&gt;&lt;p&gt;&lt;/p&gt; </description> 
	<pubDate>Mon, 02 Nov 2026 12:32:00 +0000</pubDate>

</item> 
<item>
	<title>Vasudev Kamath: Releasing debvulns with needrestart and kernel vulnerability handling</title>
	<guid>tag:copyninja.in,2026-11-01:/blog/debvulns-needrestart.html</guid>
	<link>https://copyninja.in/blog/debvulns-needrestart.html</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/vasudev.png&quot; width=&quot;65&quot; height=&quot;85&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;After quite some time, I picked up &lt;tt class=&quot;docutils literal&quot;&gt;debvulns&lt;/tt&gt; again to implement what I
mentioned in my &lt;a class=&quot;reference external&quot; href=&quot;https://copyninja.in/blog/debvulns-exporter-newversion.html&quot;&gt;previous post&lt;/a&gt;: exporting reboot
required status and identifying services that need a restart.
Additionally, I wanted to ensure kernel vulnerabilities are not marked as
fixed unless the running kernel matches or exceeds the fixed version. Both
features are now live in version &lt;tt class=&quot;docutils literal&quot;&gt;0.2.4&lt;/tt&gt; (intermediate release &lt;tt class=&quot;docutils literal&quot;&gt;0.2.3&lt;/tt&gt;
only included the needrestart functionality).&lt;/p&gt;
&lt;div class=&quot;section&quot; id=&quot;why-needrestart&quot;&gt;
&lt;h2&gt;Why needrestart?&lt;/h2&gt;
&lt;p&gt;When you update packages on a system, security fixes do not take effect until
running processes actually use the updated binaries from disk. When an upgrade
occurs, existing processes continue executing the older, vulnerable code loaded
into memory, while only newly spawned instances pick up the fixed binary.
The &lt;tt class=&quot;docutils literal&quot;&gt;needrestart&lt;/tt&gt; package in Debian exists specifically for this purpose. It
can run in either report mode or action mode: report mode provides machine-readable
output, while action mode automatically restarts affected services.&lt;/p&gt;
&lt;div class=&quot;section&quot; id=&quot;why-integrate-needrestart-into-debvulns&quot;&gt;
&lt;h3&gt;Why integrate needrestart into debvulns?&lt;/h3&gt;
&lt;p&gt;&lt;tt class=&quot;docutils literal&quot;&gt;needrestart&lt;/tt&gt; is a standalone utility that can run independently or hook into
&lt;tt class=&quot;docutils literal&quot;&gt;apt&lt;/tt&gt; to run automatically after an upgrade. On desktop systems, it typically
runs interactively with a TUI prompt; on headless servers, it can be set to take
non-interactive default actions. In batch mode, it avoids restarting sensitive
system components (such as &lt;tt class=&quot;docutils literal&quot;&gt;dbus&lt;/tt&gt;) to prevent destabilizing the session.&lt;/p&gt;
&lt;p&gt;Integrating this into &lt;tt class=&quot;docutils literal&quot;&gt;debvulns&lt;/tt&gt; is not about replacing &lt;tt class=&quot;docutils literal&quot;&gt;needrestart&lt;/tt&gt; or
&lt;tt class=&quot;docutils literal&quot;&gt;debsecan&lt;/tt&gt;, but rather bringing vulnerability and remediation state into a single,
discoverable interface. &lt;tt class=&quot;docutils literal&quot;&gt;debvulns&lt;/tt&gt; aggregates these signals into a standard
format—in this case, Prometheus metrics and tags that can be visualized in
Grafana, monitored by alerting systems, or consumed downstream by automation tools.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;why-special-handling-for-kernel&quot;&gt;
&lt;h2&gt;Why Special Handling for Kernel?&lt;/h2&gt;
&lt;p&gt;Just as user-space daemons require a restart after patching, a patched kernel
requires a system reboot into the new image before the vulnerability is truly
mitigated. Previously, &lt;tt class=&quot;docutils literal&quot;&gt;debvulns&lt;/tt&gt; only verified whether the patched package
version was installed on disk. If the deb package was installed, the CVE was
marked as resolved, which creates a false sense of security while running the old
kernel.&lt;/p&gt;
&lt;p&gt;With this release, &lt;tt class=&quot;docutils literal&quot;&gt;debvulns&lt;/tt&gt; now checks the active running kernel release. A
kernel vulnerability is considered resolved only when the system is running the
fixed kernel version. Until a reboot happens, the system remains reported as
vulnerable.&lt;/p&gt;
&lt;p&gt;The updated dashboard reflects these changes below. It will need further polish,
but key metrics and restart/reboot states are now visible:&lt;/p&gt;
&lt;img alt=&quot;debvulns Grafana dashboard with needrestart and kernel metrics&quot; src=&quot;https://copyninja.in/images/needrestart-debvulns.png&quot; /&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;what-next&quot;&gt;
&lt;h2&gt;What Next?&lt;/h2&gt;
&lt;p&gt;These were the two pending functional areas I wanted to cover, and no further major
features are planned for now. Next up will be reviewing the entire codebase to
identify potential optimizations and remove any unnecessary complexity. I haven&#39;t
done a full pass through the repository since the initial skeleton implementation,
so testing edge cases and cleaning up the internals will be the main focus.
This will likely take some time since I only hack on this during weekend downtime.
Until then, happy hacking, give the new release a try, and file an issue if you
run into bugs.&lt;/p&gt;
&lt;/div&gt; </description> 
	<pubDate>Sun, 01 Nov 2026 12:33:00 +0000</pubDate>

</item> 
<item>
	<title>Vincent Bernat: Network lab with QEMU</title>
	<guid>http://www.luffy.cx/en/blog/2012-network-lab-qemu.html</guid>
	<link>https://vincent.bernat.ch/en/blog/2012-network-lab-qemu</link>
     <description>  &lt;p&gt;To experiment with network stuff, I was using
&lt;a href=&quot;https://vincent.bernat.ch/en/blog/2011-uml-network-lab&quot; title=&quot;Network lab with User Mode Linux&quot;&gt;&lt;abbr title=&quot;User Mode Linux&quot;&gt;UML&lt;/abbr&gt;-based network labs&lt;/a&gt;. Many alternatives exist, like
&lt;a href=&quot;https://www.gns3.com&quot; title=&quot;GNS3: Graphical Network Simulator&quot;&gt;GNS3&lt;/a&gt;, &lt;a href=&quot;https://www.netkit.org/&quot; title=&quot;Netkit: the poor man&#39;s system to experiment computer networking&quot;&gt;Netkit&lt;/a&gt;, &lt;a href=&quot;https://web.archive.org/web/20111128034057/http://www.marionnet.org/EN/&quot; title=&quot;Marionnet: a virtual network laboratory&quot;&gt;Marionnet&lt;/a&gt; or &lt;a href=&quot;https://clownix.net/&quot; title=&quot;Cloonix: dynamical topology virtual networks&quot;&gt;Cloonix&lt;/a&gt;. All of them are
great viable solutions but I still prefer to stick to my minimal
home-made solution with &lt;abbr title=&quot;User Mode Linux&quot;&gt;UML&lt;/abbr&gt; virtual machines. Here is why:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I didn’t want to use &lt;strong&gt;disk images&lt;/strong&gt;. They take a lot of space and
   they have to be maintained. They also become cluttered, especially
   if you try to reuse them across several labs. They are also
   difficult to share.&lt;/li&gt;
&lt;li&gt;I want to be able to access my &lt;strong&gt;home directory&lt;/strong&gt;. It contains the
   important configuration files related to the lab and I can put them
   in the right place thanks to symbolic links when the lab starts. It
   also makes exchanging files with the lab quite easy.&lt;/li&gt;
&lt;li&gt;I don’t want to &lt;strong&gt;boot a complete system&lt;/strong&gt;. This allows me to be
   cheap on memory and each virtual system should boot in a few
   seconds.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The use of &lt;abbr title=&quot;User Mode Linux&quot;&gt;UML&lt;/abbr&gt; had some drawbacks:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It may be buggy. For example, it is currently not possible to use
   &lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676184&quot; title=&quot;Bug #676184: gdbserver not usable inside UML&quot;&gt;gdbserver inside &lt;abbr title=&quot;User Mode Linux&quot;&gt;UML&lt;/abbr&gt;&lt;/a&gt; without a patch. Sometimes, the kernel
   won’t even compile.&lt;/li&gt;
&lt;li&gt;It is slow.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;However, &lt;abbr title=&quot;User Mode Linux&quot;&gt;UML&lt;/abbr&gt; features &lt;a href=&quot;https://user-mode-linux.sourceforge.net/hostfs.html&quot; title=&quot;UML: Host File Access&quot;&gt;HostFS&lt;/a&gt;, a filesystem providing access to any
part of the host filesystem. This is the killer feature which allows
me to not use any virtual disk image and to get access to my home
directory right from the guest.&lt;/p&gt;
&lt;p&gt;I discovered recently that QEMU provided &lt;a href=&quot;https://wiki.qemu.org/Documentation/9psetup&quot; title=&quot;Setting up 9P in QEMU&quot;&gt;9P&lt;/a&gt;, a similar filesystem
on top of VirtIO, the paravirtualized IO framework.&lt;/p&gt;
&lt;div class=&quot;toc&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#setting-up-the-lab&quot;&gt;Setting up the lab&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#booting-qemu-with-a-minimal-kernel&quot;&gt;Booting QEMU with a minimal kernel&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#initial-ramdisk&quot;&gt;Initial ramdisk&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#root-filesystem&quot;&gt;Root filesystem&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#network&quot;&gt;Network&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#debugging&quot;&gt;Debugging&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#kernel-debugging&quot;&gt;Kernel debugging&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#userland-debugging&quot;&gt;Userland debugging&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#demo&quot;&gt;Demo&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h1 id=&quot;setting-up-the-lab&quot;&gt;Setting up the lab&lt;/h1&gt;
&lt;p&gt;The setup of the lab is done with a
&lt;a href=&quot;https://github.com/vincentbernat/network-lab/blob/master/lab-ecmp-ipv6/setup&quot;&gt;single self-contained shell file&lt;/a&gt;. The layout is similar to
&lt;a href=&quot;https://vincent.bernat.ch/en/blog/2011-uml-network-lab&quot; title=&quot;Network lab with User Mode Linux&quot;&gt;what I have done with &lt;abbr title=&quot;User Mode Linux&quot;&gt;UML&lt;/abbr&gt;&lt;/a&gt;. I will only highlight here the
most interesting steps.&lt;/p&gt;
&lt;h2 id=&quot;booting-qemu-with-a-minimal-kernel&quot;&gt;Booting QEMU with a minimal kernel&lt;/h2&gt;
&lt;p&gt;My initial goal was to experiment with
&lt;a href=&quot;https://patchwork.ozlabs.org/patch/188562/&quot; title=&quot;ipv6: add support of ECMP&quot;&gt;Nicolas Dichtel’s IPv6 ECMP patch&lt;/a&gt;. Therefore, I needed to
configure a custom kernel. I have started from &lt;code&gt;make defconfig&lt;/code&gt;,
removed everything that was not necessary, added what I needed for my
lab (mostly network stuff) and added the appropriate options for VirtIO
drivers:&lt;/p&gt;
&lt;div class=&quot;language-ini codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;na&quot;&gt;CONFIG_NET_9P_VIRTIO&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;y&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;CONFIG_VIRTIO_BLK&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;y&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;CONFIG_VIRTIO_NET&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;y&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;CONFIG_VIRTIO_CONSOLE&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;y&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;CONFIG_HW_RANDOM_VIRTIO&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;y&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;CONFIG_VIRTIO&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;y&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;CONFIG_VIRTIO_RING&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;y&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;CONFIG_VIRTIO_PCI&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;y&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;CONFIG_VIRTIO_BALLOON&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;y&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;CONFIG_VIRTIO_MMIO&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;y&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;No modules. Grab the &lt;a href=&quot;https://github.com/vincentbernat/network-lab/blob/master/lab-ecmp-ipv6/config-3.6%2Becmp%2Boverlayfs&quot; title=&quot;Minimal .config&quot;&gt;complete configuration&lt;/a&gt; if you want to
have a look.&lt;/p&gt;
&lt;p&gt;From here, you can start your kernel with the following command
(&lt;code&gt;$LINUX&lt;/code&gt; is the appropriate &lt;code&gt;bzImage&lt;/code&gt;):&lt;/p&gt;
&lt;div class=&quot;language-bash codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;qemu-system-x86_64&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-m&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;256m&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-display&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;none&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-nodefconfig&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-no-user-config&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-nodefaults&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-chardev&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;stdio,id&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;charserial0,signal&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;off&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-device&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;isa-serial,chardev&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;charserial0,id&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;serial0&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-chardev&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;socket,id&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;con0,path&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$TMP&lt;/span&gt;/vm-&lt;span class=&quot;nv&quot;&gt;$name&lt;/span&gt;-console.pipe,server,nowait&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-mon&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;chardev&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;con0,mode&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;readline,default&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-kernel&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$LINUX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-append&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;init=/bin/sh console=ttyS0&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Since there is no disk to boot from, the kernel will panic when trying
to mount the root filesystem. QEMU is configured to not display video
output (&lt;code&gt;-display none&lt;/code&gt;). A serial port is defined and uses &lt;code&gt;stdio&lt;/code&gt; as
a backend.&lt;sup id=&quot;fnref:signal&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:signal&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; The kernel is configured to use this serial port
as a console (&lt;code&gt;console=ttyS0&lt;/code&gt;). A VirtIO console could have been used
instead but it seems it is not possible to make it work early in the
boot process.&lt;/p&gt;
&lt;p&gt;The QEMU monitor is setup to listen on a Unix socket. It is possible
to connect to it with &lt;code&gt;socat UNIX:$TMP/vm-$name-console.pipe -&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&quot;initial-ramdisk&quot;&gt;Initial ramdisk&lt;/h2&gt;
&lt;div class=&quot;admonition&quot;&gt;
&lt;p class=&quot;admonition-title&quot;&gt;Update (2012-10)&lt;/p&gt;
&lt;p&gt;I was initially unable to mount the host filesystem as the root filesystem
for the guest directly by the kernel. In a comment, &lt;a href=&quot;https://joshtriplett.org/&quot;&gt;Josh
Triplett&lt;/a&gt; told me to use &lt;code&gt;/dev/root&lt;/code&gt; as the mount
tag to solve this problem. I keep using an &lt;em&gt;initrd&lt;/em&gt; in this post but the lab
on &lt;a href=&quot;https://github.com/vincentbernat/network-lab/blob/master/lab-ecmp-ipv6/setup&quot;&gt;GitHub&lt;/a&gt; has been updated to not use one.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Here is how to build a small initial ramdisk:&lt;/p&gt;
&lt;div class=&quot;language-bash codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;# Setup initrd&lt;/span&gt;
setup_initrd&lt;span class=&quot;o&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;info&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Build initrd&quot;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DESTDIR&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$TMP&lt;/span&gt;/initrd
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;mkdir&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-p&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$DESTDIR&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# Setup busybox&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;copy_exec&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$WHICH&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;busybox&lt;span class=&quot;k&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;/bin/busybox
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;applet&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DESTDIR&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;/bin/busybox&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--list&lt;span class=&quot;k&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;do&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;ln&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-s&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;busybox&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;si&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DESTDIR&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;/bin/&lt;span class=&quot;si&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;applet&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;done&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# Setup init&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;cp&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$PROGNAME&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;si&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DESTDIR&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;/init

&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;cd&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DESTDIR&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;find&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;.&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;       &lt;/span&gt;cpio&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--quiet&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-R&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;:0&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-o&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-H&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;newc&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;       &lt;/span&gt;gzip&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&amp;gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$TMP&lt;/span&gt;/initrd.gz
&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The &lt;code&gt;copy_exec&lt;/code&gt; function is stolen from the &lt;code&gt;initramfs-tools&lt;/code&gt; package
in Debian. It will ensure that the appropriate libraries are also
copied. Another solution would have been to use a static &lt;code&gt;busybox&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The setup script is copied as &lt;code&gt;/init&lt;/code&gt; in the initial ramdisk. It will
detect it has been invoked as such. If it were omitted, a shell would
be spawned instead. Remove the &lt;code&gt;cp&lt;/code&gt; call if you want to experiment
manually.&lt;/p&gt;
&lt;p&gt;The flag &lt;code&gt;-initrd&lt;/code&gt; allows QEMU to use this initial ramdisk.&lt;/p&gt;
&lt;h2 id=&quot;root-filesystem&quot;&gt;Root filesystem&lt;/h2&gt;
&lt;p&gt;Let’s mount our root filesystem using &lt;em&gt;9P&lt;/em&gt;. This is quite easy. First
QEMU needs to be configured to export the host filesystem to
the guest:&lt;/p&gt;
&lt;div class=&quot;language-bash codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;qemu-system-x86_64&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;si&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;PREVIOUS_ARGS&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-fsdev&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;local,security_model&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;passthrough,id&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;fsdev-root,path&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;ROOT&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;,readonly&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-device&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;virtio-9p-pci,id&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;fs-root,fsdev&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;fsdev-root,mount_tag&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;rootshare
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;code&gt;${ROOT}&lt;/code&gt; can either be &lt;code&gt;/&lt;/code&gt; or any directory containing a complete
filesystem. Mounting it from the guest is quite easy:&lt;/p&gt;
&lt;div class=&quot;language-bash codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;mkdir&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-p&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;/target/ro
mount&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-t&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;9p&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;rootshare&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;/target/ro&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-o&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;trans&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;virtio,version&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;9p2000.u
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You should find a complete root filesystem inside &lt;code&gt;/target/ro&lt;/code&gt;. I have
used &lt;code&gt;version=9p2000.u&lt;/code&gt; instead of &lt;code&gt;version=9p2000.L&lt;/code&gt; because the
latter does not allow a program to &lt;code&gt;mount()&lt;/code&gt; a host mount
point.&lt;sup id=&quot;fnref:9pversion&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:9pversion&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;Now, you have a read-only root filesystem (because you do not want to
mess with your existing root filesystem and moreover, you did not run
this lab as root, did you?). Let’s use a union filesystem. Debian
comes with &lt;a href=&quot;https://aufs.sourceforge.net/&quot; title=&quot;AUFS: advanced multi-layered unification filesystem&quot;&gt;AUFS&lt;/a&gt; while Ubuntu and OpenWRT have migrated to
&lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git&quot; title=&quot;overlayfs git repository&quot;&gt;overlayfs&lt;/a&gt;. I was previously using AUFS but got errors on some
specific cases. It is still not clear
&lt;a href=&quot;https://lwn.net/Articles/447650/&quot; title=&quot;LWN: Debating overlayfs&quot;&gt;which one will end up in the kernel&lt;/a&gt;. So, let’s try
&lt;em&gt;overlayfs&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;I didn’t find any patchset ready to be applied on top of my kernel
tree. I was working with &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git&quot; title=&quot;net-next git repository&quot;&gt;David Miller’s net-next tree&lt;/a&gt;. Here
is how I have applied the &lt;em&gt;overlayfs&lt;/em&gt; patch on top of it:&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;git&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;remote&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;add&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;torvalds&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;git&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;fetch&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;torvalds
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;git&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;remote&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;add&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;overlayfs&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;git&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;fetch&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;overlayfs
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;git&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;merge-base&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;overlayfs.v15&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;v3.6
&lt;span class=&quot;go&quot;&gt;4cbe5a555fa58a79b6ecbb6c531b8bab0650778d&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;git&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;checkout&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-b&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;net-next+overlayfs
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;git&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;cherry-pick&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;4cbe5a555fa58a79b6ecbb6c531b8bab0650778d..overlayfs.v15
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Don’t forget to enable &lt;code&gt;CONFIG_OVERLAYFS_FS&lt;/code&gt; in &lt;code&gt;.config&lt;/code&gt;. Here is how
I configured the whole root filesystem:&lt;/p&gt;
&lt;div class=&quot;language-bash codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;info&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Setup overlayfs&quot;&lt;/span&gt;
mkdir&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;/target
mkdir&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;/target/ro
mkdir&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;/target/rw
mkdir&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;/target/overlay
&lt;span class=&quot;c1&quot;&gt;# Version 9p2000.u allows one to access /dev, /sys and mount new&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;# partitions over them. This is not the case for 9p2000.L.&lt;/span&gt;
mount&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-t&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;9p&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;rootshare&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;/target/ro&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;-o&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;trans&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;virtio,version&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;9p2000.u
mount&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-t&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;tmpfs&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;tmpfs&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;/target/rw&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;-o&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;rw
mount&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-t&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;overlayfs&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;overlayfs&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;/target/overlay&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-o&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;lowerdir&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;/target/ro,upperdir&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;/target/rw
mount&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-n&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-t&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;proc&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;proc&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;/target/overlay/proc
mount&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-n&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-t&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;sysfs&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;sys&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;/target/overlay/sys

info&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Mount home directory on /root&quot;&lt;/span&gt;
mount&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-t&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;9p&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;homeshare&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;/target/overlay/root&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-o&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;trans&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;virtio,version&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;9p2000.L,access&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;,rw

info&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Mount lab directory on /lab&quot;&lt;/span&gt;
mkdir&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;/target/overlay/lab
mount&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-t&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;9p&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;labshare&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;/target/overlay/lab&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-o&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;trans&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;virtio,version&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;9p2000.L,access&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;,rw

info&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Chroot&quot;&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;export&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;STATE&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;
cp&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$PROGNAME&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;/target/overlay
&lt;span class=&quot;nb&quot;&gt;exec&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;chroot&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;/target/overlay&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$PROGNAME&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You have to export your &lt;code&gt;${HOME}&lt;/code&gt; and the lab directory from host:&lt;/p&gt;
&lt;div class=&quot;language-bash codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;qemu-system-x86_64&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;si&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;PREVIOUS_ARGS&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-fsdev&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;local,security_model&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;passthrough,id&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;fsdev-root,path&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;ROOT&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;,readonly&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-device&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;virtio-9p-pci,id&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;fs-root,fsdev&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;fsdev-root,mount_tag&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;rootshare&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-fsdev&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;local,security_model&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;none,id&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;fsdev-home,path&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;HOME&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-device&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;virtio-9p-pci,id&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;fs-home,fsdev&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;fsdev-home,mount_tag&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;homeshare&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-fsdev&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;local,security_model&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;none,id&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;fsdev-lab,path&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;$(&lt;/span&gt;dirname&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$PROGNAME&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-device&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;virtio-9p-pci,id&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;fs-lab,fsdev&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;fsdev-lab,mount_tag&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;labshare
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2 id=&quot;network&quot;&gt;Network&lt;/h2&gt;
&lt;p&gt;You know what is missing from our network lab? Network setup. For each
LAN that I will need, I spawn a VDE switch:&lt;/p&gt;
&lt;div class=&quot;language-bash codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;# Setup a VDE switch&lt;/span&gt;
setup_switch&lt;span class=&quot;o&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;info&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Setup switch &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$1&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;screen&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-t&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;sw-&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$1&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;start-stop-daemon&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--make-pidfile&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--pidfile&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$TMP&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;/switch-&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$1&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;.pid&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;--start&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--startas&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$WHICH&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;vde_switch&lt;span class=&quot;k&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;--sock&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$TMP&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;/switch-&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$1&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;.sock&quot;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;screen&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-X&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To attach an interface to the newly created LAN, I use:&lt;/p&gt;
&lt;div class=&quot;language-bash codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;mac&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$name&lt;/span&gt;-&lt;span class=&quot;nv&quot;&gt;$net&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;sha1sum&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;            &lt;/span&gt;awk&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&#39;{print &quot;52:54:&quot; substr($1,0,2) &quot;:&quot; substr($1, 2, 2) &quot;:&quot; substr($1, 4, 2) &quot;:&quot; substr($1, 6, 2)}&#39;&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;)&lt;/span&gt;
qemu-system-x86_64&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;si&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;PREVIOUS_ARGS&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-net&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;nic,model&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;virtio,macaddr&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$mac&lt;/span&gt;,vlan&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$net&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-net&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;vde,sock&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$TMP&lt;/span&gt;/switch-&lt;span class=&quot;nv&quot;&gt;$net&lt;/span&gt;.sock,vlan&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$net&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The use of a VDE switch allows me to run the lab as a non-root
user. It is possible to give Internet access to each &lt;abbr title=&quot;Virtual Machine&quot;&gt;VM&lt;/abbr&gt;, either by
using the &lt;code&gt;-net user&lt;/code&gt; flag or using &lt;code&gt;slirpvde&lt;/code&gt; on a special switch. I
prefer the latter solution since it will allow the VMs to speak to each
other.&lt;/p&gt;
&lt;h1 id=&quot;debugging&quot;&gt;Debugging&lt;/h1&gt;
&lt;p&gt;This lab was mostly done to debug both the kernel and Quagga. Each of
them can be debugged remotely.&lt;/p&gt;
&lt;h2 id=&quot;kernel-debugging&quot;&gt;Kernel debugging&lt;/h2&gt;
&lt;p&gt;While the kernel features &lt;a href=&quot;https://web.archive.org/web/2012/http://kgdb.linsyssoft.com/&quot; title=&quot;KGDB: Linux Kernel Source Level Debugger&quot;&gt;KGDB&lt;/a&gt;, its own debugger, compatible with
&lt;a href=&quot;http://www.gnu.org/software/gdb/&quot; title=&quot;GDB: The GNU Project Debugger&quot;&gt;GDB&lt;/a&gt;, it is easier to use the &lt;em&gt;remote GDB server&lt;/em&gt; built inside
QEMU.&lt;/p&gt;
&lt;div class=&quot;language-bash codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;qemu-system-x86_64&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;si&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;PREVIOUS_ARGS&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-gdb&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;unix:&lt;span class=&quot;nv&quot;&gt;$TMP&lt;/span&gt;/vm-&lt;span class=&quot;nv&quot;&gt;$name&lt;/span&gt;-gdb.pipe,server,nowait
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To connect to the remote GDB server from the host, first locate the
&lt;code&gt;vmlinux&lt;/code&gt; file at the root of the source tree and run GDB on it. The
kernel has to be compiled with &lt;code&gt;CONFIG_DEBUG_INFO=y&lt;/code&gt; to get the
appropriate debugging symbols. Then, use &lt;code&gt;socat&lt;/code&gt; with the Unix socket
to attach to the remote debugger:&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;gdb&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;vmlinux
&lt;span class=&quot;go&quot;&gt;GNU gdb (GDB) 7.4.1-debian&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Reading symbols from /home/bernat/src/linux/vmlinux...done.&lt;/span&gt;
&lt;span class=&quot;gp gp-VirtualEnv&quot;&gt;(gdb)&lt;/span&gt; &lt;span class=&quot;go&quot;&gt;target remote | socat UNIX:$TMP/vm-r1-gdb.pipe -&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Remote debugging using | socat UNIX:/tmp/tmp.W36qWnrCEj/vm-r1-gdb.pipe -&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;native_safe_halt () at /home/bernat/src/linux/arch/x86/include/asm/irqflags.h:50&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;50  }&lt;/span&gt;
&lt;span class=&quot;gp gp-VirtualEnv&quot;&gt;(gdb)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You can now set breakpoints and resume the execution of the kernel.&lt;/p&gt;
&lt;p&gt;It is easier to debug the kernel if optimizations are not
enabled. However, it is not possible to
&lt;a href=&quot;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20217&quot; title=&quot;Bug 20217 - Switching off the optimization triggers undefined reference at link time when building Linux kernel&quot;&gt;disable them globally&lt;/a&gt;. You can however disable them
for some files. For example, to debug &lt;code&gt;net/ipv6/route.c&lt;/code&gt;, add
&lt;code&gt;CFLAGS_route.o = -O0&lt;/code&gt; to &lt;code&gt;net/ipv6/Makefile&lt;/code&gt;, remove
&lt;code&gt;net/ipv6/route.o&lt;/code&gt; and type &lt;code&gt;make&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&quot;userland-debugging&quot;&gt;Userland debugging&lt;/h2&gt;
&lt;p&gt;To debug a program inside QEMU, you can just use &lt;code&gt;gdb&lt;/code&gt; as usual. Your
&lt;code&gt;$HOME&lt;/code&gt; directory is available and it should therefore be
straightforward. However, if you want to perform some remote
debugging, that’s quite easy. Add a new serial port to QEMU:&lt;/p&gt;
&lt;div class=&quot;language-bash codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;qemu-system-x86_64&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;si&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;PREVIOUS_ARGS&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-chardev&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;socket,id&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;charserial1,path&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$TMP&lt;/span&gt;/vm-&lt;span class=&quot;nv&quot;&gt;$name&lt;/span&gt;-serial.pipe,server,nowait&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;-device&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;isa-serial,chardev&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;charserial1,id&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;serial1
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Start &lt;code&gt;gdbserver&lt;/code&gt; in the guest:&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;libtool&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;execute&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;gdbserver&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;/dev/ttyS1&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;zebra/zebra
&lt;span class=&quot;go&quot;&gt;Process /root/code/orange/quagga/build/zebra/.libs/lt-zebra created; pid = 800&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Remote debugging using /dev/ttyS1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;And from the host, you can attach to the remote process:&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;libtool&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;execute&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;gdb&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;zebra/zebra
&lt;span class=&quot;go&quot;&gt;GNU gdb (GDB) 7.4.1-debian&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Reading symbols from /home/bernat/code/orange/quagga/build/zebra/.libs/lt-zebra...done.&lt;/span&gt;
&lt;span class=&quot;gp gp-VirtualEnv&quot;&gt;(gdb)&lt;/span&gt; &lt;span class=&quot;go&quot;&gt;target remote | socat UNIX:/tmp/tmp.W36qWnrCEj/vm-r1-serial.pipe -&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Remote debugging using | socat UNIX:/tmp/tmp.W36qWnrCEj/vm-r1-serial.pipe -&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Loaded symbols for /lib64/ld-linux-x86-64.so.2&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;0x00007ffff7dddaf0 in ?? () from /lib64/ld-linux-x86-64.so.2&lt;/span&gt;
&lt;span class=&quot;gp gp-VirtualEnv&quot;&gt;(gdb)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h1 id=&quot;demo&quot;&gt;Demo&lt;/h1&gt;
&lt;p&gt;For a demo, have a look at the following video:&lt;/p&gt;
&lt;figure class=&quot;lf-fullbleed&quot;&gt;&lt;div class=&quot;lf-media-outer&quot; style=&quot;width: 1920px;&quot;&gt;&lt;span class=&quot;lf-media-inner&quot;&gt;&lt;video class=&quot;lf-media lf-opaque&quot; controls=&quot;&quot; height=&quot;1056&quot; width=&quot;1920&quot;&gt;&lt;source src=&quot;https://media.bernat.ch/videos/2012-network-lab-kvm.m3u8&quot; type=&quot;application/vnd.apple.mpegurl&quot; /&gt;&lt;source src=&quot;https://media.bernat.ch/videos/2012-network-lab-kvm/progressive.mp4&quot; type=&quot;video/mp4; codecs=&amp;quot;mp4a.40.2,avc1.4d401f&amp;quot;&quot; /&gt;&lt;/video&gt;&lt;/span&gt;&lt;/div&gt;&lt;/figure&gt;
&lt;div class=&quot;footnote&quot;&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id=&quot;fn:signal&quot;&gt;
&lt;p&gt;&lt;code&gt;stdio&lt;/code&gt; is configured such that signals are not
enabled. QEMU will not stop when receiving &lt;code&gt;SIGINT&lt;/code&gt;. This is
important for the usage we want to have. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:signal&quot; title=&quot;Jump back to footnote 1 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:9pversion&quot;&gt;
&lt;p&gt;Therefore, it is not possible to mount a fresh &lt;code&gt;/proc&lt;/code&gt;
on top of the existing one. I have searched a bit but
did not find why. Any comments on this are welcome. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:9pversion&quot; title=&quot;Jump back to footnote 2 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt; </description> 
	<pubDate>Sun, 01 Nov 2026 09:57:45 +0000</pubDate>

</item> 
<item>
	<title>Birger Schacht: Status update, September + October 2026</title>
	<guid>https://bisco.org/notes/status-update-september--october-2026/</guid>
	<link>https://bisco.org/notes/status-update-september--october-2026/</link>
     <description>  &lt;h1 id=&quot;debian-related-work&quot;&gt;Debian Related Work&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;Uploaded fuzzel 1.15.0+ds-1 to unstable&lt;/li&gt;
&lt;li&gt;Uploaded foot 1.28.0-1 to unstable&lt;/li&gt;
&lt;li&gt;Uploaded swayimg 5.6-1 and 5.7-1 to unstable&lt;/li&gt;
&lt;li&gt;Uploaded wdisplays 1.3.0-1 to unstable&lt;/li&gt;
&lt;li&gt;Orphaned usbguard with version 1.1.4+ds-5 and usbguard-notifier with version
0.1.0-4&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The orphaning of &lt;code&gt;usbguard&lt;/code&gt; and &lt;code&gt;usbguard-notifier&lt;/code&gt; is because I don’t use those
packages anymore. I rather spend my time on FOSS projects in areas I get
something out of. This is also due to a growing frustration with the Debian
community. The discussions on the mailing lists in the recent months lacked any
sense of social etiquette. The delusional conviction that certain tools improve
the work environment for EVERYONE took on religious overtones.&lt;/p&gt;
&lt;p&gt;This is all the more troubling now that even central infrastructure is being
drawn into this forced “blessing.” And it seems there is absolutely no
awareness here of the boundary violations that are being normalized. Reminds
me a bit of christian missionaries.&lt;/p&gt;
&lt;h1 id=&quot;dh-related-work&quot;&gt;DH Related Work&lt;/h1&gt;
&lt;p&gt;In the APIS project I finally merged the search app I wrote a couple of months
ago. Based on the proof of concept for the HTMX autocomplete, I implemented
an autocomplete that uses the search app for the results, therefore allowing
to list search results of multiple content types. I released 0.68, 0.69, 0.70,
0.71 and 0.72 of the APIS framework. The 0.68 release changed the way we list
the Django content types, leading to less database hits. In the 0.71 release I
refactored the detail &amp;amp; edit views for generic models.&lt;/p&gt;
&lt;h1 id=&quot;40c3&quot;&gt;40C3&lt;/h1&gt;
&lt;p&gt;I was torn about whether I should go to this years congress, but in the end I
decided to go again. I guess it will be something about the 20th time I’m
attending.&lt;/p&gt; </description> 
	<pubDate>Sun, 01 Nov 2026 05:28:51 +0000</pubDate>

</item> 
<item>
	<title>Samuel Henrique: Distributary: my artwork proposal for Debian 14 &quot;forky&quot;</title>
	<guid>https://samueloph.dev/blog/distributary-artwork-proposal-for-debian-14-forky/</guid>
	<link>https://samueloph.dev/blog/distributary-artwork-proposal-for-debian-14-forky/</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/samueloph.png&quot; width=&quot;100&quot; height=&quot;100&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;&lt;a href=&quot;https://samueloph.dev/debian-distributary-theme/&quot;&gt;&lt;img alt=&quot;The Distributary wallpaper split on a diagonal: on the left, the dark version, a gold river forking over dark green land with the Debian logo; on the right, the light version, the same river as green ink on pale paper&quot; height=&quot;630&quot; src=&quot;https://samueloph.dev/debian-distributary-theme/img/og.jpg&quot; width=&quot;1200&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In hydrology, a &lt;em&gt;distributary&lt;/em&gt; is a channel that forks away from a river and
flows on to the sea, the opposite of a tributary. Debian is the river much of
the Linux world forks from, so for a release called forky, that is my proposal
for its artwork: one river, many forks.&lt;/p&gt;
&lt;p&gt;All generated by code. A small Python program grows the river by the
rules of real deltas, and renders every wallpaper, login screen, boot splash
and GRUB background from it, dark and light, at any resolution: the showcase
offers 51 sizes to download, from phones to 8K.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://samueloph.dev/debian-distributary-theme/&quot;&gt;&lt;img alt=&quot;Distributary in its eight colours, Forest, Violet, Midnight, Debian red, Rose on teal, Glacier, Lineage and Silt, each as a dark and a light wallpaper side by side&quot; height=&quot;1208&quot; src=&quot;https://samueloph.dev/debian-distributary-theme/img/colours.jpg&quot; width=&quot;1728&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It comes in eight colours, and with the &lt;a href=&quot;https://samueloph.dev/debian-distributary-theme/editor/&quot; rel=&quot;noopener external&quot; target=&quot;_blank&quot;&gt;palette
editor&lt;/a&gt; you can fork
your own: change any colour or option live in your browser, or roll random
ones, then download the wallpaper or build the whole theme locally. Have a look
at the &lt;a href=&quot;https://samueloph.dev/debian-distributary-theme/&quot; rel=&quot;noopener external&quot; target=&quot;_blank&quot;&gt;showcase&lt;/a&gt; and at the
&lt;a href=&quot;https://wiki.debian.org/DebianArt/Themes/Distributary&quot; rel=&quot;noopener external&quot; target=&quot;_blank&quot;&gt;proposal on the Debian
wiki&lt;/a&gt;; the source is on
&lt;a href=&quot;https://salsa.debian.org/samueloph/distributary&quot; rel=&quot;noopener external&quot; target=&quot;_blank&quot;&gt;Salsa&lt;/a&gt; and
&lt;a href=&quot;https://github.com/samueloph/distributary&quot; rel=&quot;noopener external&quot; target=&quot;_blank&quot;&gt;GitHub&lt;/a&gt;.&lt;/p&gt; </description> 
	<pubDate>Sat, 31 Oct 2026 17:22:00 +0000</pubDate>

</item> 
<item>
	<title>Ludovic Rousseau: New version of PyKCS11: 1.5.21</title>
	<guid>https://blog.apdu.fr/posts/2026/10/new-version-of-pykcs11-1521/</guid>
	<link>https://blog.apdu.fr/posts/2026/10/new-version-of-pykcs11-1521/</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/rousseau.png&quot; width=&quot;65&quot; height=&quot;95&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;I just released a new version of &lt;a class=&quot;reference external&quot; href=&quot;https://github.com/LudovicRousseau/PyKCS11&quot;&gt;PyKCS11&lt;/a&gt;, a Python wrapper above
the PKCS#11 API.&lt;/p&gt;
&lt;p&gt;See &lt;a class=&quot;reference external&quot; href=&quot;https://blog.apdu.fr/posts/2010/06/pykcs11-introduction/&quot;&gt;PyKCS11 introduction&lt;/a&gt; or &lt;a class=&quot;reference external&quot; href=&quot;https://pkcs11wrap.sourceforge.io/api/&quot;&gt;PyKCS11’s documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The project is registered at Pypi: &lt;a class=&quot;reference external&quot; href=&quot;https://pypi.org/project/PyKCS11/&quot;&gt;https://pypi.org/project/PyKCS11/&lt;/a&gt;&lt;/p&gt;
&lt;section id=&quot;changes&quot;&gt;
&lt;h2&gt;Changes:&lt;/h2&gt;
&lt;p&gt;1.5.21 - October 2026, Ludovic Rousseau&lt;/p&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;p&gt;&lt;code class=&quot;docutils literal&quot;&gt;getMechanismList()&lt;/code&gt;: do not return mechanism 0x1D (debug code
introduced by mistake in release 1.5.19)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;build binary wheels for Python 3.15&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt; </description> 
	<pubDate>Sat, 31 Oct 2026 13:20:03 +0000</pubDate>

</item> 
<item>
	<title>Russell Coker: Links October 2026</title>
	<guid>https://etbe.coker.com.au/?p=6345</guid>
	<link>https://etbe.coker.com.au/2026/10/31/links-october-2026/</link>
     <description>  &lt;p&gt;&lt;a href=&quot;https://archive.is/20260819210251/https://www.theatlantic.com/magazine/2026/10/trump-white-house-transgender-mike-pence/688284/&quot;&gt;Julia Curlee wrote an informative article about serving as a CIA agent in the White House as a trans woman [1]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.schneier.com/blog/archives/2026/08/ai-doesnt-mean-the-end-of-mathematics-at-least-not-yet.html&quot;&gt;Bruce Schneier and Kasra Rafi wrote an interesting article about AIs and mathematical research, they won’t break crypto any time soon [2]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://optimizedbyotto.com/post/why-open-source-projects-ban-ai/&quot;&gt;Otto wrote an interesting and informative blog post about the issues related to “AI” and software development with a focus on the recent Debian vote about accepting “AI” “contributions” [3]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.theguardian.com/world/2026/aug/26/jared-huffman-rising-christian-nationalism-no-prophets-book&quot;&gt;Jared Huffman the only openly atheist congressman has some insightful commentary on the rise of Christian nationalism in the US [4]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://blog.trailofbits.com/2026/08/26/vms-wont-contain-cyber-capable-agents/&quot;&gt;Artem wrote an interesting blog post about trying and failing to contain a LLM agent with VMs, they think this is bad but I think it’s great that more bugs are being discovered and could then be fixed [5]&lt;/a&gt;. I now want to try this sort of thing on replicas of my own systems!&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.techdirt.com/2026/08/31/would-the-next-george-floyd-video-survive-metas-new-teen-safety-rules/&quot;&gt;Techdirt has an insightful article about how the new Meta teen safety rules might allow murderous cops to get away with their crimes [6]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://anil.recoil.org/notes/rumour-is-the-exploit&quot;&gt;Anil Madhavapeddy wrote an interesting blog post “Just a rumour of a bug is enough to find a security exploit these days”, things will be difficult for the next few years if this holds at scale [7]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://theconversation.com/the-threat-of-nuclear-weapons-is-greater-than-ever-heres-how-international-law-can-help-290523&quot;&gt;The Conversation has an interesting article about the current situation with nuclear weapons proliferation, not that it helps as countries with nukes get love letters from Trump and countries without get girls’ schools bombed [8]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://reneweconomy.com.au/solar-sharer-has-become-the-solar-shocker-with-the-costliest-of-retail-offers/&quot;&gt;Several Australian state governments have mandated free electricity between the times of 11AM and 2PM, but now electricity companies have changed their pricing to avoid this saving customers any money [9]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.404media.co/theres-a-100-chance-ai-agents-are-already-ruining-the-internet/&quot;&gt;404Media has an interesting article about the ways that “AI” agents are ruining the Internet [10]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.realtimetechpocalypse.com/p/effective-altruism-is-a-dangerous&quot;&gt;RealtimeApocalypse has an interesting article about Effective Altruism which is one of the more covert cults that prey on people in the computer industry [11]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://davidbrin.blogspot.com/2026/09/the-real-reason-for-kash-patels-b-word.html&quot;&gt;David Brin has a good theory to explain why it’s important to allow people who have practiced bestiality to work for the FBI [12]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://locusmag.com/feature/commentary-cory-doctorow-technopolitics/&quot;&gt;Cory Doctorow wrote an interesting article for Locus about the politics of “AI” systems and when they should be considered inherently evil [13]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://adrianchadd.blogspot.com/2026/09/why-just-switcharooing-ram-on-rpi-isnt.html&quot;&gt;Adrian wrote an insightful blog post about how DDR RAM works and why replacing RAM on an embedded board isn’t a good idea [14]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://arstechnica.com/tech-policy/2026/10/highway-thieves-are-spoofing-gps-to-steal-millions-in-data-center-bound-cargo/&quot;&gt;Arstechnica has an interesting article about organised criminal gangs stealing truck loads of goods and having a particular interest in DC gear [15]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.theguardian.com/world/ng-interactive/2025/nov/22/free-birth-society-linked-to-babies-deaths-investigation&quot;&gt;This is one of a series of articles published in The Guardian about the Free Birth Society, a cult-like organisation that opposes involvement of trained medical experts in the process of giving birth, they “claimed resuscitation was often an unnecessary act which deprived babies of the chance to choose to begin their lives” – wow [16]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://locusmag.com/feature/cory-doctorow-ip/&quot;&gt;Cory Doctorow wrote an insightful article about so-called Intellectual Property and how it’s being used to attack human rights [17]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.anthropic.com/research/formal-verification&quot;&gt;Anthropic published an interesting article about their work on formally proving libraries with LLMs, hundreds of millions of tokens for each proof so probably thousands of dollars [18]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.schneier.com/blog/archives/2026/10/how-technology-empowers-and-imperils-dictators.html&quot;&gt;Bruce Schneier wrote an insightful article about how AI can provide advantages and disadvantages for dictators [19]&lt;/a&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;[1]&lt;a href=&quot;https://archive.is/20260819210251/https://www.theatlantic.com/magazine/2026/10/trump-white-house-transgender-mike-pence/688284/&quot;&gt; https://tinyurl.com/2b5uh7en&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[2]&lt;a href=&quot;https://www.schneier.com/blog/archives/2026/08/ai-doesnt-mean-the-end-of-mathematics-at-least-not-yet.html&quot;&gt; https://tinyurl.com/24vfbg8m&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[3]&lt;a href=&quot;https://optimizedbyotto.com/post/why-open-source-projects-ban-ai/&quot;&gt; https://tinyurl.com/2b74tuga&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[4]&lt;a href=&quot;https://www.theguardian.com/world/2026/aug/26/jared-huffman-rising-christian-nationalism-no-prophets-book&quot;&gt; https://tinyurl.com/2aqdrp33&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[5]&lt;a href=&quot;https://blog.trailofbits.com/2026/08/26/vms-wont-contain-cyber-capable-agents/&quot;&gt; https://tinyurl.com/2d9nuz3b&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[6]&lt;a href=&quot;https://www.techdirt.com/2026/08/31/would-the-next-george-floyd-video-survive-metas-new-teen-safety-rules/&quot;&gt; https://tinyurl.com/2af9zetc&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[7]&lt;a href=&quot;https://anil.recoil.org/notes/rumour-is-the-exploit&quot;&gt; https://anil.recoil.org/notes/rumour-is-the-exploit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[8]&lt;a href=&quot;https://theconversation.com/the-threat-of-nuclear-weapons-is-greater-than-ever-heres-how-international-law-can-help-290523&quot;&gt; https://tinyurl.com/22erzjcf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[9]&lt;a href=&quot;https://reneweconomy.com.au/solar-sharer-has-become-the-solar-shocker-with-the-costliest-of-retail-offers/&quot;&gt; https://tinyurl.com/25ftsuam&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[10]&lt;a href=&quot;https://www.404media.co/theres-a-100-chance-ai-agents-are-already-ruining-the-internet/&quot;&gt; https://tinyurl.com/2bh8pxqk&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[11]&lt;a href=&quot;https://www.realtimetechpocalypse.com/p/effective-altruism-is-a-dangerous&quot;&gt; https://tinyurl.com/2yywxlz2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[12]&lt;a href=&quot;https://davidbrin.blogspot.com/2026/09/the-real-reason-for-kash-patels-b-word.html&quot;&gt; https://tinyurl.com/299n3aba&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[13]&lt;a href=&quot;https://locusmag.com/feature/commentary-cory-doctorow-technopolitics/&quot;&gt; https://tinyurl.com/27ta8dhn&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[14]&lt;a href=&quot;https://adrianchadd.blogspot.com/2026/09/why-just-switcharooing-ram-on-rpi-isnt.html&quot;&gt; https://tinyurl.com/278hllfz&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[15]&lt;a href=&quot;https://arstechnica.com/tech-policy/2026/10/highway-thieves-are-spoofing-gps-to-steal-millions-in-data-center-bound-cargo/&quot;&gt; https://tinyurl.com/28akuzv6&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[16]&lt;a href=&quot;https://www.theguardian.com/world/ng-interactive/2025/nov/22/free-birth-society-linked-to-babies-deaths-investigation&quot;&gt; https://tinyurl.com/2btfpgkf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[17]&lt;a href=&quot;https://locusmag.com/feature/cory-doctorow-ip/&quot;&gt; https://locusmag.com/feature/cory-doctorow-ip/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[18]&lt;a href=&quot;https://www.anthropic.com/research/formal-verification&quot;&gt; https://www.anthropic.com/research/formal-verification&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[19]&lt;a href=&quot;https://www.schneier.com/blog/archives/2026/10/how-technology-empowers-and-imperils-dictators.html&quot;&gt; https://tinyurl.com/24uu3323&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;yarpp yarpp-related yarpp-related-rss yarpp-template-list&quot;&gt;

&lt;p&gt;Related posts:&lt;/p&gt;&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2026/07/31/links-july-2026/&quot; rel=&quot;bookmark&quot; title=&quot;Links July 2026&quot;&gt;Links July 2026&lt;/a&gt; &lt;small&gt;Bruce Schneier and Nathan E. Sanders wrote a disturbing and...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2026/06/30/links-june-2026/&quot; rel=&quot;bookmark&quot; title=&quot;Links June 2026&quot;&gt;Links June 2026&lt;/a&gt; &lt;small&gt;This is amusing, a flaw in the crypto-currency Zcash allowed...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2024/03/31/links-march-2024/&quot; rel=&quot;bookmark&quot; title=&quot;Links March 2024&quot;&gt;Links March 2024&lt;/a&gt; &lt;small&gt;Bruce Schneier wrote an interesting blog post about his workshop...&lt;/small&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt; </description> 
	<pubDate>Sat, 31 Oct 2026 13:07:05 +0000</pubDate>

</item> 
<item>
	<title>Ludovic Rousseau: New version of PySCard: 2.3.2</title>
	<guid>https://blog.apdu.fr/posts/2026/10/new-version-of-pyscard-232/</guid>
	<link>https://blog.apdu.fr/posts/2026/10/new-version-of-pyscard-232/</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/rousseau.png&quot; width=&quot;65&quot; height=&quot;95&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;I just released a new version of &lt;a class=&quot;reference external&quot; href=&quot;https://pyscard.sourceforge.io/&quot;&gt;pyscard&lt;/a&gt;. PySCard is a Python module adding
smart cards support (PC/SC) to Python.&lt;/p&gt;
&lt;p&gt;The PySCard project is available from:&lt;/p&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;p&gt;&lt;a class=&quot;reference external&quot; href=&quot;https://pypi.org/project/pyscard/&quot;&gt;PyPI&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a class=&quot;reference external&quot; href=&quot;https://github.com/LudovicRousseau/pyscard&quot;&gt;github&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I removed the distribution from sourceforge. Use PyPI instead. On PyPI
you wil get a red alert &quot;Incomplete provenance&quot; for the source code
file &lt;a class=&quot;reference external&quot; href=&quot;https://pypi.org/project/pyscard/#pyscard-2.3.2.tar.gz&quot;&gt;pyscard-2.3.2.tar.gz&lt;/a&gt;. This is
because I &lt;a class=&quot;reference external&quot; href=&quot;https://github.com/LudovicRousseau/pyscard/blob/master/Makefile#L18-L23&quot;&gt;manually uploaded&lt;/a&gt;
it using twine (as before).  The next release will be uploaded to PyPI by a
github action (as is already the case for the binary wheels).&lt;/p&gt;
&lt;section id=&quot;why-this-new-release&quot;&gt;
&lt;h2&gt;Why this new release?&lt;/h2&gt;
&lt;p&gt;No code change in this release.&lt;/p&gt;
&lt;p&gt;I created a new release to ensure that the binary wheels for Python 3.14
and 3.15 were uploaded to PyPI. This is intended for systems that are
difficult to use for rebuilding PySCard, particularly Windows.&lt;/p&gt;
&lt;/section&gt;
&lt;section id=&quot;changes&quot;&gt;
&lt;h2&gt;Changes:&lt;/h2&gt;
&lt;/section&gt;
&lt;section id=&quot;october-2026&quot;&gt;
&lt;h2&gt;2.3.2 (October 2026)&lt;/h2&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;p&gt;add builds for Python 3.14 &amp;amp; 3.15&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Minor changes&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt; </description> 
	<pubDate>Sat, 31 Oct 2026 12:52:51 +0000</pubDate>

</item> 
<item>
	<title>Matthew Garrett: Getting Google Cast on my Soundbar</title>
	<guid>https://codon.org.uk/~mjg59/blog/p/getting-google-cast-on-my-soundbar/</guid>
	<link>https://codon.org.uk/~mjg59/blog/p/getting-google-cast-on-my-soundbar/</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/mjg59.png&quot; width=&quot;69&quot; height=&quot;85&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;I have a Samsung Q800A soundbar. It ships with built-in support for the Apple Airplay protocol, but I’m not really an Apple kind of guy so that’s never been particularly helpful for me. So, instead, I have a Chromecast Audio plugged into it via TOSLINK, and that works fine - except for the fact that there’s no way to explicitly pick TOSLINK as the audio input. Instead, there’s a “Digital In” option that refers to both the optical in and eARC input from a TV. Not inherently a problem, given I’m unlikely to be watching TV while listening to music, but my TV is a Samsung Frame, a device that’s intended to display art whenever someone is standing nearby, and which infuriatingly generates an eARC signal even if it’s only in art mode and isn’t going to make any noise. This switches the soundbar away from optical and I get sad. I could plug a video cast device into the HDMI port on the soundbar and cast audio to that, but then the art would get replaced with album covers whenever I’m playing music, and again that’s not quite the ambience I want. Still, none of this is that important.&lt;/p&gt;
&lt;p&gt;Until I learned that the Australian version of the soundbar &lt;em&gt;does&lt;/em&gt; have Google Cast support. The firmware image was downloadable from Samsung support, so I grabbed that, but unfortunately found that it was encrypted. However, if I downloaded the firmware image for the US model, the encrypted blob was identical - there’s no difference in the underlying firmware between the two of them. So, how come one has support, and the other doesn’t?&lt;/p&gt;
&lt;p&gt;I’d need an unencrypted copy of the firmware to have a real chance of figuring this out, and the easiest way to get one was to just run an ebay watch for a broken model of the same series. Once I had one in my hands I used hot air to remove the eMMC storage from the device, cleaned up the chip, and then stuck it in &lt;a class=&quot;link&quot; href=&quot;https://www.amazon.com/dp/B06Y55DKND&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;one of these&lt;/a&gt; adapters to read it on a local system. Samsung uses a weird in-house filesystem called VDFS4 on some of their devices and this was one of them, so I needed to cobble together a kernel that was compatible with their source dump for this device (not all VDFS drivers seem to be able to read all VDFS filesystems), but eventually I had it all extracted, and then I got distracted by other stuff, so let’s fast forward to this week.&lt;/p&gt;
&lt;p&gt;Samsung makes use of a modified version of the &lt;a class=&quot;link&quot; href=&quot;https://developer.android.com/tools/adb&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Android Debug Bridge&lt;/a&gt; called sdb, which is included in the Tizen SDK. The firmware showed that this device had sdbd on it, and it would be executed if a network device called “huart0” was plugged in. Samsung does, thankfully, provide the source code for their GPLed components, so I could dig through that to discover that drivers/net/usb/usbnet.c had a bunch of references to huart (which apparently stands for “HyperUART”). If CONFIG_SAMSUNG_USBNET_HYPERUART_IFNAME is set, and if the ethernet device is using either the asix or ax88179_178a drivers, and if “/opt/etc/HyperUART_IP_Addr”&lt;sup id=&quot;fnref:1&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fn:1&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; isn’t just “0”, it sets the interface name to “huart0” and in turn triggers sdbd startup. So now I just needed to figure out how to set /opt/etc/HyperUART_IP_Addr to something else.&lt;/p&gt;
&lt;p&gt;Some digging revealed a binary called wap-factory that referenced the file, which then led to /usr/share/mobile-mgr/jsons/com.samsung.audio.waapp-verification-test.json which mentioned a “SetUartOnOff” call, which brought me &lt;a class=&quot;link&quot; href=&quot;https://github.com/travnie/wambridge/blob/0b8ad203ad36cbc3c5ce6e807b1cb36d1db4e8b6/docs/WAM_PROTOCOL.md?plain=1&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;sup id=&quot;fnref:2&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fn:2&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;, which led me into a bit of a rabbit hole about the Samsung WAM protocol. Long story short, you connect to either port 55001 or 56001 and make two requests over the same connection:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;div class=&quot;chroma&quot;&gt;
&lt;table class=&quot;lntable&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;lntd&quot;&gt;
&lt;pre class=&quot;chroma&quot; tabindex=&quot;0&quot;&gt;&lt;code&gt;&lt;span class=&quot;lnt&quot;&gt;1
&lt;/span&gt;&lt;span class=&quot;lnt&quot;&gt;2
&lt;/span&gt;&lt;span class=&quot;lnt&quot;&gt;3
&lt;/span&gt;&lt;span class=&quot;lnt&quot;&gt;4
&lt;/span&gt;&lt;span class=&quot;lnt&quot;&gt;5
&lt;/span&gt;&lt;span class=&quot;lnt&quot;&gt;6
&lt;/span&gt;&lt;span class=&quot;lnt&quot;&gt;7
&lt;/span&gt;&lt;span class=&quot;lnt&quot;&gt;8
&lt;/span&gt;&lt;span class=&quot;lnt&quot;&gt;9
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&quot;lntd&quot;&gt;
&lt;pre class=&quot;chroma&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-fallback&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;GET /connect HTTP/1.1
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;Host: 192.168.87.126:56001
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;User-Agent: SamsungMultiroom/1.0
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;Connection: interactive
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;GET /UIC?cmd=%3Cname%3ESetUartOnOff%3C/name%3E%3Cp%20type%3D%22str%22%20name%3D%22uartOnOff%22%20val%3D%22on%22/%3E HTTP/1.1
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;Host: 192.168.87.126:56001
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;User-Agent: SamsungMultiroom/1.0
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;Connection: interactive
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;and then plug in an asix chipset ethernet adapter into the USB port (which on mine is micro-B, so I needed an OTG adapter), and suddenly it’s sitting there on 192.168.250.250 and will speak sdb to you. &lt;code&gt;sdb root on&lt;/code&gt; switches it into root mode, and &lt;code&gt;sdb shell&lt;/code&gt; now gives you a root shell. I was in, and now I could investigate what was happening.&lt;/p&gt;
&lt;p&gt;First up, there was a process called “com.samsung.audio.google-cast-control-app” running, which seemed like a good start. Unfortunately it wasn’t doing anything. After some tracing I found that it was making a call to Samsung at startup time, and getting back a response telling it that Cast support wasn’t available. The request (which was helpfully dumped to stdout when I ran this by hand) included the country code, in my case “US”. Repeating the request by hand with curl and changing the code to “AU” told me it &lt;em&gt;was&lt;/em&gt; supported, so now I needed to figure out how to get the soundbar to believe it was Australian. Some digging showed it was reading this from a config variable called db/comss/countrycode, and running&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;div class=&quot;chroma&quot;&gt;
&lt;table class=&quot;lntable&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;lntd&quot;&gt;
&lt;pre class=&quot;chroma&quot; tabindex=&quot;0&quot;&gt;&lt;code&gt;&lt;span class=&quot;lnt&quot;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&quot;lntd&quot;&gt;
&lt;pre class=&quot;chroma&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-fallback&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;buxton2ctl set-string system db/comss/countrycode AU
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;got me past that gate. Now, however, it was complaining that it couldn’t provision a key. /usr/apps/com.samsung.audio.google-cast-control-app/shared/res included a bunch of encrypted blobs and an app called teeStoreKey.elf, and tracing com.samsung.audio.google-cast-control-app showed it was trying to call that, but it seemed like it was failing with a permissions issue. Running com.samsung.audio.google-cast-control-ap directly as root triggered key provisioning successfully, and a few seconds later the rest of the Cast API came up and I could talk to port 8443 with standard Cast API calls. Unfortunately it still wasn’t working as a Cast device, though - it wasn’t advertising itself via mDNS and so nothing could see it. Querying the /setup/eureka_info endpoint gave me a clue - the ’tos_accepted’ field was false. Normally this would be set as part of initial device setup, but the Samsung app wasn’t doing that because it didn’t think the device had Cast support. It turns out that POSTing some json with {“tos_accepted”: true} to setup/set_eureka_info made it work, and suddenly there was an additional Cast device available to me.&lt;/p&gt;
&lt;p&gt;(Update: I realised I didn’t mention anything about &lt;em&gt;why&lt;/em&gt; it was doing key provisioning in the first place! The Cast protocol doesn’t enforce cryptographic identity as such, but Google’s reference client implementation which is what almost everything uses verifies that the device is presenting an identity that chains back to Google. Unsurprisingly they don’t want the private key material to be easily extractable and used to produce clone devices, so it’s all supposed to be encrypted and only accessible to some sort of trusted execution environment, which is why keys here need to be loaded into Trustzone and never be visible in the clear to the main OS)&lt;/p&gt;
&lt;p&gt;Mission accomplished. Unfortunately the device vanished from my Smartthings home aferwards, presumably because there’s a mismatch between its reported country code and my account country. To get around that I’d somehow need to get com.samsung.audio.google-cast-control-app to either change the query without changing the global device country, or to ignore the response from Samsung (it does this every 24 hours, ugh), and that’s made more annoying by the fact that this thing will only execute signed binaries. Although, weirdly, one of the signed binaries shipped is a full Python interpreter, so if I cared enough I could probably cobble together enough Python to execute arbitrary binaries. I currently don’t.&lt;/p&gt;
&lt;p&gt;More modern soundbars don’t implement the listener on port 55001 or 56001. I don’t know how you get sdb working on them.&lt;/p&gt;
&lt;div class=&quot;footnotes&quot;&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id=&quot;fn:1&quot;&gt;
&lt;p&gt;Yes, it reads a file directly from in-kernel &lt;a class=&quot;footnote-backref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fnref:1&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:2&quot;&gt;
&lt;p&gt;Good god I hate reading this kind of slop &lt;a class=&quot;footnote-backref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fnref:2&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt; </description> 
	<pubDate>Fri, 30 Oct 2026 18:03:47 +0000</pubDate>

</item> 
<item>
	<title>Russell Coker: More Furilabs FLX1s</title>
	<guid>https://etbe.coker.com.au/?p=6117</guid>
	<link>https://etbe.coker.com.au/2026/10/30/more-furilabs-flx1s/</link>
     <description>  &lt;p&gt;&lt;a href=&quot;https://etbe.coker.com.au/2026/04/14/furilabs-flx1s-finally-working/&quot;&gt;In April I got my Furilabs FLX1s basically working [1]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Below is a post I wrote about the FLX1s before it broke at the start of September, there was a problem with the display controller and it would randomly go into a messed up mode that wasn’t readable but also changed a bit in relation to button presses etc so the phone was still working. Also I could ssh to the phone when it was in that state if it was on my home wifi.&lt;/p&gt;
&lt;p&gt;It took almost 2 months to get a replacement phone but I now have that working and the new 14.1.0 OS release. So some of the below may be obsolete when it comes to the latest release but I decided to publish it anyway for history if nothing else.&lt;/p&gt;
&lt;h2&gt;Current Issues&lt;/h2&gt;
&lt;h3&gt;Wifi Hotspot Status&lt;/h3&gt;
&lt;p&gt;One thing I had known about but not mentioned before is that the icon in the drop-down menu for the hotspot will often be gray (indicating hotspot-off) when it’s actually on. To address that I have to click on it (which then indicates that the hotspot is on) and then click on it again to turn it off.&lt;/p&gt;
&lt;h3&gt;QT6 and MESA GL&lt;/h3&gt;
&lt;p&gt;Currently I have problems with QT6 applications that don’t run due to library issues and issues of missing GL support. &lt;a href=&quot;https://etbe.coker.com.au/2026/05/09/systemd-mobile-linux-containers/&quot;&gt;I blogged about setting up my own container on my phone [2]&lt;/a&gt; which helped for some things but not for most things.&lt;/p&gt;
&lt;p&gt;I have given up trying to get Tokodon working on the phone for the moment. Tokodon is a nice Mastodon client that would allow me to get notifications from Mastodon.&lt;/p&gt;
&lt;p&gt;Apparently the Furilabs people are working on some issues related to this.&lt;/p&gt;
&lt;h3&gt;Bluetooth&lt;/h3&gt;
&lt;p&gt;Bluetooth is currently a bit unreliable. When I turn on my car (Nissan LEAF) the phone usually either doesn’t connect or claims to be connected while not sending audio to the car. When it does connect my favourite music player (Lollypop) usually doesn’t display the album and track names. I’ve found that turning my car off and on again usually makes it connect properly.&lt;/p&gt;
&lt;p&gt;I admit the possibility of my car not doing things correctly in this regard. But every Android phone I tried just worked, they would connect as soon as the car was turned on and correctly display track names. So if the car is doing things wrong and needs a software work around then Linux is at fault for not doing that – we can’t get tens of millions of cars and hundreds of millions of other weird devices fixed!&lt;/p&gt;
&lt;p&gt;I also note that my Debian laptop and a friend’s Debian laptop also have problems connecting to my car. So it’s quite possible that Debian code is at fault (the FLX1s is running a modified version of Debian).&lt;/p&gt;
&lt;p&gt;It currently appears to have no support for handset mode so I can’t answer phone calls through the car interface. But this is a lesser problem.&lt;/p&gt;
&lt;p&gt;I plan to do more testing with Debian laptops and file some bug reports if I can find out enough useful information. My current knowledge of this is insufficient to create a useful bug report. I do have quite a few bluetooth headsets and test laptops so I plan to start by testing Debian and Ubuntu on all the combinations – last time I tested Ubuntu 24.04 on Dell laptops worked much better than Debian/Trixie on Thinkpads.&lt;/p&gt;
&lt;h2&gt;Improvements by Furilabs&lt;/h2&gt;
&lt;h3&gt;Wifi Hotspot&lt;/h3&gt;
&lt;p&gt;After a set of updates including the following Wifi hotspot seems to be working.&lt;/p&gt;
&lt;pre&gt;adaptation-furiphone-radon (1.3.0+git20260513192743.e94f2ec.forky.production) forky; urgency=medium

  * NetworkManager: sync hotspot channel/band with STA and restart on change
  * debian: depend on libhybris-utils and libgbinder-tools
  * startup: drop schedtune and add m4u debug log level
  * startup: enable glove and disable edge palm
  * device: drop flashlightd-scalable signatures

 -- Bardia Moshiri &amp;lt;bardia@furilabs.com&amp;gt;  Wed, 13 May 2026 15:27:43 -0400&lt;/pre&gt;
&lt;h3&gt;Charging&lt;/h3&gt;
&lt;p&gt;Connecting the power cable now makes the phone immediately make the click sound and it starts charging while previously there was a 22 second delay. Once I get used to this I can avoid the problem of failing to plug it in firmly before going to bed and having it run flat overnight.&lt;/p&gt;
&lt;h2&gt;Things I’ve Done&lt;/h2&gt;
&lt;h3&gt;SMS&lt;/h3&gt;
&lt;p&gt;The following command will send a message via SMS.&lt;/p&gt;
&lt;pre&gt;dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.MessageManager.SendMessage string:&quot;+61400000000&quot; string:&quot;this is the message&quot;&lt;/pre&gt;
&lt;p&gt;Also the &lt;a href=&quot;https://source.puri.sm/Librem5/docs/community-wiki/-/wikis/Tips-&amp;amp;-Tricks#send-sms-text-message-from-terminal&quot;&gt;Librem5 Wiki has another way of doing it [3]&lt;/a&gt;, I haven’t tested if that works as the dbus method works well enough for the moment.&lt;/p&gt;
&lt;p&gt;Also calls can be scripted via the following command:&lt;/p&gt;
&lt;pre&gt;xdg-open tel://+61400000000&lt;/pre&gt;
&lt;h3&gt;Contacts&lt;/h3&gt;
&lt;p&gt;My aim is to get contacts synchronised via my own cloud service. Nextcloud is supposed to be able to do this. It’s been years since I first tried this, &lt;a href=&quot;https://etbe.coker.com.au/2021/11/08/installing-nextcloud/&quot;&gt;my most recent serious attempt at Nextcloud was in 2021 [4]&lt;/a&gt; and I couldn’t get the Android app for NextCloud to connect. Since then I have made more recent attempts and been unable to get the Android or Linux desktop clients to connect to it.&lt;/p&gt;
&lt;p&gt;A friend gave me a test account on his Nextcloud server which allowed me to connect the Linux desktop app, his hypothesis was that it was somehow related to using Debian and that his server worked because it was on Ubuntu. I have since installed my own Nextcloud test server on the Ubuntu variant used by the Oracle cloud VMs which had the same apparent problem. I conclude that it’s not Debian at fault but something related to how I configured it.&lt;/p&gt;
&lt;p&gt;In the meantime after a couple of months of having no named contacts I exported the contacts from my Android phone as a VCF file and imported them into the Gnome contacts program. I had to run “&lt;b&gt;killall chatty&lt;/b&gt;” for it to get the names for the contacts, but the phone call program found them without needing to do that.&lt;/p&gt;
&lt;h3&gt;Chatty&lt;/h3&gt;
&lt;p&gt;A missing feature of Chatty (the default SMS and Jabber program for Phosh/Phoc systems) is archiving old messages. I use Chatty to receive Jabber messages from my monitoring system which can be a lot of messages. The following shell code deletes all Jabber messages older than 2 days. Note that this relies on “&lt;b&gt;type=3&lt;/b&gt;” matching  Jabber messages which I’m not sure is going to be the case on all systems or all versions of Chatty.&lt;/p&gt;
&lt;pre&gt;for ID in $(echo &quot;select id from users where type=3;&quot; | sqlite3 ~/.purple/chatty/db/chatty-history.db); do
  echo &quot;delete from messages where sender_id=$ID and time &amp;lt; unixepoch(&#39;now&#39;) - (48 * 3600);&quot; | sqlite3 ~/.purple/chatty/db/chatty-history.db
done&lt;/pre&gt;
&lt;p&gt;The following shell code extracts a dump of all messages from Chatty.&lt;/p&gt;
&lt;pre&gt;echo &quot;select messages.id,users.username,users.alias,messages.body from messages inner join users on messages.sender_id=users.id;&quot; |sqlite3 ~/.purple/chatty/db/chatty-history.db&lt;/pre&gt;
&lt;h3&gt;Dino-IM&lt;/h3&gt;
&lt;p&gt;An update to the Chatty program for SMS and Matrix has made it crash repeatedly. There is a request in the list for Chatty upstream to have a systemd-user unit to restart it which when implemented will reduce the scope of the problem (but not solve it). I&#39;ve setup a monitoring system that uses &lt;b&gt;notify-send&lt;/b&gt; to notify me when Chatty isn&#39;t running or when 4G data turns off (a recurring problem). This crashing is allegedly due to Jabber so I installed Dino-IM for Jabber and have for the moment at least stopped using Chatty for Jabber.&lt;/p&gt;
&lt;p&gt;It turned out that having Chatty not do Jabber didn&#39;t stop it crashing. However having alerts separated from SMS can be convenient and also my long term plan is to use a phone with Plasma Mobile and Spacebar (the SMS program for Plasma Mobile) doesn&#39;t do Jabber. So I will continue using Dino-IM.&lt;/p&gt;
&lt;pre&gt;echo &quot;delete from message where time &amp;lt; unixepoch(&#39;now&#39;) - (48 * 3600);&quot; | sqlite3 ~/.local/share/dino/dino.db&lt;/pre&gt;
&lt;h3&gt;Andromeda/Android&lt;/h3&gt;
&lt;p&gt;I put in the following cron job to stop this log file from using all the storage space:&lt;/p&gt;
&lt;pre&gt;1 0 * * *	echo -n &amp;gt; /home/furios/.local/share/andromeda/data/system/uiderrors.txt&lt;/pre&gt;
&lt;h3&gt;Wifi DHCP&lt;/h3&gt;
&lt;p&gt;I gave up on attempts to force the Wifi configuration to have a fixed MAC that I could use for a fixed IPv4 address so I manually configured the address.&lt;/p&gt;
&lt;h3&gt;4G Monitoring&lt;/h3&gt;
&lt;p&gt;I&#39;ve had problems with the reliability of the 4G service, sometimes it stop working and I need to stop and restart it. I setup my &lt;a href=&quot;https://doc.coker.com.au/projects/etbe-mon/&quot;&gt;etbe-mon monitoring system on the phone [5]&lt;/a&gt; and configured it to ssh to localhost and run &lt;b&gt;notify-send&lt;/b&gt; to send a local notification. This means I get notified if my phone loses net access and can&#39;t access regular monitoring. Then to monitor the 4G connection (which I want to have working even when Wifi is connected) I had the following monitor line:&lt;/p&gt;
&lt;pre&gt;monitor ping.monitor -I ccmni1 -c 5 8.8.8.8 ;;&lt;/pre&gt;
&lt;p&gt;That uses the &lt;b&gt;ccmni1&lt;/b&gt; interface for pinging 8.8.8.8 (Google DNS). That worked for a while but I discovered that sometimes the interface for 4G would change to &lt;b&gt;ccmni2&lt;/b&gt;, so I put the following monitor script under /usr/local/mon.d:&lt;/p&gt;
&lt;pre&gt;#!/bin/bash
DEV=$(route -n|grep ^0.0.0.0.*ccm |sed -e s/^.*ccmn/ccmn/)
exec /usr/lib/mon/mon.d/ping.monitor -I $DEV -c 5 8.8.8.8&lt;/pre&gt;
&lt;h3&gt;Mastodon&lt;/h3&gt;
&lt;p&gt;I couldn&#39;t get Tokodon to work, not the native package, not running in a Debian/Testing container, and not running a Flatpak. It seems that this is all graphics library issues. So I wrote a Perl program to run &quot;toot notifications &amp;amp;-json&quot; and then send the relevant parts of the output via XMPP. As I already use XMPP for server monitoring there&#39;s no extra effort to have an extra account and use it for notifications about Mastodon activity. The Perl script is at the bottom of the post and won&#39;t be in the RSS feed.&lt;/p&gt;
&lt;p&gt;At some future time I may change the script to send the notifications by Matrix instead to have all my social media stuff in the same place.&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-6117&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Source&lt;/h2&gt;
&lt;pre&gt;#!/usr/bin/perl
# depends on Debian packages: toot libjson-pp-perl go-sendxmpp
use strict;
use JSON::PP;

my $homeurl = &quot;https://mastodon.nzoss.nz/&quot;;
my $lastfile = &quot;mast/last_id&quot;;
my $xaddr = &quot;russell\@coker.com.au&quot;;

my $jsontxt;
while()
{
  $jsontxt .= $_;
}

my $data = decode_json($jsontxt);

my $last_id = 0, my $new_last_id;
if(open(ID, &quot;&amp;lt;$lastfile&quot;))
{
  $last_id = ;
  close(ID);
}
$new_last_id = $last_id;

for(my $i = 0; $data-&amp;gt;[$i]; $i++)
{
  my $id = $data-&amp;gt;[$i]{id};
  if($id &amp;lt;= $last_id)
  {
    next;
  }
  if($id &amp;gt; $new_last_id)
  {
    $new_last_id = $id;
  }
  open(XMPP, &quot;|go-sendxmpp $xaddr&quot;) or die &quot;Can&#39;t send XMPP&quot;;
  my $type = $data-&amp;gt;[$i]{type};
  print XMPP &quot;type: $type\n&quot;;
  print XMPP &quot;their_url: $homeurl\@$data-&amp;gt;[$i]{account}{acct}\n&quot;;
  print XMPP &quot;display_name: $data-&amp;gt;[$i]{account}{display_name}\n&quot;;
  if($type ne &quot;follow&quot;)
  {
    print XMPP &quot;status_url: $data-&amp;gt;[$i]{status}{url}\n&quot;;
    print XMPP &quot;content: $data-&amp;gt;[$i]{status}{content}\n&quot;;
  }
  print XMPP &quot;created_at: $data-&amp;gt;[$i]{created_at}\n&quot;;
  print XMPP &quot;\n&quot;;
  close(XMPP);
}

open(ID, &quot;&amp;gt;$lastfile&quot;) or die &quot;Can&#39;t write to $lastfile&quot;;
print ID $new_last_id;
close(ID);&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;[1]&lt;a href=&quot;https://etbe.coker.com.au/2026/04/14/furilabs-flx1s-finally-working/&quot;&gt; https://etbe.coker.com.au/2026/04/14/furilabs-flx1s-finally-working/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[2]&lt;a href=&quot;https://etbe.coker.com.au/2026/05/09/systemd-mobile-linux-containers/&quot;&gt; https://etbe.coker.com.au/2026/05/09/systemd-mobile-linux-containers/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[3]&lt;a href=&quot;https://source.puri.sm/Librem5/docs/community-wiki/-/wikis/Tips-&amp;amp;-Tricks#send-sms-text-message-from-terminal&quot;&gt; https://tinyurl.com/2xux9dvw&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[4]&lt;a href=&quot;https://etbe.coker.com.au/2021/11/08/installing-nextcloud/&quot;&gt; https://etbe.coker.com.au/2021/11/08/installing-nextcloud/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;yarpp yarpp-related yarpp-related-rss yarpp-template-list&quot;&gt;

&lt;p&gt;Related posts:&lt;/p&gt;&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2026/04/14/furilabs-flx1s-finally-working/&quot; rel=&quot;bookmark&quot; title=&quot;Furilabs FLX1s Finally Working&quot;&gt;Furilabs FLX1s Finally Working&lt;/a&gt; &lt;small&gt;I’ve been using the Furilabs FLX1s phone [1] as my...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2026/01/19/furilabs-flx1s/&quot; rel=&quot;bookmark&quot; title=&quot;Furilabs FLX1s&quot;&gt;Furilabs FLX1s&lt;/a&gt; &lt;small&gt;The Aim I have just got a Furilabs FLX1s [1]...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2023/03/13/xmpp-tools/&quot; rel=&quot;bookmark&quot; title=&quot;Xmpp Tools&quot;&gt;Xmpp Tools&lt;/a&gt; &lt;small&gt;For a while I’ve had my monitoring systems alert me...&lt;/small&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt; </description> 
	<pubDate>Fri, 30 Oct 2026 12:13:06 +0000</pubDate>

</item> 
<item>
	<title>Russell Coker: Fuel Should be More Expensive</title>
	<guid>https://etbe.coker.com.au/?p=6298</guid>
	<link>https://etbe.coker.com.au/2026/10/30/fuel-should-be-expensive/</link>
     <description>  &lt;h2&gt;The Current Situation&lt;/h2&gt;
&lt;p&gt;Before the US and Israel started attacking Iran at the end of February the petrol prices in Australia were around $1.70/L, which for American readers is roughly equivalent to $US4.64/Gal. By the 11th of March the prices were around $2.19/L. Over the same time period Diesel went from around $1.77/L to $2.40/L. The 11th of March prices weren’t necessarily unreasonable prices. In mid March it was reasonable to expect that the US would stop doing such ridiculously stupid things and make a deal with Iran to allow oil to be transported.&lt;/p&gt;
&lt;p&gt;But every time you think there’s a limit to Trump’s stupidity (and the incompetence of people around him who don’t point him in the right direction) they do something worse. So now we have the Strait of Hormuz almost entirely closed cutting off oil from Kuwait, Qatar, and UAE. The Bab al-Mandab Strait is closed to Saudi linked ships and the Saudi East-West pipeline is closed so once the Yanbu storage tanks are empty there won’t be much if any oil from Saudi Arabia for some time. So world oil supplies will be significantly reduced for a long time.&lt;/p&gt;
&lt;p&gt;Currently the petrol prices in Melbourne are around $2.30/L and Diesel prices around $2.70/L, not much more expensive than it was in March in spite of all the extra problems both militarily and diplomatically since then. Those prices have been steady for over a month.&lt;/p&gt;
&lt;p&gt;The blockade of the Strait of Hormuz could be ended fairly quickly and there are reports that a lot of the oil that used to go through it is being re-routed. The damaged infrastructure throughout the middle east can’t be fixed in a hurry. The Bab al-Mandab Strait probably can’t be opened quickly as the Houthis probably don’t have a centralised command structure that allows someone to order a ceasefire and have it stick. So we can expect a massive reduction in world oil supplies for a while, which given the way the US is going could be at least until after the mid-term elections (November this year) and possibly until after the 2028 elections. After that oil production will be reduced for another year or two to rebuild infrastructure.&lt;/p&gt;
&lt;h2&gt;The Problem&lt;/h2&gt;
&lt;p&gt;When supply can’t meet demand there are three options. Supply can be rationed, demand can be decreased by increasing the prices, or it can be used up and we run out. Running out of fuel is a really bad option as fuel is needed for producing and transporting food and for most things that are important to a society.&lt;/p&gt;
&lt;p&gt;Governments of first world countries seem unable to deal with the situation properly. Dealing with it properly requires either rationing or increasing the prices. Instead governments have been more interested in artificially keeping the prices down.&lt;/p&gt;
&lt;p&gt;Currently in Australia and most countries a significant portion of public transport depends on Diesel fuel. Diesel is needed for most buses and for long distance trains. Most taxis run on petrol. As far as I know all emergency service vehicles run on Diesel or petrol as well as most military vehicles. So things will get really bad quickly if fuel runs out entirely. It’s not just personal cars that are affected.&lt;/p&gt;
&lt;p&gt;We aren’t going to get the majority of tractors converted to electric power any time soon. Google search results suggest that tractors last an average of about 25 years but casual observation of working equipment on farms suggests a longer life than that is common. Some tractors could be retrofitted to be electric but many will end up being scrapped as part of a conversion while farmers are already having financial problems. It would probably be optimistic to expect that half the tractor use could be done with electric tractors in 10 years time unless there are significant government subsidies. To get the farming and food production industries adapted for electric operation in a few years would be possible but it would take a level of national mobilisation that only happens during wartime.&lt;/p&gt;
&lt;h2&gt;What We Need&lt;/h2&gt;
&lt;p&gt;As a long term solution we need to have more electric vehicles in every category. We need electricity for all train lines to replace Diesel locomotives. We need better trains between cities to reduce the need for aeroplanes, electric aeroplanes are being developed but we aren’t there yet. We need all essential services to be run with electric vehicles including farming, food transport, emergency services, and everything related to the medical system (including personal cars for healthcare workers). We also need mining vehicles powered by electricity so we can have the entire industrial system running without fuel. None of this is going to happen in time for this crisis.&lt;/p&gt;
&lt;p&gt;Electric buses are being introduced in Australia and many taxis are electric. The recent significant increase in the use of electric cars probably includes a reasonable portion of healthcare workers and other essential workers. This gives us the potential to survive fairly severe reductions in the fuel supply without everything collapsing. But we have a significant lack in electric police cars and in electric trucks for food delivery.&lt;/p&gt;
&lt;p&gt;In the short term we need to significantly reduce the use of fuels, there is no other way to keep the food supply and other essential parts of society working. We could try rationing but I think that should be a last resort. The news reports of a de-facto petrol rationing system in Crimea and parts of Russia are not positive, significant resources are wasted in long queues for petrol and there is public disorder caused by disputes about position in the queues. The level of sanity in the population seems to have dropped significantly since the fuel crisis of 1979, any fuel rationing that is implemented now would get the same sort of opposition from Qanon types as Covid vaccines and lockdowns did in recent times.&lt;/p&gt;
&lt;p&gt;So the best viable option seems to be to reduce demand by increasing prices. $2.30/L as a common price with occasional spikes of $2.50/L isn’t sufficient to do that. If the price increased to $3.50/L, twice what it used to be (equivalent to $9.50/gallon for Americans) then it would provide a real incentive for people to reduce fuel use. That would have to be combined with the type of remote work allowances that were in place when Covid19 was first spreading. But I think that all politicians are too weak to do such things. The media have demonstrated that nowadays the best we can expect is that they will treat both sides as equal even when facts clearly support one side, so we can’t expect the media to report on impending fuel shortages and demand policy changes to address them.&lt;/p&gt;
&lt;p&gt;We should have higher taxes on fuel that will continue past the resolution of the current crisis caused by the attacks on Iran to provide incentives for the purchase of electric cars and for manufacturers to make more fuel efficient cars. Currently people are basing car ownership decisions on the expectation that petrol will go back to something under $2/L and we need to have a government guarantee that it won’t happen.&lt;/p&gt;
&lt;p&gt;People always complain about poor people who can’t afford to drive if petrol is expensive but that could be addressed by increasing the minimum wage and social security payments. But a large portion of the people who complain about the hardship poor people may face when fuel prices are discussed are against increasing the minimum wage so I don’t think they are being honest.&lt;/p&gt;
&lt;p&gt;Another common complaint is about the difficulty driving long distances in rural Australia when there isn’t sufficient charging infrastructure for electric cars and therefore rural people including farmers getting hit by high prices of fuel. There could be a rebate scheme for farmers etc, government subsidies for farmers is nothing new.&lt;/p&gt;
&lt;h2&gt;What Will Happen&lt;/h2&gt;
&lt;p&gt;I expect the governments of most first world countries to try to keep fuel prices low and do very little to try and decrease demand. China will probably do some things to reduce fuel use and being the world’s largest oil importer this will make a difference, but not as much as we need.&lt;/p&gt;
&lt;p&gt;A related problem is that a lot of fertiliser is produced from petrochemicals and closing the strait of Hormuz cut off a significant portion of the world fertiliser supply. First world countries will outbid developing countries for fertiliser and fuel. Starvation in developing countries probably won’t get much news coverage until it leads to war.&lt;/p&gt;
&lt;p&gt;This is not going to go well, it could be addressed if we had braver politicians and more honest media companies but that’s not the way things are going.&lt;/p&gt;
&lt;div class=&quot;yarpp yarpp-related yarpp-related-rss yarpp-template-list&quot;&gt;

&lt;p&gt;Related posts:&lt;/p&gt;&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2007/03/15/worse-than-fossil-fuel/&quot; rel=&quot;bookmark&quot; title=&quot;worse than fossil fuel?&quot;&gt;worse than fossil fuel?&lt;/a&gt; &lt;small&gt;I just read an interesting blog post from December 2005...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2008/04/12/a-bio-fuel-petrol-station/&quot; rel=&quot;bookmark&quot; title=&quot;A Bio-fuel Petrol Station&quot;&gt;A Bio-fuel Petrol Station&lt;/a&gt; &lt;small&gt;Today I happened to see a bio-fuel petrol station! I...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2006/12/21/hybrid-lexus-is-best-luxury-car/&quot; rel=&quot;bookmark&quot; title=&quot;hybrid Lexus is best luxury car&quot;&gt;hybrid Lexus is best luxury car&lt;/a&gt; &lt;small&gt;The Lexus GS 450 hybrid petrol/electric car has been given...&lt;/small&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt; </description> 
	<pubDate>Fri, 30 Oct 2026 06:16:26 +0000</pubDate>

</item> 
<item>
	<title>Russell Coker: Radxa Rock 5A RK3588S</title>
	<guid>https://etbe.coker.com.au/?p=5915</guid>
	<link>https://etbe.coker.com.au/2026/10/30/radxa-rock-5a-rk3588s/</link>
     <description>  &lt;p&gt;At the end of last year I paid $177.40 for a &lt;a href=&quot;https://www.aliexpress.com/item/1005007506696799.html&quot;&gt;Radxa ROCK 5A GREEN RK3588S, 8-core CPU SBC, HDMI with 8K Output, WiFi 6 Support and Gigabit Ethernet, Single Board Computer [1]&lt;/a&gt; from AliExpress. I got the version with 8G of RAM as 4G didn’t seem enough and I didn’t feel like paying for the 16G or 32G versions. The prices excluding postage are $106, $130, $203, and $332 for the 4G, 8G, 16G, and 32G versions respectively. The $332 version is quite reasonably priced if you need to do some big compiles on ARM64. Since then the prices have changed by a few dollars but are almost the same (variations in postage will be greater than the price changes).&lt;/p&gt;
&lt;p&gt;They provide &lt;a href=&quot;https://docs.radxa.com/en/rock5/rock5a/getting-started/install-os/boot_from_sd_card&quot;&gt;modified versions of Debian/Bookworm and Debian/Bullseye [2] and an Android installation&lt;/a&gt;. The Debian setup includes a custom kernel, bootloader, some configuration packages including for ALSA, and some firmware.&lt;/p&gt;
&lt;p&gt;I installed Bookworm and upgraded it to Trixie (the current Debian release). There were some conflicts with some radxa packages that contained the same files as Trixie packages but didn’t have a package conflict but it was not a big deal. It would be nice if Radxa updated their setup to Trixie and it wouldn’t be that difficult for them to do so.&lt;/p&gt;
&lt;p&gt;The board has an expansion bus which apparently can be used for NVMe. It also has an option for a EMMC module. But if you get the default configuration then the only boot device supported is a micro SD card.&lt;/p&gt;
&lt;p&gt;One of the aims of purchasing this card is for testing 8K monitors, but it turns out that &lt;a href=&quot;https://etbe.coker.com.au/2025/12/22/samsung-8k-tv/&quot;&gt;there are no TVs that will take 8K input on sale in Australia [3]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The next thing I considered doing is running it for playing movies on a 4K but it turns out to not support HDMI audio (at least not with the supplied drivers) and has no other audio support. Apparently boards like this have a common use case of digital signs where audio isn’t required.&lt;/p&gt;
&lt;p&gt;I had this post in draft for a year because I planned to write more, but I haven’t come up with anything. It’s not an exciting device. Handy to have another ARM test and build system and handy to be able to test high resolution video with a portable device but I don’t use it for much. I guess “just works in a boring way” isn’t a bad review.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;[1]&lt;a href=&quot;https://www.aliexpress.com/item/1005007506696799.html&quot;&gt; https://www.aliexpress.com/item/1005007506696799.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[2]&lt;a href=&quot;https://docs.radxa.com/en/rock5/rock5a/getting-started/install-os/boot_from_sd_card&quot;&gt; https://tinyurl.com/22pnpg53&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[3]&lt;a href=&quot;https://etbe.coker.com.au/2025/12/22/samsung-8k-tv/&quot;&gt; https://etbe.coker.com.au/2025/12/22/samsung-8k-tv/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;yarpp yarpp-related yarpp-related-rss yarpp-template-list&quot;&gt;

&lt;p&gt;Related posts:&lt;/p&gt;&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2013/12/27/sound-device-order-with-alsa/&quot; rel=&quot;bookmark&quot; title=&quot;Sound Device Order with ALSA&quot;&gt;Sound Device Order with ALSA&lt;/a&gt; &lt;small&gt;One problem I have had with my new Dell PowerEdge...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2025/11/28/10gbit-and-40gbit-home-networking/&quot; rel=&quot;bookmark&quot; title=&quot;10gbit and 40gbit Home Networking&quot;&gt;10gbit and 40gbit Home Networking&lt;/a&gt; &lt;small&gt;Aliexpress has a 4 port 2.5gbit switch with 2*SFP+ sockets...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2024/01/19/2-5gbit-ethernet/&quot; rel=&quot;bookmark&quot; title=&quot;2.5Gbit Ethernet&quot;&gt;2.5Gbit Ethernet&lt;/a&gt; &lt;small&gt;I just decided to upgrade the core of my home...&lt;/small&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt; </description> 
	<pubDate>Fri, 30 Oct 2026 05:56:57 +0000</pubDate>

</item> 
<item>
	<title>Reproducible Builds (diffoscope): diffoscope 336 released</title>
	<guid>https://diffoscope.org/news/diffoscope-336-released/</guid>
	<link>https://diffoscope.org/news/diffoscope-336-released/</link>
     <description>  &lt;p&gt;The diffoscope maintainers are pleased to announce the release of diffoscope
version &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;336&lt;/code&gt;. This version includes the following changes:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;[ Chris Lamb ]
* Drop Recommends: guix from the diffoscope-minimal package.
  (Closes: #1114739)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You find out more by &lt;a href=&quot;https://diffoscope.org&quot;&gt;visiting the project homepage&lt;/a&gt;.&lt;/p&gt; </description> 
	<pubDate>Fri, 30 Oct 2026 00:00:00 +0000</pubDate>

</item> 
<item>
	<title>Enrico Zini: Sandboxing pre-commit</title>
	<guid>https://www.ezini.eu/blog/2026/python/sandboxing-pre-commit</guid>
	<link>https://www.ezini.eu/blog/2026/python/sandboxing-pre-commit</link>
     <description>  &lt;p&gt;&lt;a href=&quot;https://github.com/pre-commit/&quot;&gt;pre-commit&lt;/a&gt; is a tool that is often a
prerequisite for contributing to Python upstream projects. It installs as a git
pre-commit hook and runs various checks on commit, using tools installed in a
set of virtualenvs that it automatically manages.&lt;/p&gt;
&lt;p&gt;In other words, it is a Remote Code Execution engine running with the
permissions of your own user, and with read and write access to all your
information (including, say, &lt;code&gt;~/.ssh&lt;/code&gt; or &lt;code&gt;~/.netrc&lt;/code&gt;). If you are lucky, and for
as long as you&#39;re lucky, it will perform useful tasks on your code.&lt;/p&gt;
&lt;p&gt;The recent eMudhra certificate situation, where I learnt how Python, as well as
several other ecosystems, &lt;a href=&quot;https://mastodon.bida.im/@spanezz/117490446010382297&quot;&gt;likes to embed CA certificate bundles in
virtualenvs&lt;/a&gt;, caused my
tolerance for this to lower to a point where I felt the need to limit
pre-commit&#39;s reach.&lt;/p&gt;
&lt;p&gt;However, I didn&#39;t want to end up with another containerized OS tree that it&#39;s
then my responsibility to manage, and I tried to go the
&lt;a href=&quot;https://github.com/containers/bubblewrap&quot;&gt;bubblewrap&lt;/a&gt; way, so that the
environment where &lt;code&gt;pre-commit&lt;/code&gt; runs will get the same security updates as the
rest of my system.&lt;/p&gt;
&lt;p&gt;The result is a &lt;a href=&quot;https://salsa.debian.org/-/snippets/883&quot;&gt;pre-commit wrapper script&lt;/a&gt;
that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Runs in a private filesystem, with no access to user&#39;s files or system
  configuration&lt;/li&gt;
&lt;li&gt;Runs in a filesystem where everything is read-only, except for the git
  working directory&lt;/li&gt;
&lt;li&gt;Even the &lt;code&gt;.git&lt;/code&gt; directory is readonly, so that changes in the code can be
  reliably detected via &lt;code&gt;git diff&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Runs without network unless explicitly requested by the user&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here&#39;s a breakdown of the &lt;code&gt;bwrap&lt;/code&gt; options I used so far.&lt;/p&gt;
&lt;p&gt;Set up usual filesystem expectations:&lt;/p&gt;
&lt;pre class=&quot;codehilite&quot;&gt;&lt;code class=&quot;language-sh&quot;&gt;    --ro-bind /usr /usr \
    --symlink usr/bin /bin \
    --symlink usr/lib64 /lib64 \
    --symlink usr/lib /lib \
    --proc /proc \
    --dev /dev \
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Make the working directory and pre-commit&#39;s environments storage available and
writable:&lt;/p&gt;
&lt;pre class=&quot;codehilite&quot;&gt;&lt;code class=&quot;language-sh&quot;&gt;    --bind ${CURDIR} &quot;$GUEST_DIR&quot; \
    --bind ~/.cache/pre-commit &quot;/home/${USER}/.cache/pre-commit&quot; \
    --chdir &quot;$GUEST_DIR&quot; \
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Forward git&#39;s configuration:&lt;/p&gt;
&lt;pre class=&quot;codehilite&quot;&gt;&lt;code class=&quot;language-sh&quot;&gt;    --ro-bind /etc/gitconfig /etc/gitconfig \
    --ro-bind ~/.gitconfig /home/${USER}/.gitconfig \
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Make &lt;code&gt;.git&lt;/code&gt; writable (pre-commit needs to stash, for example), but use a tmpfs
overlay so that the writes don&#39;t persist:&lt;/p&gt;
&lt;pre class=&quot;codehilite&quot;&gt;&lt;code class=&quot;language-sh&quot;&gt;    --overlay-src &quot;$CURDIR/.git&quot; \
    --tmp-overlay &quot;$GUEST_DIR/.git&quot; \
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Remove access to everything except the above. Prevent keystroke injection at
the terminal. Propagate &lt;code&gt;^C&lt;/code&gt;.&lt;/p&gt;
&lt;pre class=&quot;codehilite&quot;&gt;&lt;code class=&quot;language-sh&quot;&gt;    --unshare-all \
    --new-session \
    --die-with-parent
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;If network is needed:&lt;/p&gt;
&lt;pre class=&quot;codehilite&quot;&gt;&lt;code class=&quot;language-sh&quot;&gt;    --share-net \
    --ro-bind /etc/resolv.conf /etc/resolv.conf \
    --ro-bind /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;To run it, you can set up the wrapper script to run with a higher priority in
&lt;code&gt;$PATH&lt;/code&gt;, but you need to edit &lt;code&gt;.git/hooks/pre-commit&lt;/code&gt; to remove the first
branch of the &lt;code&gt;if&lt;/code&gt; that, frustratingly, tries to run it as &lt;code&gt;python3 -m
pre_commit&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;I&#39;m looking forward to a time where it becomes stadard practice to manage user
commands this way: why should a desktop solitaire game have access to &lt;code&gt;~/.ssh&lt;/code&gt;?
Or network? Why is it still normal, in 2026, to run a Desktop system like that?&lt;/p&gt; </description> 
	<pubDate>Mon, 26 Oct 2026 17:36:37 +0000</pubDate>

</item> 
<item>
	<title>Russell Coker: CEO Impersonation Fraud</title>
	<guid>https://etbe.coker.com.au/?p=6333</guid>
	<link>https://etbe.coker.com.au/2026/10/26/ceo-impersonation/</link>
     <description>  &lt;p&gt;In discussion about my post on &lt;a href=&quot;https://etbe.coker.com.au/2026/10/25/banks-phones/&quot;&gt;banks and phones [1]&lt;/a&gt; questions were asked about &lt;a href=&quot;https://krebsonsecurity.com/2017/02/irs-scam-blends-ceo-fraud-w-2-phishing/&quot;&gt;CEO impersonation (link to an article on the security blog Krebs on Security about it) [2]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;CEO fraud (or more generally executive fraud) is a subset of Business Email Compromise fraud which allegedly &lt;a href=&quot;https://ezyshield.com.au/threats/ceo-fraud/&quot;&gt;loses Australian businesses $84M/year [3]&lt;/a&gt;. The numbers vary a lot depending on what is counted, is it just attacks where money is lost or do situations where the bank reverses the transaction count? There’s a lot of secrecy around this because of reputation issues related to fraud, a company that gets defrauded might be regarded as an unreliable business partner. Also in terms of interpreting results there are organisations that want to promote the idea that “it’s a major crime that could cost you everything unless you pay us to improve your security”.&lt;/p&gt;
&lt;p&gt;My experience of these things is that at one company I worked for someone had gained access to an executive mailbox and setup rules to move mail from certain senders to a mailbox that wouldn’t be checked (maybe .Sent or .Spam or something – I can’t remember the details) as well as forwarding it to an address the attacker controlled. That meant that the executive wouldn’t see email from the scam targets while the email gets forwarded to the attackers. At the time it appeared that Office 365 didn’t have any features for sending automatic audit alerts for such changes. I think that all changes to executive email accounts should trigger alerts to the corporate security team (in that case me). One would hope that such exploitation would be a major wake-up call for the company but it wasn’t. It was never discovered how the attacker got access to the account, I presume it was by compromising a personal computer of the executive which they used for company purposes. Having a strong separation of hardware used for work and hardware for personal use is a really good thing.&lt;/p&gt;
&lt;p&gt;At the same company every time the CEO went on a scheduled trip there would be email sent impersonating him claiming that money needed to be transferred. It was never discovered how the attackers knew when he was on a trip. Was the CEO telling people on LinkedIn about his plans or something? Was his calendar shared to someone outside the company? Was there an employee leaking information? We never found out and surprisingly the executive team didn’t think this was a problem. It’s not necessarily bad for the CEO to publicise their trips even if that alerts hostile parties, but everyone needs to know what the situation is. An unexplained attack is more concerning than a known attack that can be predicted and dealt with.&lt;/p&gt;
&lt;p&gt;The role of CEO has a unique combination of being able to authorise funds transfers while also being able to reject other security methods. You can tell a line manager that they need to follow the process for a $10 purchase but you can’t necessarily tell the CEO that they need to follow the process for $100,000. Even if the CEO always follows the process for funds transfers you have to convince all the people involved in funds transfers that the CEO will follow the process and any unexpected email demanding an immediate transfer should be rejected.&lt;/p&gt;
&lt;p&gt;A final problem is getting executives to understand the importance of computer security. My experience is that getting a CTO to adhere to good security practices can be a challenge and that even on the rare occasions someone like me gets to communicate with the CEO it’s not possible to convince them to change anything.&lt;/p&gt;
&lt;p&gt;Most computer security problems end up as people problems.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;[1]&lt;a href=&quot;https://etbe.coker.com.au/2026/10/25/banks-phones/&quot;&gt; https://etbe.coker.com.au/2026/10/25/banks-phones/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[2]&lt;a href=&quot;https://krebsonsecurity.com/2017/02/irs-scam-blends-ceo-fraud-w-2-phishing/&quot;&gt; https://tinyurl.com/j3byjek&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[3]&lt;a href=&quot;https://ezyshield.com.au/threats/ceo-fraud/&quot;&gt; https://ezyshield.com.au/threats/ceo-fraud/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;yarpp yarpp-related yarpp-related-rss yarpp-template-list&quot;&gt;

&lt;p&gt;Related posts:&lt;/p&gt;&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2007/11/17/safe-banking-by-sms/&quot; rel=&quot;bookmark&quot; title=&quot;Safe Banking by SMS?&quot;&gt;Safe Banking by SMS?&lt;/a&gt; &lt;small&gt;Is it possible to secure Internet banking with SMS? As...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2026/10/25/banks-phones/&quot; rel=&quot;bookmark&quot; title=&quot;Banks and Phones&quot;&gt;Banks and Phones&lt;/a&gt; &lt;small&gt;The Problem For years there have been ongoing issues with...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2014/04/12/replacement-credit-cards-and-bank-failings/&quot; rel=&quot;bookmark&quot; title=&quot;Replacement Credit Cards and Bank Failings&quot;&gt;Replacement Credit Cards and Bank Failings&lt;/a&gt; &lt;small&gt;I just read an interesting article by Brian Krebs about...&lt;/small&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt; </description> 
	<pubDate>Mon, 26 Oct 2026 04:09:59 +0000</pubDate>

</item> 
<item>
	<title>Otto Kekäläinen: Debcraft v1.0 released: Easy, fast and secure way to build Debian packages</title>
	<guid>https://optimizedbyotto.com/post/debcraft-1-0-released/</guid>
	<link>https://optimizedbyotto.com/post/debcraft-1-0-released/</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/otto.png&quot; width=&quot;64&quot; height=&quot;90&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;img alt=&quot;Featured image of post Debcraft v1.0 released: Easy, fast and secure way to build Debian packages&quot; src=&quot;https://optimizedbyotto.com/post/debcraft-1-0-released/debcraft-v1.jpg&quot; /&gt;&lt;p&gt;Debcraft is a tool that automates most of the repetitive and error-prone steps related to Debian packaging. It makes it easy to build &lt;code&gt;.deb&lt;/code&gt; packages from source without having to manually prepare build environments. It clearly shows what changed in the build artifacts between two builds, automates parts of importing new upstream versions, and can automatically apply repetitive fixes to the packaging source code, including committing them in git.&lt;/p&gt;
&lt;p&gt;While doing all of this, it &lt;strong&gt;also explains what it does and helps users learn best practices in Debian packaging&lt;/strong&gt;, making the overall experience much easier and more fun than with any other tool before, while also being secure and fast.&lt;/p&gt;
&lt;h2 id=&quot;try-out-debcraft-10-now&quot;&gt;&lt;a class=&quot;header-anchor&quot; href=&quot;https://optimizedbyotto.com/index.xml#try-out-debcraft-10-now&quot;&gt;&lt;/a&gt;Try out Debcraft 1.0 now!
&lt;/h2&gt;&lt;p&gt;&lt;a class=&quot;link&quot; href=&quot;https://salsa.debian.org/debian/debcraft&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Debcraft&lt;/a&gt; can be installed simply by running &lt;code&gt;apt install debcraft&lt;/code&gt; on a recent version of Debian or Ubuntu. Check with &lt;code&gt;debcraft --version&lt;/code&gt; that you have &lt;em&gt;1.0.0 or newer&lt;/em&gt;. The latest version can also always be installed from source at &lt;a class=&quot;link&quot; href=&quot;https://salsa.debian.org/debian/debcraft&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;salsa.debian.org/debian/debcraft&lt;/a&gt; (does not require compiling anything).&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Running debcraft build in a Debian packaging git repository for the entr package&quot; class=&quot;gallery-image&quot; height=&quot;466&quot; src=&quot;https://optimizedbyotto.com/post/debcraft-1-0-released/debcraft-build-of-entr.gif&quot; width=&quot;800&quot; /&gt;
&lt;/p&gt;
&lt;h2 id=&quot;benefits&quot;&gt;&lt;a class=&quot;header-anchor&quot; href=&quot;https://optimizedbyotto.com/index.xml#benefits&quot;&gt;&lt;/a&gt;Benefits
&lt;/h2&gt;&lt;p&gt;Debcraft was designed to offer the following three main benefits:&lt;/p&gt;
&lt;h3 id=&quot;easy&quot;&gt;&lt;a class=&quot;header-anchor&quot; href=&quot;https://optimizedbyotto.com/index.xml#easy&quot;&gt;&lt;/a&gt;Easy
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Build any Debian/Ubuntu package by simply running &lt;code&gt;debcraft build&lt;/code&gt; in the checked-out Debian packaging git repository.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If the orig upstream source code tarball is neither already present nor available on a &lt;code&gt;pristine-tar&lt;/code&gt; branch, the exact upstream tarball is downloaded from the Debian archive.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Users are spared from having to manually prepare ahead or maintain build environments. Debcraft builds create a container on-the-fly (both Podman and Docker supported), built using the target Debian or Ubuntu suite in &lt;code&gt;debian/changelog&lt;/code&gt; and with exact build dependencies from &lt;code&gt;debian/control&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Commands &lt;code&gt;debcraft improve&lt;/code&gt;, &lt;code&gt;debcraft test&lt;/code&gt; and &lt;code&gt;debcraft update&lt;/code&gt; automate recurring package maintenance tasks and help maintainers produce high-quality, up-to-date packages, run Salsa CI, pass autopkgtest in Debian CI, and stay in sync across Debian archives and packaging git repositories.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The command output is (relatively) easy to read, and it also teaches users about Debian packaging &lt;em&gt;in context&lt;/em&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;fast&quot;&gt;&lt;a class=&quot;header-anchor&quot; href=&quot;https://optimizedbyotto.com/index.xml#fast&quot;&gt;&lt;/a&gt;Fast
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Container layer caching is utilized to make builds &lt;strong&gt;and re-builds&lt;/strong&gt; blazingly fast.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If an &lt;a class=&quot;link&quot; href=&quot;https://manpages.debian.org/unstable/apt-cacher-ng/apt-cacher-ng.8.en.html&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;apt-cacher-ng&lt;/a&gt; instance or equivalent is present, it will automatically be used.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Debian packages that support &lt;a class=&quot;link&quot; href=&quot;https://ccache.dev/&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;ccache&lt;/a&gt; or &lt;a class=&quot;link&quot; href=&quot;https://github.com/mozilla/sccache&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;sccache&lt;/a&gt; build even faster.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;secure&quot;&gt;&lt;a class=&quot;header-anchor&quot; href=&quot;https://optimizedbyotto.com/index.xml#secure&quot;&gt;&lt;/a&gt;Secure
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The build phase happens inside hermetic containers with no network access. This ensures all dependencies are properly managed and that the built binaries are as trustworthy as the source code they were built from.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Using containers also protects the host system from getting polluted with extra development libraries, and adds an extra layer of protection to prevent anything malicious in the source code from accessing secrets on the host system.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The additional logs provided by Debcraft also help audit changes in Debian package sources and build artifacts.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the &lt;a class=&quot;link&quot; href=&quot;https://salsa.debian.org/debian/debcraft&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Debcraft README.md&lt;/a&gt; for details on how this was implemented. I also previously wrote &lt;a class=&quot;link&quot; href=&quot;https://optimizedbyotto.com/post/debcraft-easy-debian-packaging/&quot;&gt;Debcraft - Easiest way to modify and build Debian packages&lt;/a&gt;, which explains the motivation and design in more detail.&lt;/p&gt;
&lt;h2 id=&quot;result-of-many-years-of-development&quot;&gt;&lt;a class=&quot;header-anchor&quot; href=&quot;https://optimizedbyotto.com/index.xml#result-of-many-years-of-development&quot;&gt;&lt;/a&gt;Result of many years of development
&lt;/h2&gt;&lt;p&gt;The first commit in the git repository is from 2020 under the name &lt;em&gt;debuildr&lt;/em&gt;. The project was renamed to Debcraft in a commit on December 8th, 2023. I have been developing this tool fairly actively since 2024 and using it for all my packaging, “dogfooding” so to say.&lt;/p&gt;
&lt;p&gt;There have also been plenty of collaborators. In total, &lt;a class=&quot;link&quot; href=&quot;https://salsa.debian.org/debian/debcraft/-/graphs/main&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;13 people have contributed code&lt;/a&gt; across 21 MRs and PRs on &lt;a class=&quot;link&quot; href=&quot;https://salsa.debian.org/debian/debcraft/-/merge_requests&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Salsa.d.o&lt;/a&gt;, &lt;a class=&quot;link&quot; href=&quot;https://gitlab.com/ottok/debcraft/-/merge_requests/&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;GitLab.com&lt;/a&gt; and &lt;a class=&quot;link&quot; href=&quot;https://github.com/ottok/debcraft/pulls&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;GitHub.com&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Now, in October 2026, it was time to release Debcraft v1.0 as it has had extensive real-world use and iteration based on countless different packages and multiple users. Users have included both experienced fellow Debian Developers and lots of people who just started learning how Debian packaging works. As I &lt;a class=&quot;link&quot; href=&quot;https://optimizedbyotto.com/mentoring/&quot;&gt;mentor&lt;/a&gt; dozens of new contributors to Debian, I have seen that the latter group seems to benefit the most from Debcraft and its ease of use and built-in guidance, while to the more experienced developers the main benefit is having less details to remember and doing less mistakes.&lt;/p&gt;
&lt;h2 id=&quot;contributions-welcome&quot;&gt;&lt;a class=&quot;header-anchor&quot; href=&quot;https://optimizedbyotto.com/index.xml#contributions-welcome&quot;&gt;&lt;/a&gt;Contributions welcome!
&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;Try it:&lt;/strong&gt; &lt;code&gt;apt install debcraft&lt;/code&gt;, then run &lt;code&gt;debcraft build&lt;/code&gt; in a checked-out Debian packaging repository. If you run into a problem, &lt;a class=&quot;link&quot; href=&quot;https://salsa.debian.org/debian/debcraft/-/issues&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;file a report&lt;/a&gt; or &lt;a class=&quot;link&quot; href=&quot;https://salsa.debian.org/debian/debcraft/-/merge_requests&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;submit an improvement&lt;/a&gt;. New contributors can look for &lt;a class=&quot;link&quot; href=&quot;https://salsa.debian.org/debian/debcraft/-/issues&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;issues marked good first issue&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The code is intentionally written entirely in shell script to keep the barrier to code contribution as low as possible. It is also very easy to debug, as any command can be run with &lt;code&gt;--debug&lt;/code&gt; to emit step-by-step information about what it is doing, and being Bash scripts, injecting &lt;code&gt;set -x&lt;/code&gt; anywhere in the code will emit an even more detailed trace of every subcommand executed.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;By the way,&lt;/strong&gt; if you aspire to become a Debian Developer, and want to follow my examples in using state-of-the-art tooling and collaborate using &lt;a class=&quot;link&quot; href=&quot;https://salsa.debian.org/&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;salsa.debian.org&lt;/a&gt;, feel free to reach out for &lt;a class=&quot;link&quot; href=&quot;https://optimizedbyotto.com/mentoring/&quot;&gt;mentorship&lt;/a&gt;. I am glad to see more people contribute to Debian!&lt;/p&gt;
&lt;/blockquote&gt; </description> 
	<pubDate>Mon, 26 Oct 2026 00:00:00 +0000</pubDate>

</item> 
<item>
	<title>Amin Bandali: Living healthier</title>
	<guid>tag:shemshak.org,2019:~amin/rss20.xml:living-healthier</guid>
	<link>https://www.shemshak.org/~amin/living-healthier.html</link>
     <description>  &lt;p&gt;Earlier this week I had a coaching session with
&lt;a href=&quot;https://protesilaos.com&quot;&gt;Protesilaos&lt;/a&gt;, where we focused
on health and wellness.  I took some notes during our call, which
I expand on here, and share with Prot&#39;s permission.  I&#39;ve been paying
more serious attention to my health this year, and our discussion was
in the context of me striving to live a healthier life.  These
notes are shared in the hope of being useful and &lt;em&gt;are not&lt;/em&gt;
professional advice; for medical advice please consult a licensed
physician.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Update 24 October 2026:&lt;/b&gt; Prot published a note about our
discussion on his website: &lt;a href=&quot;https://protesilaos.com/commentary/2026-10-24-healthier-lifestyle-amin-bandali/&quot;&gt;Healthier lifestyle with Amin Bandali&lt;/a&gt;&lt;/p&gt;

&lt;hr /&gt;

&lt;b&gt;Exercise&lt;/b&gt;

&lt;p&gt;Life in today&#39;s fast-paced world can feel busier than ever, where
every day is packed with a myriad of activities and tasks that need to
be done, or tempting distractions that pop up seemingly randomly, with
hardly a moment to spare.  Despite that, or perhaps &lt;em&gt;because&lt;/em&gt;
of that, it&#39;s worthwhile to make time for ourselves and the various
aspects of our health.

&lt;/p&gt;&lt;p&gt;As embodied souls, our bodies condition our minds.  We take care of
our body so we can take care of our mind.  As humans we evolved for an
active lifestyle out of survival necessity.  In today&#39;s society many
of us have sedentary office jobs that involve sitting for long periods
of time.  It&#39;s especially important that we try and make time for some
regular physical activity like exercising and resistance training,
to help build and retain muscle mass and mobility as we age.
Fitness does not have to be the end goal that takes over our life,
though there is nothing wrong with that if fitness &lt;em&gt;is&lt;/em&gt; one&#39;s
central goal e.g. as a personal trainer.  Rather, for someone like me
with other primary goals, my reason to exercise is to help live
a healthier life, so I could spend quality time with my loved ones
and carry out my responsibilities with a healthy body and mind.&lt;/p&gt;

&lt;p&gt;Prot mentioned that our health is directly dependent on the
following four factors:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;what we eat;&lt;/li&gt;
&lt;li&gt;what we drink;&lt;/li&gt;
&lt;li&gt;what we breathe; and&lt;/li&gt;
&lt;li&gt;what we think.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thus compromising any of these - for example, eating greasy food
or drinking alcohol - would undermine the gains from exercising.&lt;/p&gt;

&lt;p&gt;While pursuing fitness, it&#39;s important to have &lt;em&gt;sustained&lt;/em&gt;
effort so that the body remains active and the mind is not distracted,
and equally important to have &lt;em&gt;sustainable&lt;/em&gt; effort so that we
don&#39;t suffer injuries and not make the pursuit of fitness burdensome
financially.&lt;/p&gt;

&lt;p&gt;Calisthenics is a key part of the strength training activities Prot
practices, in addition to the physically intensive work he does on his
land.&lt;/p&gt;

&lt;blockquote cite=&quot;https://en.wikipedia.org/w/index.php?title=Calisthenics&amp;amp;oldid=1381467992&quot;&gt;&lt;p&gt;Calisthenics [...] is a form of strength training that utilizes
an individual&#39;s body weight as resistance to perform multi-joint,
compound movements with little or no equipment.  Calisthenics are
popular for their convenience, as they require little to no equipment
and can be performed anywhere.&lt;/p&gt;
&lt;p&gt;— &lt;a href=&quot;https://en.wikipedia.org/w/index.php?title=Calisthenics&amp;amp;oldid=1381467992&quot;&gt;&lt;cite&gt;Calisthenics, Wikipedia&lt;/cite&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Calisthenics can be done progressively, starting small
and building in intensity and duration over time.  It is also
economically/financially sustainable.  These calisthenic exercises
are a good starting point (barring existing injuries in the related
areas):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;push-ups - easier version: at an angle or against the wall;&lt;/li&gt;
&lt;li&gt;pull-ups - easier version: at an angle e.g. using door frame;&lt;/li&gt;
&lt;li&gt;squats - easier version: don&#39;t squat all the way down; and&lt;/li&gt;
&lt;li&gt;sit-ups.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Aim to perform each exercise in 3 sets of 10 repetitions, but
it&#39;s perfectly okay to start with fewer and gradually build up.  The
exercises should be done around the same time everyday, so that there
is enough time for the muscles to rest and recover for the next day.
Doing them at night then again the next morning, for instance, would
be too short of a time period and not enough for the body to recover.
It&#39;s also vital to get enough sleep each night to make sure the body
can properly rest and be energized the next day.&lt;/p&gt;

&lt;b&gt;Food&lt;/b&gt;

&lt;p&gt;As mentioned earlier, it&#39;s crucial to pair exercise with a healthy
diet.  I found Prot&#39;s programming metaphor for food interesting:
similar to how it takes more time and effort for us to process and
understand complex source code, breaking down and processing complex
foods is similarly more difficult for the body.  Prot does not eat
fried food, and recommends avoiding sauces as much as possible:
greasy, salty, and creamy extras make food more irresistible.
They tend to make one want to eat more than what the body needs,
and are to be avoided in isolation but especially in combination.
In keeping ingredients close to their natural states, not overdoing
things, and not eating more than the body needs, Prot &lt;a href=&quot;https://protesilaos.com/commentary/2025-09-17-re-how-do-you-do-food/&quot;&gt;extends his philosophy of simplicity and moderation to
cooking&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In addition to eating healthy meals, we need to apply similar
consideration to snacks: avoiding overly salty or sugary snacks,
and choosing healthier ones.  Nuts can make great snacks in small
quantities, especially almonds and walnuts, if one&#39;s not allergic.&lt;/p&gt;

&lt;p&gt;In addition to the inherent healthiness of the food or snack,
Prot also suggests paying attention to methods of preparation.
For instance, regarding concentration or distillation: juices,
even when freshly squeezed from fruits, might have more of the
fruits&#39; sugar than its pulp and other beneficial parts.
Additionally, chewing triggers biological responses in our body
which for example can reduce stress, and release satiety hormones
to help avoid overeating.  So, Prot suggests to just eat the fruits
themselves.&lt;/p&gt;

&lt;p&gt;Regarding weight loss, it will occur naturally as we introduce
exercise into our routine, and pay closer attention to what we eat and
drink.  It&#39;s important to lose the weight slowly to condition our body
to the new reality as it changes.  Shortcuts tend to either not work,
or have negative consequences.  By going through the process slowly
and with regularity, we gradually retrain our muscle memories and
adjust our habits so we can maintain the lower weight and the
healthier lifestyle.  Regularity is key: it&#39;s better do a little
everyday, than do a lot on only two days.  It helps us develop the
attitude that the exercise is part of our regular effort that we do
consistently all the time.&lt;/p&gt;

&lt;p&gt;Working on wellness and living healthier is a matter of
moderation, and building capacity over time.  I will give it
the time and attention it needs, without rushing, and enjoy
the journey to becoming a healthier version of myself.&lt;/p&gt;

&lt;p&gt;Take care, and so long for now.&lt;/p&gt; </description> 
	<pubDate>Fri, 23 Oct 2026 22:30:00 +0000</pubDate>

</item> 
<item>
	<title>Reproducible Builds (diffoscope): diffoscope 335 released</title>
	<guid>https://diffoscope.org/news/diffoscope-335-released/</guid>
	<link>https://diffoscope.org/news/diffoscope-335-released/</link>
     <description>  &lt;p&gt;The diffoscope maintainers are pleased to announce the release of diffoscope
version &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;335&lt;/code&gt;. This version includes the following changes:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;[ Chris Lamb ]
* Support the dumppdf binary being called dumppdf.py on the host system.
* Update copyright years.
* Fix a silly &quot;prepend&quot; typo.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You find out more by &lt;a href=&quot;https://diffoscope.org&quot;&gt;visiting the project homepage&lt;/a&gt;.&lt;/p&gt; </description> 
	<pubDate>Fri, 23 Oct 2026 00:00:00 +0000</pubDate>

</item> 
<item>
	<title>Steinar H. Gunderson: Decompilation patterns, part 18: Signed division</title>
	<guid>http://blog.sesse.net/blog/tech/2026-10-21-23-19_decompilation_patterns_part_18_signed_division.html</guid>
	<link>http://blog.sesse.net/blog/tech/2026-10-21-23-19_decompilation_patterns_part_18_signed_division.html</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/sesse.png&quot; width=&quot;74&quot; height=&quot;85&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;As promised, the last one (for now?), and this one blew my mind the first
time I saw it:&lt;/p&gt;

&lt;pre&gt;    var_v0 = sp4014;
    if ((s32) sp4014 &amp;lt; 0) {
        var_v0 = sp4014 + 0x7FF;
    }
    temp_s1 = 0x800 - (sp4014 - (((s32) var_v0 &amp;gt;&amp;gt; 0xB) &amp;lt;&amp;lt; 0xB));
&lt;/pre&gt;

&lt;p&gt;There&#39;s actually two things going on here. First, the compiler
is faking a signed division using shifting (which rounds down) as a building block:
If the value is negative, then you add a bias to make shift into round-up.
(The right-shift by 0xB, or 11, is exactly a division by 0x800.)&lt;/p&gt;

&lt;p&gt;So this means what we&#39;re looking at is:&lt;/p&gt;

&lt;pre&gt;    var_v0 = (s32) sp4014 / 0x800;
    temp_s1 = 0x800 - (sp4014 - var_v0 * 0x800);
&lt;/pre&gt;

&lt;p&gt;which reduces further to:&lt;/p&gt;

&lt;pre&gt;    temp_s1 = 0x800 - ((s32) sp4014 % 0x800);
&lt;/pre&gt;

&lt;p&gt;Tada. That&#39;s it. Now you know all the tricks, except those that I don&#39;t know
or that I forgot. You don&#39;t need the LLM. Have fun. :-)&lt;/p&gt;

&lt;p&gt;Edit: Corrected a thinko; of course, MIPS has signed division.
This is for power-of-two optimizations only.&lt;/p&gt; </description> 
	<pubDate>Wed, 21 Oct 2026 21:30:20 +0000</pubDate>

</item> 
<item>
	<title>Steinar H. Gunderson: Decompilation patterns, part 17: Loop rotation</title>
	<guid>http://blog.sesse.net/blog/tech/2026-10-20-23-33_decompilation_patterns_part_17_loop_rotation.html</guid>
	<link>http://blog.sesse.net/blog/tech/2026-10-20-23-33_decompilation_patterns_part_17_loop_rotation.html</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/sesse.png&quot; width=&quot;74&quot; height=&quot;85&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;Occasionally, you&#39;ll see code like this (after initial cleanup):&lt;/p&gt;

&lt;pre&gt;    var_v0_2 = crc &amp;amp; 0x80000000;
    do {
       if (var_v0_2 != 0) {
           crc = (crc &amp;lt;&amp;lt; 1) ^ 0x1EDC6F41;
       } else {
           crc &amp;lt;&amp;lt;= 1;
       }
       var_a0 += 1;
       var_v0_2 = crc &amp;amp; 0x80000000;
    } while (var_a0 &amp;lt; 8U);
&lt;/pre&gt;

&lt;p&gt;The thing with &lt;code&gt;var_v0_2&lt;/code&gt; is unnatural. GCC sometimes does these loop rotation tricks, seemingly
to save registers (don&#39;t ask me how exactly it does). You want to un-rotate
back into:&lt;/p&gt;

&lt;pre&gt;    do {
       var_v0_2 = crc &amp;amp; 0x80000000;
       if (var_v0_2 != 0) {
           crc = (crc &amp;lt;&amp;lt; 1) ^ 0x1EDC6F41;
       } else {
           crc &amp;lt;&amp;lt;= 1;
       }
       var_a0 += 1;
    } while (var_a0 &amp;lt; 8U);
&lt;/pre&gt;

&lt;p&gt;and then of course, you can clean up the rest:&lt;/p&gt;

&lt;pre&gt;for (i = 0; i &amp;lt; 8; ++i) {
    if (crc &amp;amp; 0x80000000) {
        crc = (crc &amp;lt;&amp;lt; 1) ^ 0x1EDC6F41;
    } else {
        crc &amp;lt;&amp;lt;= 1;
    }
}
&lt;/pre&gt;

&lt;p&gt;Last one tomorrow, I think.&lt;/p&gt; </description> 
	<pubDate>Tue, 20 Oct 2026 22:33:00 +0000</pubDate>

</item> 
<item>
	<title>Thadeu Lima de Souza Cascardo: Restricting device memory usage on Linux 7.3</title>
	<guid>https://cascardo.eti.br/blog/dmem_cgroup_7.3/</guid>
	<link>https://cascardo.eti.br/blog/dmem_cgroup_7.3/</link>
     <description>  &lt;p&gt;Linux cgroups has been used for a while to group processes and control their access to certain system resources. One of those resources is memory, through the use of memcg. That control is dynamic, allowing for cgroups to setup a minimal and a maximal amount of memory, as well as low and high thresholds, which will control the reclaim process.&lt;/p&gt;

&lt;p&gt;But what about device memory that is not available as system RAM? Memory that is not available to the Linux page allocator? One of those device memories is GPU VRAM.&lt;/p&gt;

&lt;p&gt;That&#39;s where the dmem cgroup controller comes in. Introduced in Linux 6.14, it was first adopted by the Intel Xe driver. In Linux 6.15, AMD amdgpu driver also adopted it. In 7.3, it was adopted by nouveau.&lt;/p&gt;

&lt;p&gt;Such a cgroup controller allows the system to be configured such that a workload, be it a browser, a game, or another GPU rendering process can have some minimal VRAM available. Or it can prevent one of these processes from using all VRAM, preventing your compositor from using it, for example.&lt;/p&gt;

&lt;p&gt;Let&#39;s go through the system knobs that are available to control this and what&#39;s new in Linux 7.3.&lt;/p&gt;

&lt;h2&gt;dmem regions and dmem.capacity&lt;/h2&gt;

&lt;p&gt;Since a given system might have multiple GPUs, there might be multiple device memory regions. So, on dmem, each such region is described by a name. Every dmem cgroup setting file will contain one line per region. One of those files shows the capacity of each region in bytes and is present only in the root cgroup.&lt;/p&gt;

&lt;p&gt;After enabling the dmem cgroup with the following command:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# echo +dmem &amp;gt; /sys/fs/cgroup/cgroup.subtree_control
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;One can inspect the capacity of any available regions by looking at &lt;code&gt;dmem.capacity&lt;/code&gt; at the root cgroup:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# cat /sys/fs/cgroup/dmem.capacity
drm/0000:03:00.0/vram 8573157376
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;That shows that the GPU at PCI address 0000:03:00.0 has a 8176MiB VRAM dmem region.&lt;/p&gt;

&lt;h2&gt;dmem settings&lt;/h2&gt;

&lt;p&gt;When introduced at 6.14, the following settings were available.&lt;/p&gt;

&lt;h3&gt;dmem.current&lt;/h3&gt;

&lt;p&gt;In every dmem cgroup, including the root cgroup, the dmem.current is a read-only file that shows the current usage of each region by the given cgroup.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# cat /sys/fs/cgroup/user.slice/dmem.current
drm/0000:03:00.0/vram 292757504
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Here, it shows that user.slice cgroup is currently using above 292 MB of VRAM.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# cat /sys/fs/cgroup/dmem.current
drm/0000:03:00.0/vram 311377920
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Here, we can check that total system usage is above 311 MB.&lt;/p&gt;

&lt;h3&gt;dmem.max&lt;/h3&gt;

&lt;p&gt;Excluding the root cgroup, dmem cgroups can control the maximal number of bytes that can be allocated from a region by processes in that cgroup. If an allocation moves the usage above the max setting, it will be refused. In that case, the allocation might be attempted at system memory or it might trigger eviction, depending on the allocation parameters and the driver.&lt;/p&gt;

&lt;p&gt;Here, the &lt;code&gt;max&lt;/code&gt; value has special meaning, which is unrestricted usage.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# echo drm/0000:03:00.0/vram 536870912 &amp;gt; /sys/fs/cgroup/user.slice/dmem.max
# cat /sys/fs/cgroup/user.slice/dmem.max
drm/0000:03:00.0/vram 536870912
# echo drm/0000:03:00.0/vram max &amp;gt; /sys/fs/cgroup/user.slice/dmem.max
# cat /sys/fs/cgroup/user.slice/dmem.max
drm/0000:03:00.0/vram max
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;dmem.min&lt;/h3&gt;

&lt;p&gt;dmem.min, also not available on the root cgroup, will control the eviction process - when memory needs to be moved out of VRAM to make room for other VRAM allocations. If an object belongs to a cgroup which is using less than its min setting, it will not be considered for eviction. It effectively works as a hard protection such that the cgroup can use at least the minimal setting.&lt;/p&gt;

&lt;p&gt;Given multiple cgroups may set a minimal value that exceeds the device memory capacity, it computes an effective minimal depending on the hierarchy.&lt;/p&gt;

&lt;h3&gt;dmem.low&lt;/h3&gt;

&lt;p&gt;While dmem.min works as a hard limit, dmem.low is a soft limit that will prevent eviction in case other objects from different cgroups are available for eviction. That is, the system will try to evict from different, possibly unprotected cgroups, before it tries to evict from a cgroup if evicting would leave its usage below the value set as dmem.low.&lt;/p&gt;

&lt;h2&gt;Recent developments in Linux 7.3&lt;/h2&gt;

&lt;p&gt;Some new changes have been recently introduced in the dmem cgroup controller and its integration with GPUs.&lt;/p&gt;

&lt;p&gt;One of those is a new read-only file, &lt;code&gt;dmem.peak&lt;/code&gt;, which was introduced to allow the peak usage of a region in a cgroup to be inspected.&lt;/p&gt;

&lt;p&gt;Also, Linux 7.3 fixed certain scenarios where a given cgroup would not be able to allocate VRAM up to its minimal or low limits if other processes had already allocated most of VRAM, even though they had no such limits set.&lt;/p&gt;

&lt;p&gt;Changing multiple regions&#39; settings in a single write was possible before 7.3, but it was prone to failures which would not be reported to userspace and might have left the values partially updated. Starting with 7.3, only one region may be updated per write.&lt;/p&gt;

&lt;p&gt;And, finally, prior to 7.3, setting &lt;code&gt;dmem.max&lt;/code&gt; in a cgroup that was using more than the new setting would silently fail. Now, there is a mechanism that allows a reclaim mechanism to be triggered. That way, when a process writes to &lt;code&gt;dmem.max&lt;/code&gt; and sets a maximal value below the current usage, it will wait (unless &lt;code&gt;O_NONBLOCK&lt;/code&gt; is used) for the reclaim process to move objects out of VRAM until the usage gets below the maximal value. If that is not possible for some reason, the setting will still be in place, restricting further alloctions by that cgroup.&lt;/p&gt; </description> 
	<pubDate>Tue, 20 Oct 2026 17:19:57 +0000</pubDate>

</item> 
<item>
	<title>Steinar H. Gunderson: Decompilation patterns, part 16: Tail reduplication</title>
	<guid>http://blog.sesse.net/blog/tech/2026-10-19-21-53_decompilation_patterns_part_16_tail_reduplication.html</guid>
	<link>http://blog.sesse.net/blog/tech/2026-10-19-21-53_decompilation_patterns_part_16_tail_reduplication.html</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/sesse.png&quot; width=&quot;74&quot; height=&quot;85&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;We&#39;re nearing the end soon, I promise. Here&#39;s one that I see all the time:&lt;/p&gt;

&lt;pre&gt;     ...
         } else {
             var_t0_5 = temp_a0_3 - 0x140;
             var_a2_5 = 0xA0 - temp_a3_5;
             goto block_45;
         }
     } else {
         var_t0_5 = 0xA0 - temp_a0_3;
         var_a2_5 = temp_a3_5 - 0x118;
block_45:               
         var_v0_3 = var_t0_5 + 0xA0;
         var_v1_4 = var_a2_5 + 0x78;
     }
&lt;/pre&gt;

&lt;p&gt;So, eh, what&#39;s that goto doing there? What happened was that the compiler
helpfully figured it could help with some tail deduplication; someone
wrote the same code twice, and the compiler figured taking the cost
of a branch was better than keeping it duplicated. (In a sense, it&#39;s
the opposite of inlining. Ish.) In most cases, it&#39;s as simple as
copying the block and then you can remove the label:&lt;/p&gt;

&lt;pre&gt;     ...
         } else {
             var_t0_5 = temp_a0_3 - 0x140;
             var_a2_5 = 0xA0 - temp_a3_5;
             var_v0_3 = var_t0_5 + 0xA0;
             var_v1_4 = var_a2_5 + 0x78;
         }
     } else {
         var_t0_5 = 0xA0 - temp_a0_3;
         var_a2_5 = temp_a3_5 - 0x118;
         var_v0_3 = var_t0_5 + 0xA0;
         var_v1_4 = var_a2_5 + 0x78;
     }
&lt;/pre&gt;

&lt;p&gt;Sometimes, these are nested, with multiple tails goto-ing into each other,
so in that case, you&#39;ll need to reduplicate multiple times.
Make sure you actually come out on the correct side afterwards,
though.&lt;/p&gt;

&lt;p&gt;As an extra complication, the code is deduplicated not on the C statement level, but on
RTL instructions, so if you&#39;re calling functions with five parameters
of more (which requires pushing parameters onto the stack), m2c can
get really confused and start throwing &lt;code&gt;M2C_ERROR()&lt;/code&gt; at you on the
receiving side because it&#39;s not clear at all where the parameters
would be coming from.&lt;/p&gt; </description> 
	<pubDate>Mon, 19 Oct 2026 20:53:00 +0000</pubDate>

</item> 
<item>
	<title>Dirk Eddelbuettel: myman 0.12.0 on CRAN: Two new waves!</title>
	<guid>http://dirk.eddelbuettel.com/blog/2026/10/18#myman_0.12.0</guid>
	<link>http://dirk.eddelbuettel.com/blog/2026/10/18#myman_0.12.0</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/dirk.png&quot; width=&quot;65&quot; height=&quot;90&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;Another new and exciting version of our still-new package &lt;a href=&quot;https://github.com/eddelbuettel/myman&quot;&gt;myman&lt;/a&gt; reached &lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt; this morning, and has been
built for &lt;a href=&quot;https://eddelbuettel.github.io/r2u/&quot;&gt;r2u&lt;/a&gt; and on
&lt;a href=&quot;https://eddelbuettel.r-universe.dev/myman&quot;&gt;r-universe&lt;/a&gt;. The
matching &lt;a href=&quot;https://pypi.org/project/myman/&quot;&gt;Python package&lt;/a&gt;
has also been updated. The package offers twenty one hundred eighty four
&lt;em&gt;“My man …”&lt;/em&gt; posts by &lt;a href=&quot;https://bsky.app/profile/kevinmkruse.bsky.social&quot;&gt;Kevin Kruse&lt;/a&gt;
made on &lt;a href=&quot;https://bsky.app&quot;&gt;bsky&lt;/a&gt; during the summer of 2026.
Each wave picked at one particular public persona. This package wrapse
these up in the style of packages like &lt;a href=&quot;https://zeileis.codeberg.page/fortunes/&quot;&gt;fortunes&lt;/a&gt; or &lt;a href=&quot;https://github.com/eddelbuettel/gaussfacts&quot;&gt;gaussfacts&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This release regroups two new waves of posts mocking, respectively,
Peter Thiel and Michael Tracy, and make a small update to continuous
integration. The short NEWS entry for this release follows.&lt;/p&gt;
&lt;blockquote&gt;
&lt;h4 id=&quot;changes-in-version-0.12.0-2026-10-18&quot;&gt;Changes in version 0.12.0
(2026-10-18)&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;New waves eleven (100 posts) and twelve (100 posts) made last
week; total is now 2184 posts&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Small update to continuous integration&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;Courtesy of my &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/&quot;&gt;CRANberries&lt;/a&gt;, there
is also a diffstat report for the &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/2026/10/18#myman_0.12.0&quot;&gt;most
recent release&lt;/a&gt;. More information is available at the &lt;a href=&quot;https://github.com/eddelbuettel/myman&quot;&gt;repository&lt;/a&gt; or the &lt;a href=&quot;https://dirk.eddelbuettel.com/code/myman.html&quot;&gt;package
page&lt;/a&gt;.&lt;/p&gt;
&lt;p style=&quot;font-size: 80%; font-style: italic;&quot;&gt;
This post by &lt;a href=&quot;https://dirk.eddelbuettel.com&quot;&gt;Dirk
Eddelbuettel&lt;/a&gt; originated on his &lt;a href=&quot;https://dirk.eddelbuettel.com/blog/&quot;&gt;Thinking inside the box&lt;/a&gt;
blog. If you like this or other open-source work I do, you can &lt;a href=&quot;https://github.com/sponsors/eddelbuettel&quot;&gt;sponsor me at
GitHub&lt;/a&gt;.
&lt;/p&gt;&lt;p&gt;&lt;/p&gt; </description> 
	<pubDate>Sun, 18 Oct 2026 20:00:00 +0000</pubDate>

</item> 
<item>
	<title>Ludovic Rousseau: New version of pcsc-lite: 2.5.3</title>
	<guid>https://blog.apdu.fr/posts/2026/10/new-version-of-pcsc-lite-253/</guid>
	<link>https://blog.apdu.fr/posts/2026/10/new-version-of-pcsc-lite-253/</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/rousseau.png&quot; width=&quot;65&quot; height=&quot;95&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;I have just released a new version of &lt;a class=&quot;reference external&quot; href=&quot;https://pcsclite.apdu.fr/files/&quot;&gt;pcsc-lite 2.5.3&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;reference external&quot; href=&quot;https://pcsclite.apdu.fr/&quot;&gt;pcsc-lite&lt;/a&gt; is a Free Software
implementation of the &lt;a class=&quot;reference external&quot; href=&quot;https://www.wikipedia.org/wiki/PC/SC&quot;&gt;PC/SC&lt;/a&gt;
(also known as WinSCard) API for Unix systems. It provides an API for
using &lt;a class=&quot;reference external&quot; href=&quot;https://www.wikipedia.org/wiki/Smart_card&quot;&gt;smart cards&lt;/a&gt; and
smart card readers.&lt;/p&gt;
&lt;section id=&quot;changes&quot;&gt;
&lt;h2&gt;Changes:&lt;/h2&gt;
&lt;dl class=&quot;simple&quot;&gt;
&lt;dt&gt;2.5.3: Ludovic Rousseau&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;18 October 2026&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;p&gt;&lt;code class=&quot;docutils literal&quot;&gt;pcscd.service&lt;/code&gt;: preserve card sessions across polkit restarts&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;correctly decode all ATRs (fix the fix suggested by AI)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fix authorization for uid &amp;gt; 65536&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt; </description> 
	<pubDate>Sun, 18 Oct 2026 14:27:08 +0000</pubDate>

</item> 
<item>
	<title>Steinar H. Gunderson: Decompilation patterns, part 15: Redundant if-for</title>
	<guid>http://blog.sesse.net/blog/tech/2026-10-18-10-47_decompilation_patterns_part_15_redundant_if_for.html</guid>
	<link>http://blog.sesse.net/blog/tech/2026-10-18-10-47_decompilation_patterns_part_15_redundant_if_for.html</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/sesse.png&quot; width=&quot;74&quot; height=&quot;85&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;Yet another way of writing for loops:&lt;/p&gt;

&lt;pre&gt;    var_a2_4 = ...
    if (var_a2_4 &amp;lt; 0x78) {
        ...
        do {
            ...
            var_a2_4 += 1;
        } while (var_a2_4 &amp;lt; 0x78);
    }
&lt;/pre&gt;

&lt;p&gt;This extra if is merely there because the compiler wasn&#39;t able to prove
that the variable didn&#39;t start below the bound, so it can&#39;t rewrite
the while-do to a do-while without that extra check. So the rewrite
still reads:&lt;/p&gt;

&lt;pre&gt;for (var_a2_4 = ...; var_a2_4 &amp;lt; 0x78; ++var_a2_4) {
    ...
}
&lt;/pre&gt;

&lt;p&gt;possibly with the initializer skipped, if it comes from something
complex earlier.&lt;/p&gt; </description> 
	<pubDate>Sun, 18 Oct 2026 09:47:00 +0000</pubDate>

</item> 
<item>
	<title>Dirk Eddelbuettel: RcppArmadillo 15.6.2-1 on CRAN: New Upstream</title>
	<guid>http://dirk.eddelbuettel.com/blog/2026/10/17#rcpparmadillo_15.6.2-1</guid>
	<link>http://dirk.eddelbuettel.com/blog/2026/10/17#rcpparmadillo_15.6.2-1</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/dirk.png&quot; width=&quot;65&quot; height=&quot;90&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;&lt;img alt=&quot;armadillo image&quot; src=&quot;https://dirk.eddelbuettel.com/images/armadillo_logo_two.png&quot; style=&quot;float: left; margin: 10px 10px 10px 0;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://arma.sourceforge.net/&quot;&gt;Armadillo&lt;/a&gt; is a powerful
and expressive C++ template library for linear algebra and scientific
computing. It aims towards a good balance between speed and ease of use,
has a syntax deliberately close to Matlab, and is useful for algorithm
development directly in C++, or quick conversion of research code into
production environments. &lt;a href=&quot;https://dirk.eddelbuettel.com/code/rcpp.armadillo.html&quot;&gt;RcppArmadillo&lt;/a&gt;
integrates this library with the &lt;a href=&quot;https://www.r-project.org&quot;&gt;R&lt;/a&gt; environment and language–and is
widely used by (currently) 1370 other packages on &lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt;, downloaded 49.4 million
times (per the partial logs from the cloud mirrors of CRAN), and the &lt;a href=&quot;https://doi.org/10.1016/j.csda.2013.02.005&quot;&gt;CSDA paper&lt;/a&gt; (&lt;a href=&quot;https://cran.r-project.org/package=RcppArmadillo/vignettes/RcppArmadillo-intro.pdf&quot;&gt;preprint
/ vignette&lt;/a&gt;) by Conrad and myself has been cited 735 times according
to Google Scholar.&lt;/p&gt;
&lt;p&gt;This versions updates to the 15.6.2 upstream &lt;a href=&quot;https://arma.sourceforge.net/&quot;&gt;Armadillo&lt;/a&gt; release made
yesterday. It, along with 15.6.1 release we incorporated earlier,
addresses only minor issues and should not present any user-facing
changes. As usual, we did run full reverse-depdency checks against the
over 1300 ackages, and did not find anything. As usual, we aim to
accommodate the desired &lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt;
cadences for uploads and try not to exceed six in six months—so we did
not ship 15.6.1-1 there. The package has also already been updated for
&lt;a href=&quot;https://www.debian.org&quot;&gt;Debian&lt;/a&gt;, built for &lt;a href=&quot;https://eddelbuettel.github.io/r2u/&quot;&gt;r2u&lt;/a&gt; and &lt;a href=&quot;https://rcppcore.r-universe.dev/RcppArmadillo&quot;&gt;r-universe&lt;/a&gt;, and
will build shortly at &lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt; for
the different binary releases.&lt;/p&gt;
&lt;p&gt;All changes since the last CRAN release follow.&lt;/p&gt;
&lt;blockquote&gt;
&lt;h4 id=&quot;changes-in-rcpparmadillo-version-15.6.2-1-2026-10-16&quot;&gt;Changes in
RcppArmadillo version 15.6.2-1 (2026-10-16)&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Upgraded to Armadillo release 15.6.2 (Medium Roast Cortado)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Faster inplace addition of &lt;code&gt;eye()&lt;/code&gt; expressions&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&quot;changes-in-rcpparmadillo-version-15.6.1-1-github-only-2026-10-02&quot;&gt;Changes
in RcppArmadillo version 15.6.1-1 [github-only] (2026-10-02)&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Upgraded to Armadillo release 15.6.1 (Medium Roast Cortado)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Fix for failures in &lt;code&gt;pinv()&lt;/code&gt; when using the (non-default)
&quot;std&quot; method&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;Courtesy of my &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/&quot;&gt;CRANberries&lt;/a&gt;, there
is a &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/2026/10/17#RcppArmadillo_15.6.2-1&quot;&gt;diffstat
report&lt;/a&gt; relative to previous release. More detailed information is on
the &lt;a href=&quot;https://dirk.eddelbuettel.com/code/rcpp.armadillo.html&quot;&gt;RcppArmadillo
page&lt;/a&gt;. Questions, comments etc should go to the &lt;a href=&quot;https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel&quot;&gt;rcpp-devel
mailing list&lt;/a&gt; off the &lt;a href=&quot;https://r-forge.r-project.org/projects/rcpp/&quot;&gt;Rcpp R-Forge&lt;/a&gt;
page.&lt;/p&gt;
&lt;p style=&quot;font-size: 80%; font-style: italic;&quot;&gt;
This post by &lt;a href=&quot;https://dirk.eddelbuettel.com&quot;&gt;Dirk
Eddelbuettel&lt;/a&gt; originated on his &lt;a href=&quot;https://dirk.eddelbuettel.com/blog/&quot;&gt;Thinking inside the box&lt;/a&gt;
blog. If you like this or other open-source work I do, you can &lt;a href=&quot;https://github.com/sponsors/eddelbuettel&quot;&gt;sponsor me at
GitHub&lt;/a&gt;.
&lt;/p&gt;&lt;p&gt;&lt;/p&gt; </description> 
	<pubDate>Sat, 17 Oct 2026 21:41:00 +0000</pubDate>

</item> 
<item>
	<title>Steinar H. Gunderson: Decompilation patterns, part 14: Strength increase</title>
	<guid>http://blog.sesse.net/blog/tech/2026-10-17-21-29_decompilation_patterns_part_14_strength_increase.html</guid>
	<link>http://blog.sesse.net/blog/tech/2026-10-17-21-29_decompilation_patterns_part_14_strength_increase.html</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/sesse.png&quot; width=&quot;74&quot; height=&quot;85&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;Let&#39;s look at the entire loop from yesterday:&lt;/p&gt;

&lt;pre&gt;    u16 spE10;
    u16 *var_v0_2;

    ...

    var_t1_2 = 0x7F;
    var_v0_2 = &amp;amp;spE10 + 0xFE;
    do {
        *var_v0_2 = 0;
        var_t1_2 -= 1;
        var_v0_2 -= 2;
    } while (var_t1_2 &amp;gt;= 0);
&lt;/pre&gt;

&lt;p&gt;What&#39;s going with the pointer arithmetic here? Why is it indexing
out-of-bounds?&lt;/p&gt;

&lt;p&gt;The first thing to notice is that m2c doesn&#39;t really take into account
that arithmetic on pointers in C is multiplied by the size of the element.
And obviously, spE10 is the root of some array. So corrected, this reads:&lt;/p&gt;

&lt;pre&gt;    u16 spE10[0x80];  // Modified.
    u16 *var_v0_2;

    ...

    var_t1_2 = 0x7F;
    var_v0_2 = spE10 + 0x7F;  // Modified.
    do {
        *var_v0_2 = 0;
        var_t1_2 -= 1;
        var_v0_2 -= 1;  // Modified.
    } while (var_t1_2 &amp;gt;= 0);
&lt;/pre&gt;

&lt;p&gt;We saw yesterday how we should rewrite the iteration back to a for loop,
but also, most likely, the pointer arithmetic here came from &lt;em&gt;strength
reduction&lt;/em&gt;; the compiler took a multiplication operation and rewrote it
to a “weaker” operation (subtraction) since that&#39;s typically cheaper,
at the cost of making the values dependent, an easy trade. So we can
rewrite it back into multiplication:&lt;/p&gt;

&lt;pre&gt;    var_t1_2 = 0x7F;
    do {
        var_v0_2 = spE10 + var_t1_2;
        *var_v0_2 = 0;
        var_t1_2 -= 1;
    } while (var_t1_2 &amp;gt;= 0);
&lt;/pre&gt;

&lt;p&gt;and now it&#39;s easy to see that the loop should read:&lt;/p&gt;

&lt;pre&gt;    for (i = 0; i &amp;lt; 0x80; ++i) {
        spE10[i] = 0;
    }
&lt;/pre&gt;

&lt;p&gt;and then, of course, the array should get a better name.&lt;/p&gt;

&lt;p&gt;Sometimes the loop counter will go backwards while the pointer will go
forwards, which is also completely normal, especially if there&#39;s side
effects. The compiler will reverse one but not the other.&lt;/p&gt; </description> 
	<pubDate>Sat, 17 Oct 2026 20:29:00 +0000</pubDate>

</item> 
<item>
	<title>Dirk Eddelbuettel: RcppSimdJson 0.1.17 on CRAN: Updates</title>
	<guid>http://dirk.eddelbuettel.com/blog/2026/10/16#rcppsimdjson_0.1.17</guid>
	<link>http://dirk.eddelbuettel.com/blog/2026/10/16#rcppsimdjson_0.1.17</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/dirk.png&quot; width=&quot;65&quot; height=&quot;90&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;A brand new release 0.1.17 of the &lt;a href=&quot;https://dirk.eddelbuettel.com/code/rcpp.simdjson.html&quot;&gt;RcppSimdJson&lt;/a&gt;
package is now on &lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt;, and has
been built for &lt;a href=&quot;https://eddelbuettel.github.io/r2u/&quot;&gt;r2u&lt;/a&gt; and
on &lt;a href=&quot;https://eddelbuettel.r-universe.dev/RcppSimdJson&quot;&gt;r-universe&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://dirk.eddelbuettel.com/code/rcpp.simdjson.html&quot;&gt;RcppSimdJson&lt;/a&gt;
wraps the fantastic and genuinely impressive &lt;a href=&quot;https://github.com/simdjson/simdjson&quot;&gt;simdjson&lt;/a&gt; library by &lt;a href=&quot;https://lemire.me/en/&quot;&gt;Daniel Lemire&lt;/a&gt; and collaborators. Via
very clever algorithmic engineering to obtain largely branch-free code,
coupled with modern C++ and newer compiler instructions, it results in
parsing &lt;em&gt;gigabytes of JSON parsed per second&lt;/em&gt; which is quite
mindboggling. The best-case performance is ‘faster than CPU speed’ as
use of parallel SIMD instructions and careful branch avoidance can lead
to less than one cpu cycle per byte parsed; see the video of the &lt;a href=&quot;http://www.youtube.com/watch?v=wlvKAT7SZIQ&quot;&gt;talk by Daniel Lemire
at QCon&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This release is a small increment relative to the &lt;a href=&quot;https://dirk.eddelbuettel.com/blog/2026/10/09#rcppsimdjson_0.1.16&quot;&gt;0.1.6
release last week&lt;/a&gt; that got us (upstream) version 5.0.2 with many
notable changes and sizeable speed gains on all fronts, including the
interface from R. However, this failed to compile at &lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt; on macOS x86_64 as the
machine is setup for only partial support of C++20: no ranges, no
concepts. So we now test, and fall back to C++17 if the test compilation
fails. Upstream, meanwhile, already got to 5.0.5 which is included. It
also gets us improved handling of disabling pragmas which we hope will
survive &lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt; checks.&lt;/p&gt;
&lt;p&gt;The brief NEWS entry for this release follows.&lt;/p&gt;
&lt;blockquote&gt;
&lt;h4 id=&quot;changes-in-version-0.1.17-unreleased-2026-10-xx&quot;&gt;Changes in
version 0.1.17 [unreleased] (2026-10-xx)&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Compilation starts with a C++20 feature test; if this fails C++17
is used (Dirk in &lt;a href=&quot;https://github.com/eddelbuettel/rcppsimdjson/pull/111&quot;&gt;#111&lt;/a&gt;
fixing &lt;a href=&quot;https://github.com/eddelbuettel/rcppsimdjson/issues/110&quot;&gt;#110&lt;/a&gt;)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;span class=&quot;pkg&quot;&gt;simdjson&lt;/span&gt; was upgraded to version 5.0.5
(Daniel in &lt;a href=&quot;https://github.com/eddelbuettel/rcppsimdjson/pull/112&quot;&gt;#112&lt;/a&gt;)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;Courtesy of my &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/&quot;&gt;CRANberries&lt;/a&gt;, there
is also a diffstat report for &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/2026/10/16#RcppSimdJson_0.1.17&quot;&gt;this
release&lt;/a&gt;. For questions, suggestions, or issues please use the &lt;a href=&quot;https://github.com/eddelbuettel/rcppsimdjson/issues&quot;&gt;issue
tracker&lt;/a&gt; at the &lt;a href=&quot;https://github.com/eddelbuettel/rcppsimdjson&quot;&gt;GitHub repo&lt;/a&gt;.&lt;/p&gt;
&lt;p style=&quot;font-size: 80%; font-style: italic;&quot;&gt;
This post by &lt;a href=&quot;https://dirk.eddelbuettel.com&quot;&gt;Dirk
Eddelbuettel&lt;/a&gt; originated on his &lt;a href=&quot;https://dirk.eddelbuettel.com/blog/&quot;&gt;Thinking inside the box&lt;/a&gt;
blog. If you like this or other open-source work I do, you can now &lt;a href=&quot;https://github.com/sponsors/eddelbuettel&quot;&gt;sponsor me at
GitHub&lt;/a&gt;.
&lt;/p&gt;&lt;p&gt;&lt;/p&gt; </description> 
	<pubDate>Fri, 16 Oct 2026 19:56:00 +0000</pubDate>

</item> 
<item>
	<title>Freexian Collaborators: Monthly report about Debian Long Term Support, September 2026 (by Santiago Ruano Rincón)</title>
	<guid>https://www.freexian.com/blog/debian-lts-report-2026-09/</guid>
	<link>https://www.freexian.com/blog/debian-lts-report-2026-09/</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/freexian.png&quot; width=&quot;215&quot; height=&quot;101&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;img src=&quot;https://www.freexian.com/images/debian-lts-logo.png&quot; style=&quot;float: right;&quot; /&gt;
&lt;p&gt;The Debian LTS Team, funded by &lt;a href=&quot;https://www.freexian.com/lts/debian/&quot;&gt;Freexian’s Debian LTS offering&lt;/a&gt;,
is pleased to report its activities for September.&lt;/p&gt;
&lt;h3 id=&quot;activity-summary&quot;&gt;Activity summary&lt;/h3&gt;
&lt;p&gt;During the month of September, 20 contributors have been
paid to work on &lt;a href=&quot;https://wiki.debian.org/LTS&quot;&gt;Debian LTS&lt;/a&gt; (links to individual
contributor reports are located below).&lt;/p&gt;
&lt;p&gt;The team released &lt;a href=&quot;https://lists.debian.org/debian-lts-announce/2026/09/threads.html&quot;&gt;41 DLAs&lt;/a&gt; fixing 1854 CVEs.&lt;/p&gt;
&lt;p&gt;In September, the Debian LTS Team was back to focusing on a single release:
Debian 12 (“bookworm”). Debian 11 (“bullseye”) reached the end of its Long Term
Support on 31 August 2026, and Freexian now provides its security maintenance
under the &lt;a href=&quot;https://www.freexian.com/lts/extended/&quot;&gt;Extended LTS&lt;/a&gt; offer.&lt;/p&gt;
&lt;p&gt;It is important to highlight the hard work done behind the scenes of the Front
Desk fellows, whose role was fulfilled during September by Emilio, Emmanuel,
Sylvain, Thorsten and Utkarsh.&lt;/p&gt;
&lt;p&gt;Besides the very high activity doing daily triage on dozens of packages and
CVEs, Front Desk fellows spent much of their time answering questions and
coordinating with people outside the Freexian team about update proposals.&lt;/p&gt;
&lt;p&gt;The team published several notable updates:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;jbig2dec
(&lt;a href=&quot;https://security-tracker.debian.org/tracker/DLA-4779-1&quot;&gt;DLA-4779-1&lt;/a&gt;),
prepared by Andreas Henriksson, fixes CVE-2026-38076, where missing input
checks could lead to a denial of service. It is to note that this library is
used by different tools, such as ghostscript.&lt;/li&gt;
&lt;li&gt;linux-6.12 (&lt;a href=&quot;https://security-tracker.debian.org/tracker/DLA-4788-1&quot;&gt;DLA-4788-1&lt;/a&gt;),
uploaded by Ben Hutchings, fixing 414 CVEs in the bookworm backport of Linux
kernel version 6.12.&lt;/li&gt;
&lt;li&gt;lxml (&lt;a href=&quot;https://security-tracker.debian.org/tracker/DLA-4799-1&quot;&gt;DLA-4799-1&lt;/a&gt;),
prepared by Guilhem Moulin, fixes four vulnerabilities in this widely used
python XML/HTML library. The issues may yield to exposing local files.&lt;/li&gt;
&lt;li&gt;nginx (&lt;a href=&quot;https://security-tracker.debian.org/tracker/DLA-4784-1&quot;&gt;DLA-4784-1&lt;/a&gt;),
issued by Carlos Henrique Lima Melara (“charles”), fixing three memory-safety bugs in
this popular web server and reverse proxy, which may result in denial of
service, memory disclosure or potentially the execution of arbitrary code.&lt;/li&gt;
&lt;li&gt;openssl
(&lt;a href=&quot;https://security-tracker.debian.org/tracker/DLA-4795-1&quot;&gt;DLA-4795-1&lt;/a&gt;), by
Arnaud Rebillout, fixing six vulnerabilities, including an out-of-bounds heap
write in CMS decryption and an authentication tag verification bypass in
ChaCha20-Poly1305/AES-OCB decryption. This update brings bookworm to OpenSSL
3.0.22, the last upstream release of the 3.0 series, which was
reached its &lt;a href=&quot;https://openssl-library.org/roadmap/index.html&quot;&gt;upstream EOL&lt;/a&gt; on
7 Sep 2026. Further fixes will be backported by the Debian LTS Team from more
recent releases.&lt;/li&gt;
&lt;li&gt;redis &lt;a href=&quot;https://security-tracker.debian.org/tracker/DLA-4794-1&quot;&gt;DLA-4794-1&lt;/a&gt;,
by Chris Lamb, fixing vulnerabilities that could yield to arbitrary code
execution&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Contributions from other Debian fellows beyond the Freexian LTS Team:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Thomas Goirand, Keystone released by Emilio as
&lt;a href=&quot;https://security-tracker.debian.org/tracker/DLA-4767-1&quot;&gt;DLA-4767-1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Thomas also prepared glance and swift updates, whose respective
&lt;a href=&quot;https://security-tracker.debian.org/tracker/DLA-4800-1&quot;&gt;DLA-4800-1&lt;/a&gt; and
&lt;a href=&quot;https://security-tracker.debian.org/tracker/DLA-4801-1&quot;&gt;DLA-4801-1&lt;/a&gt;
were issued by Charles&lt;/li&gt;
&lt;li&gt;Matthew Vernon uploaded a pcre2 security update, and Emilio issued its
&lt;a href=&quot;https://security-tracker.debian.org/tracker/DLA-4772-1&quot;&gt;DLA-4772-1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Otto Kekäläinen uploaded a xz-utils update, released as
&lt;a href=&quot;https://security-tracker.debian.org/tracker/DLA-4783-1&quot;&gt;DLA-4783-1&lt;/a&gt; by
Sylvain&lt;/li&gt;
&lt;li&gt;Salvatore Bonaccorso published a linux (6.1) update released as
&lt;a href=&quot;https://security-tracker.debian.org/tracker/DLA-4777-1&quot;&gt;DLA-4777-1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Xavier Guimard prepared a lemonldap-ng, released as
&lt;a href=&quot;https://security-tracker.debian.org/tracker/DLA-4797-1&quot;&gt;DLA-4797-1&lt;/a&gt;.
Additionally, Sylvain sent
&lt;a href=&quot;https://security-tracker.debian.org/tracker/DLA-4734-1&quot;&gt;DLA-4734-1&lt;/a&gt; at the
beginning of the month for the upload made on August.&lt;/li&gt;
&lt;li&gt;Xavier also released
&lt;a href=&quot;https://security-tracker.debian.org/tracker/DLA-4766-1&quot;&gt;DLA-4766-1&lt;/a&gt; for
cyrus-imapd.&lt;/li&gt;
&lt;li&gt;Simon Quigley uploaded
&lt;a href=&quot;https://security-tracker.debian.org/tracker/DLA-4803-1&quot;&gt;DLA-4803-1&lt;/a&gt; to fix
multiple issues in ruby-oj.&lt;/li&gt;
&lt;li&gt;Finally, Ivo Marino proposed bookworm updates for
&lt;a href=&quot;https://lists.debian.org/debian-lts/2026/09/msg00045.html&quot;&gt;cjose, git-lfs&lt;/a&gt;,
&lt;a href=&quot;https://lists.debian.org/debian-lts/2026/09/msg00049.html&quot;&gt;caddy&lt;/a&gt;,
&lt;a href=&quot;https://lists.debian.org/debian-lts/2026/09/msg00058.html&quot;&gt;libgit2, libwebsockets&lt;/a&gt;,
&lt;a href=&quot;https://lists.debian.org/debian-lts/2026/09/msg00078.html&quot;&gt;libssh&lt;/a&gt; and
&lt;a href=&quot;https://lists.debian.org/debian-lts/2026/09/msg00090.html&quot;&gt;unbound&lt;/a&gt;.
Some of Ivo’s proposals are still pending for a review.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thank you so much to the developers above for these valuable contributions.&lt;/p&gt;
&lt;p&gt;The LTS Team has also contributed with updates to the latest Debian releases
for the following packages:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;ruby-jwt, prepared by Abhijith and released as
&lt;a href=&quot;https://security-tracker.debian.org/tracker/DSA-6547-1&quot;&gt;DSA-6547-1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;urwid, proposed for a point-release update by Abhijith
(&lt;a href=&quot;https://bugs.debian.org/1148950&quot;&gt;#1148950&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;puma, proposed for a point-release update by Abhijith
(&lt;a href=&quot;https://bugs.debian.org/1149582&quot;&gt;#1149582&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/news/1800324/accepted-tomcat10-10160-1-source-into-unstable/&quot;&gt;tomcat10&lt;/a&gt;,
and
&lt;a href=&quot;https://tracker.debian.org/news/1802148/accepted-tomcat9-90122-1-source-into-unstable/&quot;&gt;tomcat9&lt;/a&gt;
(which is actually backported to released suites) by Bastien&lt;/li&gt;
&lt;li&gt;nodejs, prepared by Bastien and released as
(&lt;a href=&quot;https://security-tracker.debian.org/tracker/DSA-6517-1&quot;&gt;DSA-6517-1&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you benefit from Debian, especially throughout its full 5-year lifecycle,
please consider becoming a sponsor of Debian LTS. You can find more information
here: &lt;a href=&quot;https://www.freexian.com/lts/debian/&quot;&gt;https://www.freexian.com/lts/debian/&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&quot;individual-debian-lts-contributor-reports&quot;&gt;Individual Debian LTS contributor reports&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://people.debian.org/~abhijith/reports/LTS_ELTS-September-2026.txt&quot;&gt;Abhijith PA&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-lts/2026/10/msg00000.html&quot;&gt;Andreas Henriksson&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://lists.debian.org/msgid-search/9f8e843e-1e9e-47ca-bf08-0f5f9cab788a@app.fastmail.com&quot;&gt;Andrej Shadura&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-lts/2026/10/msg00003.html&quot;&gt;Arnaud Rebillout&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-lts/2026/10/msg00027.html&quot;&gt;Bastien Roucariès&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.decadent.org.uk/ben/blog/2026/10/02/foss-activity-in-september-2026.html&quot;&gt;Ben Hutchings&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-lts/2026/10/msg00018.html&quot;&gt;Carlos Henrique Lima Melara&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://chris-lamb.co.uk/posts/free-software-activities-in-september-2026&quot;&gt;Chris Lamb&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-lts/2026/10/msg00010.html&quot;&gt;Daniel Leidert&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-lts/2026/10/msg00001.html&quot;&gt;Emmanuel Arias&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://people.debian.org/~pochu/lts/reports/2026-09.txt&quot;&gt;Emilio Pozuelo Monfort&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://lists.debian.org/msgid-search/?m=nd7%2BK7CwE1HwmAoP@debian.org&quot;&gt;Guilhem Moulin&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://lists.debian.org/msgid-search/ar6lxY0n888wlVBW@mpd&quot;&gt;Jochen Sprickerhof&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-lts/2026/10/msg00014.html&quot;&gt;Lee Garrett&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://people.debian.org/~kanashiro/debian/lts/reports/2026-09.txt&quot;&gt;Lucas Kanashiro&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://people.debian.org/~santiago/lts-elts-reports/report-2026-09.txt&quot;&gt;Santiago Ruano Rincón&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-lts/2026/10/msg00004.html&quot;&gt;Sylvain Beucler&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://blog.alteholz.eu/2026/10/my-debian-activities-in-september-2026/&quot;&gt;Thorsten Alteholz&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-lts/2026/10/msg00028.html&quot;&gt;Tobias Frost&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://utkarsh2102.org/posts/foss-in-sept-26/&quot;&gt;Utkarsh Gupta&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;thanks-to-our-sponsors&quot;&gt;Thanks to our sponsors&lt;/h3&gt;
&lt;p&gt;Sponsors that joined recently are in bold.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Platinum sponsors:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.global.toshiba/ww/top.html&quot;&gt;Toshiba Corporation&lt;/a&gt; (for 132 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://cip-project.org&quot;&gt;Civil Infrastructure Platform (CIP)&lt;/a&gt; (for 100 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vyos.io&quot;&gt;VyOS Inc&lt;/a&gt; (for 65 months)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Gold sponsors:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.roche.com/about/business/diagnostics.htm&quot;&gt;F. Hoffmann-La Roche AG&lt;/a&gt; (for 143 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.conet.de/&quot;&gt;CONET Deutschland GmbH&lt;/a&gt; (for 126 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.ox.ac.uk&quot;&gt;University of Oxford&lt;/a&gt; (for 83 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.edf.fr&quot;&gt;EDF SA&lt;/a&gt; (for 54 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.dataport.de&quot;&gt;Dataport AöR&lt;/a&gt; (for 29 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://home.cern/&quot;&gt;CERN&lt;/a&gt; (for 27 months)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Silver sponsors:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://domainnameshop.com/&quot;&gt;Domeneshop AS&lt;/a&gt; (for 147 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://metropole.nantes.fr/&quot;&gt;Nantes Métropole&lt;/a&gt; (for 141 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.akamai.com/&quot;&gt;Akamai - Linode&lt;/a&gt; (for 137 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.univention.de&quot;&gt;Univention GmbH&lt;/a&gt; (for 133 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://portail.univ-st-etienne.fr/&quot;&gt;Université Jean Monnet de St Etienne&lt;/a&gt; (for 133 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://ribboncommunications.com/&quot;&gt;Ribbon Communications Operating Company, Inc.&lt;/a&gt; (for 127 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.exonet.nl&quot;&gt;Exonet B.V.&lt;/a&gt; (for 117 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.lrz.de&quot;&gt;Leibniz Rechenzentrum&lt;/a&gt; (for 111 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.diplomatie.gouv.fr&quot;&gt;Ministère de l’Europe et des Affaires Étrangères&lt;/a&gt; (for 95 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://dinahosting.com&quot;&gt;Dinahosting SL&lt;/a&gt; (for 82 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://upsun.com&quot;&gt;Upsun Formerly Platform.sh&lt;/a&gt; (for 77 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.moxa.com&quot;&gt;Moxa Inc.&lt;/a&gt; (for 71 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://sipgate.de&quot;&gt;sipgate GmbH&lt;/a&gt; (for 68 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://ovhcloud.com&quot;&gt;OVH US LLC&lt;/a&gt; (for 66 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.tilburguniversity.edu/&quot;&gt;Tilburg University&lt;/a&gt; (for 66 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.gsi.de&quot;&gt;GSI Helmholtzzentrum für Schwerionenforschung GmbH&lt;/a&gt; (for 57 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.cesky-hosting.cz/&quot;&gt;THINline s.r.o.&lt;/a&gt; (for 30 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.cph.dk&quot;&gt;Copenhagen Airports A/S&lt;/a&gt; (for 24 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.isere.fr&quot;&gt;Conseil Départemental de l’Isère&lt;/a&gt; (for 10 months)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&quot;https://www.ceos-gmbh.de/en&quot;&gt;CEOS GmbH&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Bronze sponsors:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.seznam.cz&quot;&gt;Seznam.cz, a.s.&lt;/a&gt; (for 148 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.evolix.fr&quot;&gt;Evolix&lt;/a&gt; (for 147 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://linuxhotel.de&quot;&gt;Linuxhotel GmbH&lt;/a&gt; (for 145 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://intevation.de&quot;&gt;Intevation GmbH&lt;/a&gt; (for 144 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://waays.fr&quot;&gt;WAAYS&lt;/a&gt; (for 143 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.megaspace.de&quot;&gt;Megaspace Internet Services GmbH&lt;/a&gt; (for 142 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.greenbone.net&quot;&gt;Greenbone AG&lt;/a&gt; (for 141 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://numlog.fr&quot;&gt;NUMLOG&lt;/a&gt; (for 141 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.wingo.ch/&quot;&gt;WinGo AG&lt;/a&gt; (for 140 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.entrouvert.com/&quot;&gt;Entr’ouvert&lt;/a&gt; (for 132 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://adfinis.com&quot;&gt;Adfinis AG&lt;/a&gt; (for 129 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.plathome.com&quot;&gt;Plat’Home&lt;/a&gt; (for 126 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.tesorion.nl/&quot;&gt;Tesorion&lt;/a&gt; (for 124 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://bearstech.com&quot;&gt;Bearstech&lt;/a&gt; (for 116 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://lihas.de&quot;&gt;LiHAS&lt;/a&gt; (for 115 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://demarcq.net&quot;&gt;Demarcq SAS&lt;/a&gt; (for 104 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.univ-grenoble-alpes.fr&quot;&gt;Université Grenoble Alpes&lt;/a&gt; (for 90 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.touchweb.fr&quot;&gt;TouchWeb SAS&lt;/a&gt; (for 82 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.spin-ag.de&quot;&gt;SPiN AG&lt;/a&gt; (for 79 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.corefiling.com&quot;&gt;CoreFiling&lt;/a&gt; (for 75 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.osug.fr/&quot;&gt;Observatoire des Sciences de l’Univers de Grenoble&lt;/a&gt; (for 66 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.werfen.com&quot;&gt;Tem Innovations GmbH&lt;/a&gt; (for 61 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://wordfinder.pro&quot;&gt;WordFinder.pro&lt;/a&gt; (for 61 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.resif.fr&quot;&gt;CNRS DT INSU Résif&lt;/a&gt; (for 60 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.alterway.fr&quot;&gt;Alter Way&lt;/a&gt; (for 53 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.sobis.com/&quot;&gt;SOBIS Software GmbH&lt;/a&gt; (for 27 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.tuxera.com&quot;&gt;Tuxera Inc.&lt;/a&gt; (for 19 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://opm-op.com&quot;&gt;OPM-OP AS&lt;/a&gt; (for 10 months)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.lu-cix.lu&quot;&gt;LU-CIX Management G.I.E.&lt;/a&gt; (for 3 months)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt; </description> 
	<pubDate>Fri, 16 Oct 2026 00:00:00 +0000</pubDate>

</item> 
<item>
	<title>Reproducible Builds (diffoscope): diffoscope 334 released</title>
	<guid>https://diffoscope.org/news/diffoscope-334-released/</guid>
	<link>https://diffoscope.org/news/diffoscope-334-released/</link>
     <description>  &lt;p&gt;The diffoscope maintainers are pleased to announce the release of diffoscope
version &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;334&lt;/code&gt;. This version includes the following changes:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;[ Chris Lamb ]
* Fix a crash when using the latest versions of Androguard. Thanks, hc!
  (Closes: reproducible-builds/diffoscope#434)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You find out more by &lt;a href=&quot;https://diffoscope.org&quot;&gt;visiting the project homepage&lt;/a&gt;.&lt;/p&gt; </description> 
	<pubDate>Fri, 16 Oct 2026 00:00:00 +0000</pubDate>

</item> 
<item>
	<title>Matthew Garrett: Epic&#39;s EAC2 v2 seems fairly easily bypassable</title>
	<guid>https://codon.org.uk/~mjg59/blog/p/epics-eac2-v2-seems-fairly-easily-bypassable/</guid>
	<link>https://codon.org.uk/~mjg59/blog/p/epics-eac2-v2-seems-fairly-easily-bypassable/</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/mjg59.png&quot; width=&quot;69&quot; height=&quot;85&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;Epic just &lt;a class=&quot;link&quot; href=&quot;https://onlineservices.epicgames.com/news/introducing-easy-anti-cheat-linux-v2&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;announced&lt;/a&gt; the upcoming version 2 of their Linux implementation of Easy Anti-Cheat. It’s based on using the &lt;a class=&quot;link&quot; href=&quot;https://docs.kernel.org/bpf/prog_lsm.html&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Linux eBPF security module&lt;/a&gt; to monitor what’s happening, and then a bunch of extra infrastructure to make sure this can’t be bypassed. The core part of this is requiring secure boot be enabled (ensuring that modified kernels can’t be used), using measured boot to verify that secure boot is enabled and which keys are used (to prevent you from just signing your own modified kernel), and then doing remote attestation, a mechanism where the TPM generates a signed copy of the boot measurements and passes that off to a server which verifies it came from a real TPM, verifies that you have secure boot enabled and are using the right keys, and presumably then allows you into the game.&lt;/p&gt;
&lt;p&gt;This is all fine as long as you can prove that the measurements provided are real, and that’s actually a lot harder than you might think. First, we can simply make up our own quote signed with our own key and say that it came from a TPM. This is avoided by every TPM having an Endorsement Key (or EK) and an associated certificate, with that certificate being signed by the TPM vendor. If you have a list of all the legitimate TPM vendors and their CA keys, you can verify that the measurements came from a real TPM. Easy enough. So we need to get the measurements from a real TPM, and the one on our motherboard contains the measurements that were generated by the firmware and bootloader, and we can’t reset those at runtime without resetting the TPM, which… oh huh there’s actually nothing stopping us from doing that at runtime, as long as we have access to the hardware. Many desktop boards have the TPM on a small plugin module with a standard pinout that includes a reset pin. Simply short that to ground briefly and the TPM is back in its initial state, and userland can write whatever measurements it wants to it. Boot a modified kernel which lies to the eBPF code? As long as you replay the expected log values from a boot with secure boot on and a trusted kernel, the TPM will still happily provide a legitimate set of measurements that’ll satisfy the checker.&lt;/p&gt;
&lt;p&gt;What if the TPM is less accessible, either because it’s mounted directly to the motherboard or it’s inside the CPU or chipset? That’s going to be trickier. But here’s the thing. The quote needs to come from &lt;em&gt;a&lt;/em&gt; TPM, but not necessarily the TPM on your motherboard. TPMs these days are usually connected via the &lt;a class=&quot;link&quot; href=&quot;https://en.wikipedia.org/wiki/Serial_Peripheral_Interface&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Serial Peripheral Interface&lt;/a&gt;, usually referred to as SPI. Microchip make a &lt;a class=&quot;link&quot; href=&quot;https://www.microchip.com/en-us/product/mcp2210&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;USB to SPI bridge&lt;/a&gt;, and there’s a &lt;a class=&quot;link&quot; href=&quot;https://github.com/daniel-santos/mcp2210-linux&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Linux driver&lt;/a&gt;. Wire one of those up with an appropriate header and you can plug in an easily available TPM module intended for plugging into a motherboard, and now we tell the kernel to ignore the motherboard TPM and make /dev/tpmrm0 point at the USB one and program it with a set of trusted measurements and once again everything is going to look just fine (yes obviously the eBPF code can look for this, but we’re running a modified kernel so we can just lie to the eBPF code).&lt;/p&gt;
&lt;p&gt;Remote attestation on PCs just doesn’t work that well in environments where you can’t associate a specific TPM with a specific system, which is basically everywhere except enterprises. But maybe that doesn’t matter and cheaters wouldn’t be willing to spend the $20 or so it’d take to produce one of these things? That would seem somewhat surprising, but it’s not impossible. And obviously any server-side cheat detection that triggers could then block that specific TPM, meaning they’d need to go and get another TPM, and maybe that ends up being enough to discourage people from bothering. From a practical level, this may be sufficient. But at a technical level? It’s not great.&lt;/p&gt; </description> 
	<pubDate>Thu, 15 Oct 2026 20:23:59 +0000</pubDate>

</item> 
<item>
	<title>Reproducible Builds: Reproducible Builds in September 2026</title>
	<guid>https://reproducible-builds.org/reports/2026-09/</guid>
	<link>https://reproducible-builds.org/reports/2026-09/</link>
     <description>  &lt;p class=&quot;lead&quot;&gt;&lt;strong&gt;Welcome to the September 2026 report from the &lt;a href=&quot;https://reproducible-builds.org&quot;&gt;Reproducible Builds&lt;/a&gt; project!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://reproducible-builds.org/&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-09/reproducible-builds.png#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In our reports, we try to outline the most important things that we have been up to over the past month. As a quick recap about what problem our project intends to solve, whilst anyone may inspect the source code of free software for malicious flaws, almost all software is distributed to end users as pre-compiled binaries. The motivation behind the reproducible builds effort is to ensure no flaws have been introduced during this compilation process by promising identical results are always generated from a given source, thus allowing multiple third-parties to come to a consensus on whether a build was compromised or not.&lt;/p&gt;

&lt;p&gt;As ever, if you are interested in contributing to the project, please visit our &lt;a href=&quot;https://reproducible-builds.org/contribute/&quot;&gt;&lt;em&gt;Contribute&lt;/em&gt;&lt;/a&gt; page on our website.&lt;/p&gt;

&lt;p&gt;In this month’s report, we cover:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#reproducible-builds-summit-2026-held-in-gothenburg-sweden&quot;&gt;Reproducible Builds Summit 2026 held in Gothenburg, Sweden&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#dettrace-expanding-architecture-support-for-pgo--lisp-dumps&quot;&gt;&lt;em&gt;dettrace&lt;/em&gt; expanding architecture support for PGO &amp;amp; Lisp dumps&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#they-dont-care-about-this&quot;&gt;“&lt;em&gt;They don’t care about this!&lt;/em&gt;”&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#source_date_epoch-specification-updates&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SOURCE_DATE_EPOCH&lt;/code&gt; specification updates&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#reproducible-builds-at-seagl-2026&quot;&gt;Reproducible Builds at SeaGL 2026&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#new-code-of-conduct-coc-for-the-reproducible-builds-project&quot;&gt;New Code of Conduct (CoC)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#supporter-spotlight-jochen-sprickerhof&quot;&gt;Supporter Spotlight: Jochen Sprickerhof&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#mailing-list-news&quot;&gt;Mailing list news&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#tool-and-documentation-development&quot;&gt;Tool and documentation development&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#patches&quot;&gt;Patches&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;hr /&gt;

&lt;h3 id=&quot;reproducible-builds-summit-2026-held-in-gothenburg-sweden&quot;&gt;Reproducible Builds Summit 2026 held in Gothenburg, Sweden&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://reproducible-builds.org/events/gothenburg2026/&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-09/rb2026-gothenburg-grouppic-3.jpg#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The annual &lt;a href=&quot;https://reproducible-builds.org/events/gothenburg2026/&quot;&gt;Reproducible Builds summit took place from 22 to 24 September 2026 in Gothenburg, Sweden&lt;/a&gt;. The event brought together developers, distribution maintainers, security researchers and free software advocates from across the ecosystem to share updates on current initiatives, address outstanding toolchain bottlenecks and strengthen cross-project collaboration.&lt;/p&gt;

&lt;p&gt;Participants engaged in a series of working sessions and technical roundtables focused on expanding the practical scope of reproducibility. Discussions covered ongoing work within major Linux distributions, language-specific package ecosystems and the various parts of the binary verification infrastructure.&lt;/p&gt;

&lt;p&gt;Strategic planning formed a pillar of the gathering, with participants discussing long-term roadmap goals for supply-chain security, software integrity and related topics. Attendees explored new methods for automated verification, discussing how to lower the adoption barriers for maintainers and streamline the integration of deterministic build pipelines into established continuous integration (CI) systems. The event was then followed by two days of unmoderated hacking sessions. These hacking sessions provided space for technical progress, allowing attendees to draft specification updates, prototype new tool features and resolve standing reproducibility bugs in-person.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;dettrace-expanding-architecture-support-for-pgo--lisp-dumps&quot;&gt;Dettrace expanding architecture support for PGO &amp;amp; Lisp dumps&lt;/h3&gt;

&lt;p&gt;Bernhard M. Wiedemann announced major updates to &lt;a href=&quot;https://github.com/bmwiedemann/dettrace&quot;&gt;dettrace&lt;/a&gt;, porting the tool across most architectures supported by Debian and openSUSE. The release addresses key stability issues, passing test suites across these targets and making it ready for production build pipelines.&lt;/p&gt;

&lt;p&gt;These improvements enable deterministic builds when utilising &lt;a href=&quot;https://en.wikipedia.org/wiki/Profile-guided_optimization&quot;&gt;Profile-Guided Optimisations&lt;/a&gt; (PGO), removing the need to sacrifice runtime performance for reproducibility. Additionally, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dettrace&lt;/code&gt; can now be applied to (notoriously difficult-to-reproduce) Lisp and Scheme memory dumps, including environments such as CLISP, SBCL, Scheme 48, Racket and GNU Emacs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;they-dont-care-about-this&quot;&gt;&lt;em&gt;“They don’t care about this”&lt;/em&gt;&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://arxiv.org/abs/2609.11411&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-09/paper-2609.png#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Annika Wilde, Marco Gutfleisch, Felix Reichmann, Anirban Chakraborty, Yuval Yarom, M. Angela Sasse and Ghassan Karame published a paper this month entitled &lt;a href=&quot;https://arxiv.org/abs/2609.11411&quot;&gt;&lt;em&gt;“They don’t care about this”: A Systematic Study of Trusted Execution Environments Build Reproducibility in the Wild&lt;/em&gt;&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Trusted Execution Environments (TEEs) have become a cornerstone of modern cloud computing, providing strong confidentiality and integrity guarantees for both code and data. A critical component of this trust model is remote attestation, which enables external entities to verify the authenticity and integrity of code executing within a TEE through cryptographic measurements. However, the effectiveness of remote attestation fundamentally &lt;strong&gt;depends on the verifier’s ability to trace the reported measurement back to the original source code - a property that can only be guaranteed through reproducible builds&lt;/strong&gt;. [&lt;a href=&quot;https://arxiv.org/abs/2609.11411&quot;&gt;…&lt;/a&gt;]&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The &lt;a href=&quot;https://arxiv.org/pdf/2609.11411&quot;&gt;full PDF&lt;/a&gt; can be read online.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;source_date_epoch-specification-updates&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SOURCE_DATE_EPOCH&lt;/code&gt; specification updates&lt;/h3&gt;

&lt;p&gt;Bernhard M. Wiedemann &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-September/004165.html&quot;&gt;shared a number of proposals&lt;/a&gt; regarding updating the &lt;a href=&quot;https://reproducible-builds.org/specs/source-date-epoch/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SOURCE_DATE_EPOCH&lt;/code&gt; specification&lt;/a&gt; following discussions at a project summit. Seven distinct proposed changes have been &lt;a href=&quot;https://salsa.debian.org/reproducible-builds/specs/source-date-epoch-spec/-/merge_requests/&quot;&gt;submitted as merge requests on Salsa&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Bernhard’s proposed modifications are independent of one another, allowing for any combination to be merged depending on community feedback. Bernhard noted that one proposal may see the most debate, and could still benefit from further refinement before reaching consensus. Community members are invited to review and provide feedback on the individual merge requests by 1 December 2026. Input can be submitted via reactions or comments on Salsa, directly by email to Bernhard or the mailing list.&lt;/p&gt;

&lt;p&gt;The specification was first published in 2015 and updated in 2017.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;reproducible-builds-at-seagl-2026&quot;&gt;Reproducible Builds at &lt;a href=&quot;https://seagl.org/&quot;&gt;SeaGL&lt;/a&gt; 2026&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://seagl.org/&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-09/seagl.png#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Reproducible Builds will be present at &lt;a href=&quot;https://seagl.org/&quot;&gt;SeaGL&lt;/a&gt; in Seattle, WA, on October 23rd &amp;amp; 24th. Come chat with us in person!&lt;/p&gt;

&lt;p&gt;Founded in 2013, SeaGL is a free, grassroots technical summit dedicated to spreading awareness and knowledge about free source software, hardware and culture.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;new-code-of-conduct-coc-for-the-reproducible-builds-project&quot;&gt;New Code of Conduct (CoC) for the Reproducible Builds project&lt;/h3&gt;

&lt;p&gt;Mattia Rizzolo &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-September/004156.html&quot;&gt;announced the official launch&lt;/a&gt; of a &lt;a href=&quot;https://reproducible-builds.org/conduct/&quot;&gt;Code of Conduct&lt;/a&gt; for the Reproducible Builds project. This follows work and community discussions originally initiated in 2024, incorporating feedback gathered over email and during project summits, as well as with input from the &lt;a href=&quot;https://sfconservancy.org/&quot;&gt;Software Freedom Conservancy&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The new Code of Conduct establishes guidelines emphasising mutual respect among project contributors. It also defines a formalised process for submitting and handling complaints regarding community misconduct, ensuring transparent governance across project spaces. Along with the core policy document, an accompanying &lt;a href=&quot;https://reproducible-builds.org/conduct/faq/&quot;&gt;Code of Conduct FAQ&lt;/a&gt; has been published to outline the rationale behind adopting the guidelines.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;supporter-spotlight-jochen-sprickerhof&quot;&gt;Supporter Spotlight: Jochen Sprickerhof&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://reproducible-builds.org/news/2026/09/15/supporter-spotlight-jochen-sprickerhof/&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-09/jochen.jpg#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As a reminder, another &lt;a href=&quot;https://reproducible-builds.org/news/2026/09/15/supporter-spotlight-jochen-sprickerhof/&quot;&gt;supporter spotlight interview&lt;/a&gt; was published featuring long-time Debian and Reproducible Builds contributor Jochen Sprickerhof, highlighting his work on package verification and project infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;mailing-list-news&quot;&gt;Mailing list news&lt;/h3&gt;

&lt;p&gt;On &lt;a href=&quot;https://lists.reproducible-builds.org/listinfo/rb-general/&quot;&gt;our mailing list&lt;/a&gt; this month:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://jstarr.science/&quot;&gt;Jonathan Starr&lt;/a&gt; from the &lt;a href=&quot;https://iosp.science/&quot;&gt;Institute of Open Science Practices&lt;/a&gt; (IOSP) &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-September/004150.html&quot;&gt;posted with an announcement&lt;/a&gt; of its upcoming 2026 workshop series in Leiden in the Netherlands. This free-to-attend event aims to build a participant-owned data storage consortium, allowing community members to publish datasets, code and knowledge objects alongside algorithms designed to evaluate trust and value. The event features a dedicated &lt;a href=&quot;https://www.iosp.science/submit-community-session&quot;&gt;Community Track&lt;/a&gt; for talks and discussions, a tool showcase and an opening session on &lt;a href=&quot;https://www.iosp.science/resilient-data-signup&quot;&gt;resilient data storage&lt;/a&gt;.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Following up on IRC discussions regarding profile-guided optimization (PGO) on build servers, &lt;em&gt;kpcyrd&lt;/em&gt; created a &lt;a href=&quot;https://github.com/kpcyrd/pgo-hashmap-unreproducible&quot;&gt;demonstration repository&lt;/a&gt; showing how PGO profiling can introduce non-determinism into output binaries. The demo highlights how runtime randomness (specifically, the randomised keys used in HashMaps to prevent denial-of-service attacks) causes varying bucket collision rates during test runs. These structural variances alter execution weights on underlying code branches, prompting the compiler to generate differing final assembly output for builds that would otherwise be perfectly reproducible if PGO was disabled. Rather than abandoning PGO performance gains, &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-September/004153.html&quot;&gt;kpcyrd suggested treating generated profiling data as a documented build input&lt;/a&gt; or recorded environment artifact (similar to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.buildinfo&lt;/code&gt; files), rather than regenerating profiles dynamically on the fly during build execution.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;An autonomous AI agent (!), &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-September/004159.html&quot;&gt;posted&lt;/a&gt; a &lt;a href=&quot;https://f005.backblazeb2.com/file/kai-agi-competitive-brief-2026/reproducibility/libmilter-9023/witness.md&quot;&gt;controlled build result and reproducer&lt;/a&gt; demonstrating that pre-creating an &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;obj&lt;/code&gt; directory in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;libmilter&lt;/code&gt; source trees prevents kernel-release path leaks (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;obj.Linux.&amp;lt;release&amp;gt;.x86_64&lt;/code&gt;) into debugging symbols. &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-September/004160.html&quot;&gt;&lt;em&gt;kpcyrd&lt;/em&gt; followed up with a helpful reply&lt;/a&gt;.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-September/004171.html&quot;&gt;Alexander Sosedkin inquired on the mailing list&lt;/a&gt; about the preferred approach for &lt;a href=&quot;https://translationproject.org/&quot;&gt;sourcing pinned translation files&lt;/a&gt; to create reproducible &lt;a href=&quot;https://www.gnutls.org/&quot;&gt;GnuTLS&lt;/a&gt; release tarballs, asking whether external hosting should provide versioned downloads, or if projects ought to use Git submodules, dedicated side-repositories or some other mechanism.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;tool-and-documentation-development&quot;&gt;Tool and documentation development&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://diffoscope.org/&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-09/diffoscope.png#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://diffoscope.org&quot;&gt;&lt;strong&gt;diffoscope&lt;/strong&gt;&lt;/a&gt; is our in-depth and content-aware diff utility that can locate and diagnose reproducibility issues. This month, Chris Lamb made a number of changes, including preparing and uploading versions &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;330&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;331&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;332&lt;/code&gt; to Debian. In particular, Chris committed support for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;radare2&lt;/code&gt; versions greater than 5.9.0 [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/ba64aec7&quot;&gt;…&lt;/a&gt;] based on input from Guillaume Girol [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/b2c830f4&quot;&gt;…&lt;/a&gt;], and committed support for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.nar&lt;/code&gt; files via Guix. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/df30572e&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/8237da72&quot;&gt;…&lt;/a&gt;].&lt;/p&gt;

&lt;p&gt;Chris later modified &lt;em&gt;diffoscope&lt;/em&gt; to not &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Build-Depend&lt;/code&gt; on the Debian package of GNU Guix, as its status in the Debian bug tracking system would transitively render &lt;em&gt;diffoscope&lt;/em&gt; as being overly buggy for the next stable release [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/c126df62&quot;&gt;…&lt;/a&gt;]. Similarly, he adjusted the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Build-Depend&lt;/code&gt;s on the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apksigcopier&lt;/code&gt; package as it has been removed from Debian &lt;em&gt;testing&lt;/em&gt; [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/436bc40f&quot;&gt;…&lt;/a&gt;] and, finally, he updated a number of copyright years [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/45ae6845&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/b4f193dc&quot;&gt;…&lt;/a&gt;].&lt;/p&gt;

&lt;p&gt;Vagrant Cascadian &lt;a href=&quot;https://codeberg.org/guix/guix/commit/dc17b782dba1e12556d2260626fc62c33d6dc30b&quot;&gt;updated &lt;em&gt;diffoscope&lt;/em&gt; in GNU Guix to version &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;332&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reprotest&quot;&gt;&lt;strong&gt;reprotest&lt;/strong&gt;&lt;/a&gt; is our tool for building the same source code twice in different environments and then checking the binaries produced by each build for any differences. This month, &lt;em&gt;reprotest&lt;/em&gt; version &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;0.7.33&lt;/code&gt; was uploaded to Debian by Holger Levsen with the following changes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Sergei Tachenov fixed the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fileordering&lt;/code&gt; test on all filesystems, including the likes of &lt;a href=&quot;https://en.wikipedia.org/wiki/ZFS&quot;&gt;ZFS&lt;/a&gt;, which could return a different order across two builds due to build being done in a different directory [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reprotest/commit/8e4beb6&quot;&gt;…&lt;/a&gt;].&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Holger Levsen bumped the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Standards-Version&lt;/code&gt; to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;4.7.4&lt;/code&gt;, reflected that &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Priority: optional&lt;/code&gt; is the default now [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reprotest/commit/8053f66&quot;&gt;…&lt;/a&gt;], fixed the old &lt;a href=&quot;https://www.fsf.org/&quot;&gt;Free Software Foundation&lt;/a&gt; address [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reprotest/commit/0f77715&quot;&gt;…&lt;/a&gt;] and bumped the &lt;em&gt;debhelper&lt;/em&gt; ‘compat’ level to 14 after confirming there are only desired changes [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reprotest/commit/d263fdb&quot;&gt;…&lt;/a&gt;].&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Vagrant Cascadian &lt;a href=&quot;https://codeberg.org/guix/guix/commit/2d084d74f6649f3cb0bbb27f0b65e40b94c6765d&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;updated *reprotest* to version 0.7.33&lt;/code&gt;&lt;/a&gt; in GNU Guix.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/kpcyrd/rebuilderd&quot;&gt;&lt;strong&gt;rebuilderd&lt;/strong&gt;&lt;/a&gt;, our server designed monitor the official package repositories of Linux distributions and attempt to reproduce the observed results there; it powers, amongst other things, &lt;a href=&quot;https://reproduce.debian.net/&quot;&gt;&lt;em&gt;reproduce.debian.net&lt;/em&gt;&lt;/a&gt;. This month, Bernhard M. Wiedemann &lt;a href=&quot;https://github.com/kpcyrd/rebuilderd/pull/263&quot;&gt;submitted a pull request to rebuilderd&lt;/a&gt; that refactors RPM repository metadata handling. The change extracts &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rpm-md&lt;/code&gt; parsing out of the Fedora-specific scheduler module and into a shared one.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://reproducible-builds.org/&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-09/website.png#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Lastly, there were a number of improvements made to &lt;a href=&quot;https://reproducible-builds.org/&quot;&gt;&lt;strong&gt;our website&lt;/strong&gt;&lt;/a&gt; this month as well. For example:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Chris Lamb:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;Added a note re. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;TZ=UTC&lt;/code&gt; vs. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;TZ=UTC0&lt;/code&gt; to the &lt;a href=&quot;https://reproducible-builds.org/docs/timezones/&quot;&gt;&lt;em&gt;Timezones&lt;/em&gt;&lt;/a&gt; page. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/adf38b87&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/ae8f4da5&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/0ca7cc78&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
      &lt;li&gt;Make a bunch of cosmetic updates to &lt;a href=&quot;https://reproducible-builds.org/news/2026/09/15/supporter-spotlight-jochen-sprickerhof/&quot;&gt;Jochen’s supporter spotlight&lt;/a&gt;. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/534e5276&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Holger Levsen made a very large number of changes to the &lt;a href=&quot;https://reproducible-builds.org/events/gothenburg2026/&quot;&gt;Gothenburg summit page&lt;/a&gt;. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/5fefa023&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/7aba87f6&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/3598d1c9&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/4600ab6d&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/1529fc99&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/bf569952&quot;&gt;…&lt;/a&gt;]&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Jochen Sprickerhof wrote and published &lt;a href=&quot;https://reproducible-builds.org/news/2026/09/15/supporter-spotlight-jochen-sprickerhof/&quot;&gt;another supporter spotlight&lt;/a&gt;. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/af7a55b8&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/7e141852&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/3e3e7993&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/eacb7f79&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/5ca55013&quot;&gt;…&lt;/a&gt;]&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Mattia Rizzolo:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;
        &lt;p&gt;Made a number of changes to the &lt;a href=&quot;https://reproducible-builds.org/events/gothenburg2026/&quot;&gt;Gothenburg summit page&lt;/a&gt;. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/57c81cb9&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/ea564cf5&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/75146298&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/411d3e8e&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/ea3eca50&quot;&gt;…&lt;/a&gt;]&lt;/p&gt;
      &lt;/li&gt;
      &lt;li&gt;Add and publish the new &lt;a href=&quot;https://reproducible-builds.org/conduct/&quot;&gt;Code of Conduct&lt;/a&gt;. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/df0cb783&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/ca36d617&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/86434786&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
      &lt;li&gt;Update translation POs. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/e65814d4&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;em&gt;kpcyrd&lt;/em&gt; also made a number of changes to the &lt;a href=&quot;https://reproducible-builds.org/events/gothenburg2026/&quot;&gt;Gothenburg summit page&lt;/a&gt;. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/b02b2de5&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/77169f50&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/b819f72c&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/5c47ecc4&quot;&gt;…&lt;/a&gt;]&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;patches&quot;&gt;Patches&lt;/h3&gt;

&lt;p&gt;The Reproducible Builds project detects, dissects and attempts to fix as many currently-unreproducible packages as possible. We endeavour to send all of our patches upstream where applicable or possible. This month, we wrote a large number of such patches, including:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Bernhard M. Wiedemann:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1380315&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apache-arrow&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://github.com/wannesm/dtaidistance/pull/230&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dtaidistance&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://src.opensuse.org/gcc/gcc33/pulls/1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gcc 3.3&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://src.opensuse.org/gcc/gcc48/pulls/1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gcc 4.8&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://src.opensuse.org/gcc/gcc7/pulls/1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gcc 7&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1375983&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;golang-github-prometheus-prometheus&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1375891&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gromacs&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://github.com/michalmuskala/jason/pull/206&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;jason&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1379485&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lkl&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://github.com/ltfat/ltfat/pull/206&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ltfat&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://src.opensuse.org/chromium/memory-constraints/pulls/5&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;memory-constraints&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1380021&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;MozillaFirefox&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://github.com/openSUSE/obs-build/pull/1166&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;obs-build&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://github.com/openSUSE/obs-build/pull/1173&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;obs-build&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://github.com/erlang/otp/pull/11609&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;otp&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1375963&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pythia&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1379338&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-autobahn&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1376924&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-django-cacheops&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1375796&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-hdf5plugin&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1376580&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-mypy&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1375800&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-slycot&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://qt-project.atlassian.net/browse/QTBUG-150796&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;qt6-base&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1375466&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rpm&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1378324&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rust1.98&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1378149&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rusty_v8&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://gitlab.inria.fr/scotch/scotch/-/commit/f861be2c24b123355a64c2fe3c55f4f2f1355490&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;scotch&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1375866&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;vlang&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Chris Lamb:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1146687&quot;&gt;#1146687&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/lektor&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lektor&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147673&quot;&gt;#1147673&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/golang-forgejo-xorm-xorm&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;golang-forgejo-xorm-xorm&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147674&quot;&gt;#1147674&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/python-vermin&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-vermin&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148657&quot;&gt;#1148657&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/python-eventlet&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-eventlet&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148658&quot;&gt;#1148658&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/golang-github-miekg-pkcs11&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;golang-github-miekg-pkcs11&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148660&quot;&gt;#1148660&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/python-prov&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-prov&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148973&quot;&gt;#1148973&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/lemonade&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lemonade&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148977&quot;&gt;#1148977&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/yuzu&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;yuzu&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148979&quot;&gt;#1148979&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/python-mne&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-mne&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Jochen Sprickerhof:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147645&quot;&gt;#1147645&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/bitshuffle&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bitshuffle&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Tianyu Chen:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147760&quot;&gt;#1147760&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/nss&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nss&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Klemen Ferjancic:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;
        &lt;p&gt;Debian:&lt;/p&gt;

        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/games-team/ace-of-penguins/-/merge_requests/2&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ace-of-penguins&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/fonts-team/fonts-meera-inimai/-/merge_requests/1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fonts-meera-inimai&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/fonts-team/fonts-smc-keraleeyam/-/merge_requests/1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fonts-smc-keraleeyam&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/games-team/nsnake/-/merge_requests/1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nsnake&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reprotest/-/commit/8e4beb6510b4db4f54a1fad4cac0a16ea5ba5119&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;reprotest&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;p&gt;Upstream:&lt;/p&gt;

        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://github.com/doxygen/doxygen/pull/12371&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;doxygen&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://github.com/fontforge/fontforge/pull/5912&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fontforge&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://savannah.gnu.org/bugs/?68717&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;freefont&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://review.opendev.org/c/openstack/oslo.config/+/1009124&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;openstack oslo.config&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://review.opendev.org/c/openstack/watcher/+/1009127&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;openstack watcher&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://sourceware.org/bugzilla/show_bug.cgi?id=34680&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;systemtap&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://github.com/util-linux/util-linux/pull/4652&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;util-linux&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://www.yudit.org/download/patch-src/yudit-3.1.0.patch6.txt&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;yudit&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Vagrant Cascadian:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1140567#25&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;libecoli&lt;/code&gt;&lt;/a&gt; [&lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1140567#30&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985335#15&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cdebootstrap&lt;/code&gt;&lt;/a&gt; [&lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985335#30&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Vagrant Cascadian also performed a number of &lt;a href=&quot;https://wiki.debian.org/NonMaintainerUpload&quot;&gt;Non-Maintainer Uploads&lt;/a&gt; (NMUs) and &lt;a href=&quot;https://www.debian.org/doc/manuals/developers-reference/pkgs.en.html#nmus-vs-qa-uploads&quot;&gt;Quality Assurance (QA) uploads&lt;/a&gt; in Debian for several packages with outstanding reproducibility issues. These included &lt;a href=&quot;https://tracker.debian.org/news/1802211/accepted-moltemplate-2225-11-source-into-unstable/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;molttemplate&lt;/code&gt;&lt;/a&gt;, &lt;a href=&quot;https://tracker.debian.org/news/1801934/accepted-buddy-24dfsg-3-source-into-unstable/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;buddy&lt;/code&gt;&lt;/a&gt;, &lt;a href=&quot;https://tracker.debian.org/news/1801932/accepted-xfonts-nexus-002-20-source-into-unstable/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;xfonts-nexus&lt;/code&gt;&lt;/a&gt;, &lt;a href=&quot;https://tracker.debian.org/news/1802209/accepted-fte-0502b6-20110708-9-source-into-unstable/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fte&lt;/code&gt;&lt;/a&gt; and &lt;a href=&quot;https://tracker.debian.org/news/1802613/accepted-lifelines-3061-8-source-into-unstable/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lifelines&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;At the time of this writing, that leaves &lt;a href=&quot;https://udd.debian.org/bugs/?release=forky_and_sid&amp;amp;patch=only&amp;amp;pending=ign&amp;amp;merged=ign&amp;amp;done=ign&amp;amp;fnewerval=365&amp;amp;flastmodval=14&amp;amp;fusertagtag=buildpath&amp;amp;fusertaguser=reproducible-builds%40lists.alioth.debian.org&amp;amp;reproducible=1&amp;amp;sortby=id&amp;amp;sorto=asc&amp;amp;format=html#results&quot;&gt;130 submitted patches&lt;/a&gt;, with only 61 outstanding submitted patches that older than a year in the Debian bug tracking system. This number is only 26 if we exclude any low-priority build path issues.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;If you are interested in contributing to the Reproducible Builds project, please visit our &lt;a href=&quot;https://reproducible-builds.org/contribute/&quot;&gt;&lt;em&gt;Contribute&lt;/em&gt;&lt;/a&gt; page on our website. However, you can get in touch with us via:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;IRC: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;#reproducible-builds&lt;/code&gt; on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;irc.oftc.net&lt;/code&gt;.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Mastodon: &lt;a href=&quot;https://fosstodon.org/@reproducible_builds&quot;&gt;@reproducible_builds@fosstodon.org&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Mailing list: &lt;a href=&quot;https://lists.reproducible-builds.org/listinfo/rb-general&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rb-general@lists.reproducible-builds.org&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt; </description> 
	<pubDate>Wed, 14 Oct 2026 18:34:14 +0000</pubDate>

</item> 
<item>
	<title>Russ Allbery: Review: Ties That Bond in Gretna Green</title>
	<guid>https://www.eyrie.org/~eagle/reviews/books/9798376517017.html</guid>
	<link>https://www.eyrie.org/~eagle/reviews/books/9798376517017.html</link>
     <description>  &lt;p&gt;Review: &lt;cite&gt;Ties That Bond in Gretna Green&lt;/cite&gt;, by Linzi Day&lt;/p&gt;

&lt;table&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td&gt;Series:&lt;/td&gt;
    &lt;td&gt;Midlife Recorder #3&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Publisher:&lt;/td&gt;
    &lt;td&gt;Linzi Day&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Copyright:&lt;/td&gt;
    &lt;td&gt;February 2023&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;ISBN:&lt;/td&gt;
    &lt;td&gt;9798376517017&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Format:&lt;/td&gt;
    &lt;td&gt;Kindle&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Pages:&lt;/td&gt;
    &lt;td&gt;616&lt;/td&gt;
  &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;
&lt;cite&gt;Ties That Bond in Gretna Green&lt;/cite&gt; is a self-published fantasy novel
and the third book in the Midlife Recorder series. As with the previous
book, it picks up almost immediately after &lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/9798360228431.html&quot;&gt;&lt;cite&gt;Painting the Blues in Gretna Green&lt;/cite&gt;&lt;/a&gt;. Day calls the genre
paranormal women&#39;s fantasy, and that sounds about right to me.
&lt;/p&gt;

&lt;p&gt;
There is an intervening short story that you can get by
&lt;a href=&quot;https://linziday.com/newsletter/&quot;&gt;joining Day&#39;s mailing list&lt;/a&gt; (along
with an epilogue to the first book and to this book). I don&#39;t think it&#39;s
that important, but there are frequent references to it at the start of
this novel that become somewhat annoying if you haven&#39;t read it.
&lt;/p&gt;

&lt;p&gt;
Valentine&#39;s Day is fast approaching. This the busiest day of the year for
the part of the Recorder&#39;s job that Niki already knew how to do: marrying
people. She performed marriage ceremonies in her previous job before her
inheritance, and she loved that work despite her awful boss. Performing
marriages in the Gateway sounds even more rewarding, but the sheer number
of couples and the political complications from the first two books create
logistical problems she has to solve first.
&lt;/p&gt;

&lt;p&gt;
Also, the remaining member of her staff held over from her grandmother&#39;s
time has returned from vacation to discover that Niki has upended most of
what she thought she knew about the job. Time for Niki to apply what she
learned from the change management training her old boss forced her to
attend and then ignored! (If you just groaned, rest assured that Day
somehow makes this work, although she clearly has a higher opinion of
corporate training than I do.)
&lt;/p&gt;

&lt;p&gt;
This plot was more to my taste than &lt;cite&gt;Painting the Blues&lt;/cite&gt;, mostly
because Niki seemed on top of the problems and didn&#39;t postpone looking at
them for half the book. There is more of the management competence porn
that readers have come to expect of the series, a few more revelations
about Niki&#39;s magic, more mysterious manifestations and the first mention
of a prophecy, and a few political developments. As always, the pacing is
exceptional. These books grab me and pull me along, page after page, often
robbing me of sleep because I find them nearly impossible to put down.
&lt;/p&gt;

&lt;p&gt;
&lt;cite&gt;Ties that Bond&lt;/cite&gt; (and to some extent the last book) looked like it
was going to introduce a romantic subplot, and I was preparing to be
annoyed by it because I did not like the man in the subplot at all. I
won&#39;t spoil how it works out in this book, but I will say that Niki
surprised me and showed more sense than I thought the author was
telegraphing. This is not the first time that Day has surprised me with
what I thought was foreshadowing that did not turn out how I expected,
usually for the better. If she can keep that up, it&#39;s a nice effect (if a
bit unbalancing) and adds to my desire to read just one more chapter.
&lt;/p&gt;

&lt;p&gt;
The way the world-building of these books is structured continues to
intrigue me. Day gets away with some problems that I think would be more
noticeable in other books thanks to the excellent pacing (no time to ponder
the world-building, we&#39;re on to the next crisis!) and the tight
third-person perspective. Niki is not a detail person, to say the least,
but she does keep returning to bits of world-building and poking at them a
bit harder, which gives Day repeated opportunities to shore up ideas that
felt shaky and dubious at first glance. Still, this is not a book that
prizes deep logical consistency or full exploration of the ramifications
of a bit of magic. You have to be willing to go along with the ride and
not think too hard.
&lt;/p&gt;

&lt;p&gt;
For example, Niki can see bonds between couples and judge their strength.
This is apparently a long-standing power of the Recorder&#39;s line (she was
able to do that before she became the Recorder), and part of her
responsibility in these weddings is to check the bonds of the couples.
This leads to some well-handled scenes where she diagnoses a problem or
resolves a conflict because she can magically see the true relationship
structure.
&lt;/p&gt;

&lt;p&gt;
Everyone in the book just takes this power in stride. This is wild to me!
This ability would completely upend half of society if you fully worked
out its ramifications and could find people other than Niki with the same
ability. Even if one assumes that a bond only forms over time and can&#39;t be
sensed in the early stages of a relationship (something the book never
establishes), can you imagine the implications of having an infallible
oracle that says at a glance whether a marriage will work (permanently,
the book strongly implies)? The implications for how to structure
marriage, for family planning, for psychology and psychiatry, for how to
structure dating, even for living arrangements and housing markets? This
is not a small world-building detail, and yet it&#39;s treated more like part
of Niki&#39;s characterization than like a foundation of society.
&lt;/p&gt;

&lt;p&gt;
I think some of this all-vibes world-building may come from the general
new-age feel to how magic works. Day makes a grab-bag of random magic
canonical in this world: psychic lie detecting abilities, auras, chakras,
premonitions, and other bits of the sort of spiritualism that tends to be
heavily marketed to middle-class women. I have that niggling feeling that
one sometimes gets in SF that a lot of this is in the world-building
because the author believes it&#39;s partly real (see, for instance, psychic
powers and the Dean drive in 1960s science fiction). If one believes that
psychic powers and various bits of mysticism are true in our world, one
has already developed the rationalization mechanisms to explain away their
almost total lack of influence or impact on how the world is structured.
If one then introduces them into a true fantasy world, one may not notice
how many implications that should have for how society is structured,
since one is used to believing magic exists but has no significant
implications.
&lt;/p&gt;

&lt;p&gt;
I could be entirely wrong about this analysis, and maybe it&#39;s a bit unfair
to Day. I should also be clear that this is not a complaint, just a point
of fascination to me when I think back over one of these books after I
finished it. There is a glut of fantasy out there that&#39;s constructed like
an engineering problem or that goes deep into politics or social theory,
usually written by people with strong opinions but not a lot of training
in real sociology. One of the joys of self-published books is that you
occasionally get something that assembles genre conventions in a way that
feels odd and delightfully strange. What if, in addition to dimensional
gates and overwhelming protean power invested in a true heir, all the
magic sold by the local Tarot and crystal store was also true? Sure, why
not! If the pacing is good and the story is grabby, it works for me.
&lt;/p&gt;

&lt;p&gt;
It does seem worth attaching a warning for the folks who need scientific
reproducibility and explored implications in their world-building, though.
If you&#39;re the sort of reader who is bothered by political boundaries and
economic systems that match our world despite the existence of magic, this
series may cause you problems.
&lt;/p&gt;

&lt;p&gt;
This continues to be a grabby, highly entertaining story of a woman who
finally gets to run her own small business the way that she always thought
the business should be run after years of working for an awful manager,
except that her business is total magical power over an interchange point
between dimensions, she&#39;s the chosen one, and the setting is a high
fantasy world with prophecies and gods. If that sounds appealing, don&#39;t
start here, but I highly recommend giving &lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/9798837010774.html&quot;&gt;&lt;cite&gt;Midlife in Gretna Green&lt;/cite&gt;&lt;/a&gt; a try. The series seems to be holding up.
&lt;/p&gt;

&lt;p&gt;
Followed by a short story epilogue available by joining Day&#39;s mailing
list, an optional novella (maybe novelette) published in &lt;cite&gt;Spilling
the Tea in Gretna Green&lt;/cite&gt;, and then &lt;cite&gt;Seeing Red in Gretna Green&lt;/cite&gt;.
&lt;/p&gt;

&lt;p&gt;Rating: 7 out of 10&lt;/p&gt; </description> 
	<pubDate>Wed, 14 Oct 2026 03:50:00 +0000</pubDate>

</item> 
<item>
	<title>Freexian Collaborators: Debian Contributions: New experimental backend for autopkgtest using pconr, DebConf site visit and more! (by Anupa Ann Joseph)</title>
	<guid>https://www.freexian.com/blog/debian-contributions-09-2026/</guid>
	<link>https://www.freexian.com/blog/debian-contributions-09-2026/</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/freexian.png&quot; width=&quot;215&quot; height=&quot;101&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;h1 id=&quot;debian-contributions-2026-09&quot;&gt;Debian Contributions: 2026-09&lt;/h1&gt;
&lt;p&gt;&lt;a href=&quot;https://www.freexian.com/about/debian-contributions/&quot;&gt;Contributing to Debian&lt;/a&gt;
is part of &lt;a href=&quot;https://www.freexian.com/about/&quot;&gt;Freexian’s mission&lt;/a&gt;. This article
covers the latest achievements of Freexian and their collaborators. All of this
is made possible by organizations subscribing to our
&lt;a href=&quot;https://www.freexian.com/lts/&quot;&gt;Long Term Support contracts&lt;/a&gt; and
&lt;a href=&quot;https://www.freexian.com/services/&quot;&gt;consulting services&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&quot;debconf-site-visit-by-stefano-rivera&quot;&gt;DebConf site visit, by Stefano Rivera&lt;/h2&gt;
&lt;p&gt;In preparation for &lt;a href=&quot;https://27.debconf.org/&quot;&gt;DebConf 27&lt;/a&gt;, Stefano Rivera,
Nattie Mayer-Hutchings, and Jongmin Kim from the DebConf Committee visited
Asahikawa Japan. A contingent of the local team gathered to tour the venues
with us, discuss plans, and meet the local organizations assisting the event.
We held a press conference at the city hall that got
&lt;a href=&quot;https://www.nikkei.com/article/DGXZQOFC080YC0Y6A900C2000000/&quot;&gt;some coverage&lt;/a&gt;.
A few potential day-trip options were explored.
&lt;a href=&quot;https://people.debian.org/~stefanor/dc27-site-visit/&quot;&gt;Photos&lt;/a&gt; from the site visit.&lt;/p&gt;
&lt;h2 id=&quot;autopkgtest-virt-pconr-by-helmut-grohne&quot;&gt;autopkgtest-virt-pconr, by Helmut Grohne&lt;/h2&gt;
&lt;p&gt;Following the creation of the &lt;a href=&quot;https://git.subdivi.de/~helmut/pconr.git/&quot;&gt;pconr&lt;/a&gt;
module that provides a basis for
&lt;a href=&quot;https://git.subdivi.de/~helmut/pconr.git/tree/examples/unschroot_proc.py&quot;&gt;unschroot&lt;/a&gt;
and a more secure &lt;a href=&quot;https://git.subdivi.de/~helmut/pconr.git/tree/examples/mmdebstrap_container.py&quot;&gt;containment for mmdebstrap&lt;/a&gt;,
an experimental autopkgtest backend &lt;a href=&quot;https://git.subdivi.de/~helmut/pconr.git/tree/examples/autopkgtest-virt-pconr.py&quot;&gt;autopkgtest-virt-pconr&lt;/a&gt;
is now available. It fits a spot between autopkgtest-virt-unshare and more fully
fledged containers as it does not require much infrastructure like setting up
incus or lxc but still provides a containment running an initsystem. Due to the
use of &lt;a href=&quot;https://erofs.docs.kernel.org/en/latest/&quot;&gt;erofs&lt;/a&gt; as base image format,
it boots and reverts quickly. This development also required fixing concurrency
issues in &lt;a href=&quot;https://github.com/helmutg/asyncvarlink&quot;&gt;asyncvarlink&lt;/a&gt; and even shed
light on a matching &lt;a href=&quot;https://github.com/systemd/systemd/pull/43867&quot;&gt;bug in systemd&lt;/a&gt;
that was promptly fixed upstream.&lt;/p&gt;
&lt;h2 id=&quot;miscellaneous-contributions&quot;&gt;Miscellaneous contributions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Carles reviewed and submitted six Catalan po-debconf translations using
&lt;a href=&quot;https://salsa.debian.org/carlespina/po-debconf-manager&quot;&gt;po-debconf-manager&lt;/a&gt;.
Improved po-debconf-manager’s workflow for updating translations.&lt;/li&gt;
&lt;li&gt;Carles reviewed, translated or updated &lt;a href=&quot;https://salsa.debian.org/webmaster-team/webwml&quot;&gt;webwml&lt;/a&gt;
Catalan translations for security and CD pages. He also fixed issues that
prevented building webwml, deleted orphaned translation pages, etc. and
experimented with a more global HTML tidying up experiment.&lt;/li&gt;
&lt;li&gt;Carles refactored &lt;a href=&quot;https://salsa.debian.org/carlespina/check-relations&quot;&gt;check-relations&lt;/a&gt;
adding capacity to ignore concrete from_package -&amp;gt; to_package specific relations
and more flexibility around ignores. Detects unused ignore rules as well.&lt;/li&gt;
&lt;li&gt;Carles improved some Wiki pages (&lt;a href=&quot;https://wiki.debian.org/LibreOffice&quot;&gt;LibreOffice&lt;/a&gt;,
&lt;a href=&quot;https://wiki.debian.org/InstallingDebianOn/FrameWork&quot;&gt;Framework&lt;/a&gt; amongst some
other ones)&lt;/li&gt;
&lt;li&gt;Thorsten did an hplip upload to replace an expired certificate of HP. This
certificate is used to sign new upstream releases and modules that can be
downloaded later. Afterwards work on a new upstream version started.&lt;/li&gt;
&lt;li&gt;Thorsten also struggles with autopkgtest problems of the new upstream version
of cups. Work is still ongoing.&lt;/li&gt;
&lt;li&gt;Antonio loaded the video recording URLs into the
&lt;a href=&quot;http://ch2026.mini.debconf.org&quot;&gt;MiniDebConf Winterthur 2026&lt;/a&gt; website, and
deployed the website for &lt;a href=&quot;https://curitiba2027.mini.debconf.org/&quot;&gt;MiniDebConf Curitiba 2027&lt;/a&gt;
(still very early work in progress at this point).&lt;/li&gt;
&lt;li&gt;Antonio uploaded &lt;a href=&quot;https://tracker.debian.org/news/1794618/accepted-debci-43-source-into-unstable/&quot;&gt;debci 4.3&lt;/a&gt;,
&lt;a href=&quot;https://tracker.debian.org/news/1800203/accepted-autodep8-031-source-into-unstable/&quot;&gt;autodep8 0.31&lt;/a&gt;,
&lt;a href=&quot;https://tracker.debian.org/news/1804418/accepted-gem2deb-2210-source-into-unstable/&quot;&gt;gem2deb 2.2.10&lt;/a&gt;,
&lt;a href=&quot;https://tracker.debian.org/news/1804405/accepted-ruby-sass-374-7-source-into-unstable/&quot;&gt;ruby-sass 3.7.4-7&lt;/a&gt;,
init-system-helpers &lt;a href=&quot;https://tracker.debian.org/news/1800206/accepted-init-system-helpers-169nmu2-source-into-unstable/&quot;&gt;1.69+nmu2&lt;/a&gt;
and &lt;a href=&quot;https://tracker.debian.org/news/1802159/accepted-init-system-helpers-169nmu3-source-into-unstable/&quot;&gt;1.69+nmu3&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Antonio worked on several topics around Debian CI maintenance, reliability and
performance.&lt;/li&gt;
&lt;li&gt;Stefano updated the autopkgtests for cPython packages in Debian to support
setuptools 80.&lt;/li&gt;
&lt;li&gt;Stefano uploaded pypy 8.&lt;/li&gt;
&lt;li&gt;Stefano helped to get DebConf 26 reimbursement claims processed, and worked on
some of the resulting issues in debian-reimbursements.&lt;/li&gt;
&lt;li&gt;Emilio managed various transitions.&lt;/li&gt;
&lt;li&gt;Emilio worked on the rustc-web/trixie bootstrap for armel, using the rustc
1.95 version from trixie-backports. This will be needed by the upcoming clamav
security updates.&lt;/li&gt;
&lt;li&gt;Helmut sent patches for 11 cross build failures.&lt;/li&gt;
&lt;li&gt;Helmut introduced a new build profile to libcap-ng to keep architecture cross
bootstrap working.&lt;/li&gt;
&lt;li&gt;Helmut uploaded &lt;a href=&quot;https://tracker.debian.org/news/1807523/debvm-055-migrated-to-testing/&quot;&gt;debvm_0.5.5&lt;/a&gt;
introducing support for Hurd thanks to a lot of work by Johannes Schauer Marin
Rodrigues.&lt;/li&gt;
&lt;li&gt;Colin worked with OpenSSH upstream to &lt;a href=&quot;https://bugzilla.mindrot.org/show_bug.cgi?id=3996&quot;&gt;reduce the linkage of /usr/sbin/sshd&lt;/a&gt;,
hardening it a little further.&lt;/li&gt;
&lt;li&gt;Colin upgraded to new security releases of groff and parted.&lt;/li&gt;
&lt;li&gt;Colin upgraded 50 Python packages to new upstream versions, and fixed over 40
RC bugs in the Python team.&lt;/li&gt;
&lt;li&gt;Santiago continued mentoring Aryan Karamtoth with the GSoC project about
introducing livepatching support for linux. This mentoring is done in
collaboration with Emmanuel Arias. In particular, Santiago explored different
requirements for providing binary modules for the same kernel packages used by
Debian, that require a matching version number.&lt;/li&gt;
&lt;li&gt;Anupa joined Jean-Pierre Giraud to prepare the files for point release
announcement for Debian 13.7.&lt;/li&gt;
&lt;/ul&gt; </description> 
	<pubDate>Wed, 14 Oct 2026 00:00:00 +0000</pubDate>

</item> 
<item>
	<title>Matthew Garrett: Linux Lockdown and Hibernation (again)</title>
	<guid>https://codon.org.uk/~mjg59/blog/p/linux-lockdown-and-hibernation-again/</guid>
	<link>https://codon.org.uk/~mjg59/blog/p/linux-lockdown-and-hibernation-again/</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/mjg59.png&quot; width=&quot;69&quot; height=&quot;85&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;(This is an &lt;a class=&quot;link&quot; href=&quot;https://mjg59.dreamwidth.org/55845.html&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;updated version of an older post&lt;/a&gt; - the introduction remains the same, the technical details are different)&lt;/p&gt;
&lt;p&gt;Linux draws a distinction between code running in kernel (kernel space) and applications running in userland (user space). This is enforced at the hardware level - in x86-speak&lt;sup id=&quot;fnref:1&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fn:1&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;, kernel space code runs in ring 0 and user space code runs in ring 3&lt;sup id=&quot;fnref:2&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fn:2&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;. If you’re running in ring 3 and you attempt to touch memory that’s only accessible in ring 0, the hardware will raise a fault. No matter how privileged your ring 3 code, you don’t get to touch ring 0.&lt;/p&gt;
&lt;p&gt;Kind of. In theory. Traditionally this wasn’t well enforced. At the most basic level, since root can load kernel modules, you could just build a kernel module that performed any kernel modifications you wanted and then have root load it. Technically user space code wasn’t modifying kernel space code, but the difference was pretty semantic rather than useful. But it got worse - root could also map memory ranges belonging to PCI devices&lt;sup id=&quot;fnref:3&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fn:3&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;, and if the device could perform DMA you could just ask the device to overwrite bits of the kernel&lt;sup id=&quot;fnref:4&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fn:4&quot;&gt;4&lt;/a&gt;&lt;/sup&gt;. Or root could modify special CPU registers (“Model Specific Registers”, or MSRs) that alter CPU behaviour via the /dev/msr interface, and compromise the kernel boundary that way.&lt;/p&gt;
&lt;p&gt;It turns out that there were a number of ways root was effectively equivalent to ring 0, and the boundary was more about reliability (ie, a process running as root that ends up misbehaving should still only be able to crash itself rather than taking down the kernel with it) than security. After all, if you were root you could just replace the on-disk kernel with a backdoored one and reboot. Going deeper, you could replace the bootloader with one that automatically injected backdoors into a legitimate kernel image. We didn’t have any way to prevent this sort of thing, so attempting to harden the root/kernel boundary wasn’t especially interesting.&lt;/p&gt;
&lt;p&gt;In 2012 Microsoft started requiring vendors ship systems with UEFI Secure Boot, a firmware feature that allowed&lt;sup id=&quot;fnref:5&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fn:5&quot;&gt;5&lt;/a&gt;&lt;/sup&gt; systems to refuse to boot anything without an appropriate signature. This not only enabled the creation of a system that drew a strong boundary between root and kernel, it arguably required one - what’s the point of restricting what the firmware will stick in ring 0 if root can just throw more code in there afterwards? What ended up as the Lockdown Linux Security Module provides the tooling for this, blocking userspace interfaces that can be used to modify the kernel and enforcing that any modules have a trusted signature.&lt;/p&gt;
&lt;p&gt;But that comes at something of a cost. Most of the features that Lockdown blocks are fairly niche, so the direct impact of having it enabled is small. Except that it also blocks hibernation&lt;sup id=&quot;fnref:6&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fn:6&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;, and it turns out some people were using that. The obvious question is “what does hibernation have to do with keeping root out of kernel space”, and the answer is a little convoluted and is tied into how Linux implements hibernation. Basically, Linux saves system state into the swap partition and modifies the header to indicate that there’s a hibernation image there instead of swap. On the next boot, the kernel sees the header indicating that it’s a hibernation image, copies the contents of the swap partition back into RAM, and then jumps back into the old kernel code. What ensures that the hibernation image was actually written out by the kernel? Absolutely nothing, which means a motivated attacker with root access could turn off swap, write a hibernation image to the swap partition themselves, and then reboot. The kernel would happily resume into the attacker’s image, giving the attacker control over what gets copied back into kernel space.&lt;/p&gt;
&lt;p&gt;This is annoying, because normally when we think about attacks on swap we mitigate it by requiring an encrypted swap partition. But in this case, our attacker is root, and so already has access to the plaintext version of the swap partition. Disk encryption doesn’t save us here. We need some way to verify that the hibernation image was written out by the kernel, not by root. And thankfully we have some tools for that.&lt;/p&gt;
&lt;p&gt;Trusted Platform Modules (TPMs) are cryptographic coprocessors&lt;sup id=&quot;fnref:7&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fn:7&quot;&gt;7&lt;/a&gt;&lt;/sup&gt; capable of doing things like generating encryption keys and then encrypting things with them. You can ask a TPM to encrypt something with a key that’s tied to that specific TPM - the OS has no access to the decryption key, and nor does any other TPM. So we can have the kernel generate an encryption key, encrypt part of the hibernation image with it, and then have the TPM encrypt it. We store the encrypted copy of the key in the hibernation image as well. On resume, the kernel reads the encrypted copy of the key, passes it to the TPM, gets the decrypted copy back and is able to verify the hibernation image.&lt;/p&gt;
&lt;p&gt;That’s great! Except root can do exactly the same thing. This tells us the hibernation image was generated on this machine, but doesn’t tell us that it was done by the kernel. We need some way to be able to differentiate between keys that were generated in kernel and ones that were generated in userland. TPMs have the concept of “localities” (effectively privilege levels) that would be perfect for this. Userland is only able to access locality 0, so the kernel could simply use locality 1 to encrypt the key. Unfortunately, localities are typically only available on systems that implement a &lt;a class=&quot;link&quot; href=&quot;https://trustedcomputinggroup.org/resource/d-rtm-architecture-specification/&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Dynamic Root of Trust Measurement&lt;/a&gt; like Intel’s TXT, and most consumer systems have no support for this. So, we need another approach.&lt;/p&gt;
&lt;p&gt;TPMs have a set of Platform Configuration Registers (PCRs), intended for keeping a record of system state. The OS isn’t able to modify the PCRs directly. Instead, the OS provides a cryptographic hash of some material to the TPM. The TPM takes the existing PCR value, appends the new hash to that, and then stores the hash of the combination in the PCR - a process called “extension”. This means that the new value of the TPM depends not only on the value of the new data, it depends on the previous value of the PCR - and, in turn, that previous value depended on its previous value, and so on. The only way to get to a specific PCR value is to either (a) break the hash algorithm, or (b) perform exactly the same sequence of writes. On system reset the PCRs go back to a known value, and the entire process starts again.&lt;/p&gt;
&lt;p&gt;Some PCRs are different. PCR 23, for example, can be reset back to its original value without resetting the system. We can make use of that. The first thing we need to do is to prevent userland from being able to reset or extend PCR 23 itself. All TPM accesses go through the kernel, so this is a simple matter of parsing the write before it’s sent to the TPM and returning an error if it’s a sensitive command that would touch PCR 23. We now know that any change in PCR 23’s state will be restricted to the kernel.&lt;/p&gt;
&lt;p&gt;When we encrypt material with the TPM, we can ask it to record the PCR state. This is given back to us as metadata accompanying the encrypted secret. Along with the metadata is an additional signature created by the TPM, which can be used to prove that the metadata is both legitimate and associated with this specific encrypted data. In our case, that means we know what the value of PCR 23 was when we encrypted the key. That means that if we simply extend PCR 23 with a known value in-kernel before encrypting our key, we can look at the value of PCR 23 in the metadata. If it matches, the key was encrypted by the kernel - userland can create its own key, but it has no way to extend PCR 23 to the appropriate value first. We now know that the key was generated by the kernel.&lt;/p&gt;
&lt;p&gt;Unfortunately it turns out that some people actually make use of PCR 23, and
restricting it to the kernel makes them sad. There are other resettable PCRs, but only in non-0 localities, so (a) we can’t reset them on most systems and (b) we’ll just find someone who uses them anyway and run into the same problem. We need a different approach.&lt;/p&gt;
&lt;p&gt;Thankfully TPMs have a small chunk of non-volatile RAM that can be used for storing things, and by “storing” I mean they can be used in a range of different ways. One of these is effectively as additional PCRs. These values can be configured such that they work the same way as PCRs, with the only way to modify them being to append a new hash to their existing value and update the new value to the hash of that merged value. We can allocate one of these for in-kernel use and reject any access from userspace, and also there are officially allocated ranges (so people shouldn’t be using random values) and the namespace is large enough anyway that w eshouldn’t collide with anyone, so we can carve one of those out and use it for this purpose.&lt;/p&gt;
&lt;p&gt;Unfortunately, though, these NV indexes aren’t included in the creation data we get when we create a key, so we need another approach. TPMs have the concept of sessions, a series of commands executed in sequence. A flag allows these sessions to be “audited”, with the TPM keeping a running track of the hash of the commands executed and the results returned. At the end of the session you can ask for a signed copy of this hash, and if you’ve kept a log of all the commands then you can verify that they match that signed hash and know that this log represents a real communication with the TPM. If we read the NV index and generate the key inside the same session, we can verify that the key we’re looking at was created while the NV index had a specific value, and if only the kernel can set that value then we know that the key was generated by the kernel.&lt;/p&gt;
&lt;p&gt;Or, well, can we? Only new kernels would impose the restriction on modifying that NV index. An attacker could boot an old kernel, generate a key there in userland, sign a hibernation image with it, and then reboot into a new kernel. The new kernel would see a valid signature with a valid NV index associated with it and have no way to know it was generated from userland rather than the kernel. We need to be able to tell the difference between kernels that implement this feature and ones that don’t, and we need to do that without being able to go back in time to change old kernel behaviour. We can extend a PCR to indicate we implement the new functionality, but so can an attacker running an old kernel.&lt;/p&gt;
&lt;p&gt;The normal approach to determining whether an event occurred in a specific phase of the boot process is to “cap” the PCRs - extend them with a known value that indicates a transition between stages of the boot process. Any events that occur before the cap event must have occurred in the previous stage of boot, and since the final PCR value depends on the order of measurements and not just the contents of those measurements, if a PCR is capped before userland runs, userland can’t fake the same PCR value afterwards. If Linux capped the PCRs before userland started running, we’d be able to place a measurement there before the cap occurred and then prove that that extension occurred before userland had the opportunity to interfere. We could simply place a statement that the kernel supported the NV index restrictions there, and we’d be fine.&lt;/p&gt;
&lt;p&gt;Unfortunately Linux doesn’t currently do this, and adding support for doing so doesn’t fix the problem - if an attacker boots a kernel that doesn’t cap a PCR, they can just cap it themselves from userland. So, we’re faced with the same problem: booting an older kernel allows the system to be placed in an identical state to the current kernel, and a fake hibernation image can be written out. Solving this requires a PCR that was being modified after kernel code was running, but before userland was started, even with existing kernels.&lt;/p&gt;
&lt;p&gt;Thankfully, there is one! PCR 5 is &lt;a class=&quot;link&quot; href=&quot;https://trustedcomputinggroup.org/wp-content/uploads/TCG_PCClient_PFP_r1p05_v23_pub.pdf&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;defined&lt;/a&gt; as containing measurements related to boot management configuration and data. One of the measurements it contains is the result of the UEFI ExitBootServices() call. ExitBootServices() is called at the transition from the UEFI boot environment to the running OS, and the kernel contains code that executes before it. So, if we measure an assertion regarding whether or not we support restricted access to NV indexes into PCR 5 before we call ExitBootServices(), this will prevent userspace from spoofing us (because userspace will only be able to extend PCR 5 after the firmware extended PCR 5 in response to ExitBootServices() being called). Obviously this depends on the firmware actually performing the PCR 5 extension when ExitBootServices() is called, but if firmware’s out of spec then I don’t think there’s any real expectation of it being secure enough for any of this to buy you anything anyway.&lt;/p&gt;
&lt;p&gt;That’s what &lt;a class=&quot;link&quot; href=&quot;https://lore.kernel.org/linux-pm/20261008132532.1155166-1-matthewg@nvidia.com/&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;this patchset&lt;/a&gt; does. Review feedback so far seems positive, although James Bottomley &lt;a class=&quot;link&quot; href=&quot;https://lore.kernel.org/linux-pm/aeedde06c51910afe5231d9f359bb8767c01b5bd.camel@HansenPartnership.com/&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;suggested&lt;/a&gt; a design improvement. My approach of using an NV index as a PCR and generating a signing key made sense as a consequence of my original approach involving PCR 23, which had been to use the key creation data and not use audit sessions at all. But the goal isn’t to use a key - it’s to prove that hibernation occurred in-kernel, and while signing is one way of doing that, there are others. His suggestion is to simply record the hash of the hibernation image into the NV index and then read that back as part of the audit session. On resume we verify the audit session log is legitimate, read the hibernation image, and compare the hash of the hibernation image against the hash in the log. If it matches, and if the PCR 5 value matches, we know the audit session happened in kernel and that the hibernation image hasn’t been modified.&lt;/p&gt;
&lt;p&gt;It still seems like we’re missing something, though. If we’re not storing a key anywhere, how do we verify the audit session? To explain this we’re going to need to go into some details about how TPM keys work in the first place. TPMs can produce a special kind of key called an Attestation Key, or AK. Attestation keys are used to sign attestation statements from the TPM, such as PCR quotes or audit logs. We need a separate key type for this in order to prove that the signature was generated as part of an attestation - normal TPM signing keys are fundamentally designed to sign arbitrary material, and so can be used by userland to sign something that looks identical to an attestation record. By being able to distinguish the types of key the TPM uses, we can prove that a signature was generated using an AK, and so know that it’s a real TPM attestation (because nothing other than the TPM can sign stuff with an AK).&lt;/p&gt;
&lt;p&gt;But even beyond this distinction, TPMs have different key types. Ordinary keys are generated using an RNG and will be unique. Primary keys are generated using a seed that is used as an input into a key derivation function. For a given TPM, using the same seed to generate the same type of primary key will always generate the same primary key&lt;sup id=&quot;fnref:8&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fn:8&quot;&gt;8&lt;/a&gt;&lt;/sup&gt;. We can have the kernel deterministically generate an AK during suspend in order to sign the audit log, and then generate the same key again on resume to validate it. This means we don’t need any other form of trusted storage for the AK - the TPM already provides that functionality.&lt;/p&gt;
&lt;p&gt;This is all rather complicated but I’ve been thinking about this for some time now and I haven’t come up with a cleaner solution. The only real open issue is the degree to which machines actually perform the PCR 5 extension. If it turns out there’s a bunch that don’t we’ll need to come up with some alternative approach to identifying whether the kernel supports this functionality, but the design is such that that should be invisible to userspace so adding alternatives later shouldn’t be an issue. Filtering accesses to the NV index is also not super clean, and depends on there not being alternative mechanisms to get at the TPM by sending raw commands. Again, this is intended to be opaque to userland and can be improved if we come up with something better later on (such as a secure way to pass a secret to the kernel on boot that can be used as an auth value for acess to the NV index).&lt;/p&gt;
&lt;p&gt;Anyway. Time to go and fix the next thing.&lt;/p&gt;
&lt;div class=&quot;footnotes&quot;&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id=&quot;fn:1&quot;&gt;
&lt;p&gt;Other architectures use different terminology here, such as “supervisor” and “user” mode, but it’s broadly equivalent &lt;a class=&quot;footnote-backref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fnref:1&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:2&quot;&gt;
&lt;p&gt;In theory rings 1 and 2 would allow you to run drivers with privileges somewhere between full kernel access and userland applications, but in reality we just don’t talk about them in polite company &lt;a class=&quot;footnote-backref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fnref:2&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:3&quot;&gt;
&lt;p&gt;This is how graphics worked in Linux before kernel modesetting turned up. XFree86 would just map your GPU’s registers into userland and poke them directly. This was not a huge win for stability &lt;a class=&quot;footnote-backref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fnref:3&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:4&quot;&gt;
&lt;p&gt;IOMMUs can help you here, by restricting the memory PCI devices can DMA to or from. The kernel then gets to allocate ranges for device buffers and configure the IOMMU such that the device can’t DMA to anything else. Except that region of memory may still contain sensitive material such as function pointers, and attacks like this can still cause you problems as a result. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fnref:4&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:5&quot;&gt;
&lt;p&gt;&lt;a class=&quot;link&quot; href=&quot;https://mjg59.dreamwidth.org/23817.html&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;This describes&lt;/a&gt; why I’m using “allowed” rather than “required” here &lt;a class=&quot;footnote-backref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fnref:5&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:6&quot;&gt;
&lt;p&gt;Saving the system state to disk and powering down the platform entirely - significantly slower than suspending the system while keeping state in RAM, but also resilient against the system losing power. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fnref:6&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:7&quot;&gt;
&lt;p&gt;With some handwaving around “coprocessor”. TPMs can’t be part of the OS or the system firmware, but they don’t technically need to be an independent component. Intel have a TPM implementation that runs on the Management Engine, a separate processor built into the motherboard chipset. AMD have one that runs on the Platform Security Processor, a small ARM core built into their CPU. Various ARM implementations run a TPM in Trustzone, a special CPU mode that (in theory) is able to access resources that are entirely blocked off from anything running in the OS, kernel or otherwise. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fnref:7&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:8&quot;&gt;
&lt;p&gt;Unless the TPM is cleared, in which case it’ll generate a new internal seed and now the keys will be different to before the clear &lt;a class=&quot;footnote-backref&quot; href=&quot;https://codon.org.uk/~mjg59/blog/index.xml#fnref:8&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt; </description> 
	<pubDate>Tue, 13 Oct 2026 18:14:36 +0000</pubDate>

</item> 
<item>
	<title>Russ Allbery: Review: Daggerbound</title>
	<guid>https://www.eyrie.org/~eagle/reviews/books/1-250-40009-0.html</guid>
	<link>https://www.eyrie.org/~eagle/reviews/books/1-250-40009-0.html</link>
     <description>  &lt;p&gt;Review: &lt;cite&gt;Daggerbound&lt;/cite&gt;, by T. Kingfisher&lt;/p&gt;

&lt;table&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td&gt;Series:&lt;/td&gt;
    &lt;td&gt;Swordheart #2&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Publisher:&lt;/td&gt;
    &lt;td&gt;Bramble&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Copyright:&lt;/td&gt;
    &lt;td&gt;2026&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;ISBN:&lt;/td&gt;
    &lt;td&gt;1-250-40009-0&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Format:&lt;/td&gt;
    &lt;td&gt;Kindle&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Pages:&lt;/td&gt;
    &lt;td&gt;436&lt;/td&gt;
  &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;
&lt;cite&gt;Daggerbound&lt;/cite&gt; is a secondary-world fantasy and a sequel to
&lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/1-61450-463-6.html&quot;&gt;&lt;cite&gt;Swordheart&lt;/cite&gt;&lt;/a&gt;, although it follows
different protagonists for most of the book. It&#39;s also a sort of sequel to
the &lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/clockwork-boys.html&quot;&gt;Clocktaur War duology&lt;/a&gt; in that one of the
protagonists was a protagonist of those books. T. Kingfisher is the pen
name Ursula Vernon uses for her adult fiction.
&lt;/p&gt;

&lt;p&gt;
Learned Edmond was once a devout acolyte of the Order of the Many-Armed
God and a true believer in its teachings, including the ones about the
evils of women. Then he went on an adventure with, among other people, a
forger named Mistress Slate, during which he learned a great deal of
things about the world that his order did not teach him. He has spent the
subsequent years trying to bring this important new information to his
order and encourage them to adjust their view of the world accordingly.
&lt;/p&gt;

&lt;p&gt;
The order has not changed, and Edmond is very tired.
&lt;/p&gt;

&lt;p&gt;
Someone needs to carry a number of books and a magical sword to the city
of Archon&#39;s Glory. Edmond has volunteered and intends to perform the task
exactly as expected, and then never return. He is unsure what he will do
then, but at least it will be different.
&lt;/p&gt;

&lt;p&gt;
Edmond did not expect to be waylaid by bandits or to accidentally draw the
magical sword. He certainly did not expect the man who appeared in a flash
of light and violently saved him from the bandits.
&lt;/p&gt;

&lt;p&gt;
It would have been very convenient for the Dervish if Edmond died of his
injuries after drawing the sword. That would leave the sword without a
wielder and therefore the Dervish without someone he had to protect. All
he would have to do was sit and watch while the fever and cold and lack of
water did the work, and then he would be free. Given his past experience
with wielders, no one could even blame him. Except maybe his own
conscience.
&lt;/p&gt;

&lt;p&gt;
I did not realize I wanted to read a novel about a traumatized Mercedes
Lackey sword waking up in a T. Kingfisher universe, but apparently I did.
&lt;/p&gt;

&lt;p&gt;
The Dervish is not a sword, precisely, at least not in the way that
&lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/0-88677-463-2.html&quot;&gt;Need&lt;/a&gt; has become by the time we meet her in
Lackey&#39;s novels. He&#39;s a man trapped in a sword, he doesn&#39;t like it, and he
would very much like it to stop. But at the start of the book, he has the
rest of the vibe of a Mercedes Lackey protagonist: vast past trauma, poor
emotional regulation skills, and a prickly cynicism that only runs skin
deep. Pairing him with an Edmund who is far more mature than in the
earlier duology but still rather innocent and delightfully neurodivergent
is a great touch.
&lt;/p&gt;

&lt;p&gt;
The rest of the plot was fine but not that memorable. Like the Clocktaur
series, there is a strong feeling of episodic D&amp;amp;D adventure as the
characters stumble across disconnected problems and hostilities while
collecting party members. Like Ursula Vernon&#39;s occasional D&amp;amp;D recaps, this
party has a tendency to adopt everyone they come in contact with, which
includes a gnole (as always one of the best parts of the book) and a
sentient giant pill bug. The pill bug, who has a complex
appendage-operated mechanical talk box and a banner that says &quot;I DO NOT
EAT HUMAN MEAT,&quot; is the most Ursula Vernon character that has ever existed
in fiction.
&lt;/p&gt;

&lt;p&gt;
There is a romance because there is always a romance in the novels set in
this universe. I didn&#39;t mind this one. Like every Kingfisher romance, it
involves a lot of irritating refusal to communicate and endless angst
about how the other person couldn&#39;t possibly be in love with them, but the
characters have rather more justification than usual and at least I didn&#39;t
spend most of the book thinking one half of the romantic pairing was an
idiot. Apparently it helps if no paladins are involved.
&lt;/p&gt;

&lt;p&gt;
The strongest parts of this book are the beginning, before the Lackey
vibes unfortunately drain out of the story, and the end, when all of the
best characters from &lt;cite&gt;Swordheart&lt;/cite&gt; show up again. The Temple of the
White Rat continues to be the best feature of this fictional universe, and
I could read endless books about how they solve problems.
&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;
    The Dervish gazed at her with admiration. &quot;And here I thought you&#39;d be
    on the side of law and order...&quot;
&lt;/p&gt;

&lt;p&gt;
    &quot;No, young man,&quot; said Beartongue, despite being several centuries his
    junior. &quot;I am on the side of justice. If we&#39;re lucky, the two run in
    parallel. If they don&#39;t, we bend the law to attain justice, not the
    other way around.&quot;
&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;
The ending also featured some exploration of the edge cases of the rules
for the sentient swords that reminded me a bit of
&lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/0-812-55343-8.html&quot;&gt;Fred Saberhagen&lt;/a&gt; with better characterization.
&lt;/p&gt;

&lt;p&gt;
&lt;cite&gt;Daggerbound&lt;/cite&gt; was not as charming as &lt;cite&gt;Swordheart&lt;/cite&gt;, mostly
because Halla appeared only at the end. I wish Kingfisher had leaned more
into the Mercedes Lackey vibes rather than taking her normal D&amp;amp;D-flavored
romance approach. But this was enjoyable, charming at times, had great
supporting characters like all Kingfisher novels, and was a satisfying
continuation of the series. I am looking forward to the third (and I
believe final) book, which is supposed to be out next year.
&lt;/p&gt;

&lt;p&gt;
Recommended if you liked &lt;cite&gt;Swordheart&lt;/cite&gt;.
&lt;/p&gt;

&lt;p&gt;
Followed by the not-yet-published &lt;cite&gt;Shieldborn&lt;/cite&gt;.
&lt;/p&gt;

&lt;p&gt;Rating: 7 out of 10&lt;/p&gt; </description> 
	<pubDate>Sun, 11 Oct 2026 04:48:00 +0000</pubDate>

</item> 
<item>
	<title>Tim Retout: Reading my solar inverter over RS485</title>
	<guid>https://retout.co.uk/2026/10/10/zeversolar-esphome/</guid>
	<link>https://retout.co.uk/2026/10/10/zeversolar-esphome/</link>
     <description>  &lt;p&gt;For over ten years, the only way I have had of knowing what our solar
panels are doing has been an impulse monitor on the generation meter,
counting the flashes of its LED.  It has always been a bit flaky due
to battery changes or loose connections, and there has never been a
way to see solar generation alongside the energy used by the rest of
the house.  This week I have fixed that, by building a small ESPHome
sensor which talks directly to the inverter.  I am still reeling
slightly: with AI assistance, it took under a week from idea to
working implementation, and it is a project I would certainly &lt;em&gt;never&lt;/em&gt;
have attempted otherwise.  The result is
&lt;a href=&quot;https://github.com/timretout/zeversolar-esphome&quot;&gt;zeversolar-esphome&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The inverter is a Zeversolar Zeverlution 3680, which has an RS485 port
but no Wi-Fi or Ethernet module.  It doesn’t speak Modbus; it uses
Eversolar’s own master/slave protocol, which nobody has officially
documented but which several people have reverse-engineered over the
years (credit to
&lt;a href=&quot;https://github.com/solmoller/eversolar-monitor&quot;&gt;eversolar-monitor&lt;/a&gt;,
&lt;a href=&quot;https://github.com/Timdebruijn/heliograph&quot;&gt;Heliograph&lt;/a&gt; and
&lt;a href=&quot;https://github.com/timretout/zeversolar-esphome#credits&quot;&gt;others&lt;/a&gt;).
Manufacturer support for Eversolar/Zeversolar inverters apparently
ended in December 2019 when the company went out of business.&lt;/p&gt;
&lt;figure class=&quot;align-center &quot;&gt;
    &lt;img alt=&quot;The rating plate on the side of the inverter, reading Model: Zeverlution 3680, with its input and output ratings and safety symbols.&quot; src=&quot;https://retout.co.uk/2026/zeversolar-rating-plate.jpg#center&quot; width=&quot;300&quot; /&gt; 
            &lt;p&gt;The rating plate on my inverter.&lt;/p&gt;
        
&lt;/figure&gt;

&lt;p&gt;A while ago I had looked into what ports were available on this
inverter with a view to connecting some sort of monitoring, but I had
abandoned it as “too hard”.  While working on some Home Assistant
configuration, Claude suggested the idea again, but similarly wrote it
off initially.  I encouraged it to explore a bit further, and supplied
the model number of the inverter, at which point the picture got a lot
more promising.  After a bit of back-and-forth about hardware, we
settled on an &lt;a href=&quot;https://github.com/timretout/zeversolar-esphome#hardware&quot;&gt;M5Stack Atom Lite on an Atomic RS485
Base&lt;/a&gt;.  The
main attraction was that it already comes in a case, so I didn’t need
to design (or, more likely, bodge) an enclosure.&lt;/p&gt;
&lt;p&gt;While I waited for the parts to arrive, Claude wrote the firmware: an
&lt;a href=&quot;https://esphome.io/components/external_components/&quot;&gt;ESPHome external
component&lt;/a&gt; built
around a small, dependency-free C++ driver, with host-side unit tests
against byte captures that other people had published from other
models.  I found it slightly surreal to have a tested protocol driver
before owning any hardware to run it on.&lt;/p&gt;
&lt;h3 id=&quot;cables&quot;&gt;Cables&lt;/h3&gt;
&lt;p&gt;The parts came before the tools I needed to get into the inverter
safely (a DC clamp meter and a T25 screwdriver bit), so in the
meantime I made up an RS485 cable - this uses an RJ45 connection at
one end, and some custom wiring at the other.  My first attempt was
with some CAT 6, but (as Claude had pointed out and I had ignored) its
solid-core conductors are much harder to twist together.  So I gave up
and sacrificed an old CAT 5e patch lead instead, which went much
better.&lt;/p&gt;
&lt;figure class=&quot;align-center &quot;&gt;
    &lt;img alt=&quot;The cut end of a white CAT 5e cable, with its twisted pairs pushed into an orange four-way screw-terminal plug.&quot; src=&quot;https://retout.co.uk/2026/zeversolar-cable.jpg#center&quot; width=&quot;200&quot; /&gt; 
            &lt;p&gt;The custom end of the cable, before being taped up.&lt;/p&gt;
        
&lt;/figure&gt;

&lt;h3 id=&quot;the-risky-bit&quot;&gt;The risky bit&lt;/h3&gt;
&lt;p&gt;On a Zeverlution, the RJ45 sockets are inside the wiring compartment,
which means taking the cover off to install the monitor.  The manual
addresses this part to qualified electricians.  So the step I was most
nervous about was not the software at all, but safely isolating the
inverter.&lt;/p&gt;
&lt;figure class=&quot;align-center &quot;&gt;
    &lt;img alt=&quot;The inverter with its cover removed, showing large capacitors along the top, a green circuit board with a small LCD display, and cable glands along the bottom edge.&quot; src=&quot;https://retout.co.uk/2026/zeversolar-inside.jpg#center&quot; width=&quot;480&quot; /&gt; 
            &lt;p&gt;Inside the inverter, with the cover off.&lt;/p&gt;
        
&lt;/figure&gt;

&lt;p&gt;I did this with appropriate caution, following the instructions from
the manual carefully, and also waiting until after dark just in case.
Now that I understand how the DC clips from the panels work, I can see
how to do this safely during daytime too – but hopefully this won’t
be necessary.&lt;/p&gt;
&lt;figure class=&quot;align-center &quot;&gt;
    &lt;img alt=&quot;A yellow RJ45 plug in one of the two network sockets on the inverter&#39;s circuit board, with its white cable running out through a cable gland in the base.&quot; src=&quot;https://retout.co.uk/2026/zeversolar-rj45.jpg#center&quot; width=&quot;600&quot; /&gt; 
            &lt;p&gt;Plugged in, and threaded through the cable gland.&lt;/p&gt;
        
&lt;/figure&gt;

&lt;p&gt;&lt;em&gt;Warning:&lt;/em&gt; if you’re not confident, I would always advise to get an
electrician to do this bit.  Do what I say, not what I do.&lt;/p&gt;
&lt;h3 id=&quot;debugging-over-wi-fi&quot;&gt;Debugging over Wi-Fi&lt;/h3&gt;
&lt;p&gt;Once the device was installed, the nice thing about ESPHome is that I
never need to go back in the loft again to update it – it reflashes
over Wi-Fi.  I’ve taken full advantage of this for debugging, and for
reading the wire protocol directly from the logs.&lt;/p&gt;
&lt;figure class=&quot;align-center &quot;&gt;
    &lt;img alt=&quot;A hand holding the small grey M5Stack Atom Lite on its RS485 base, with the inverter cable taped into the screw terminals on top and its status LED glowing green.&quot; src=&quot;https://retout.co.uk/2026/zeversolar-atom.jpg#center&quot; width=&quot;400&quot; /&gt; 
            &lt;p&gt;The finished device. Green means generating.&lt;/p&gt;
        
&lt;/figure&gt;

&lt;p&gt;Separately, I’ve used Claude to integrate the new sensors into Home
Assistant.  Solar generation finally sits in the Energy dashboard
next to the rest of the house’s usage, which was the whole point.&lt;/p&gt;
&lt;h3 id=&quot;reflections&quot;&gt;Reflections&lt;/h3&gt;
&lt;p&gt;This was a fun, quick project, and it solved a problem that has eluded
me for a decade.  I want to be honest about how much of that is down
to the AI: I would not have attempted any of this on my own.  I could
not have told you the protocol existed, never mind implemented it.  My
contribution was everything involving a screwdriver, and ordering some
hardware.&lt;/p&gt; </description> 
	<pubDate>Sat, 10 Oct 2026 11:00:00 +0000</pubDate>

</item> 
<item>
	<title>Jelmer Vernooĳ: Mailsift: Extracting structured data from email messages</title>
	<guid>tag:www.jelmer.uk,2026-10-10:mailsift.html</guid>
	<link>https://www.jelmer.uk/mailsift.html</link>
     <description>  &lt;p&gt;As a casual user of Gmail, I find its ability to recognize when I’ve received
tickets, invoices, and flight confirmations, and to display this
information in a structured way, very useful. Flights appear directly in Google
Calendar, parcel delivery statuses are tracked, and reservations are easy to
find at a glance.&lt;/p&gt;
&lt;p&gt;However, my main email address is not Gmail, and I don’t want to migrate
to Gmail for a number of reasons (privacy, data sovereignty, vendor lock-in).
At the same time, I missed having that automatic extraction: having flight and
train bookings appear in my calendar without manual copy-pasting, keeping track
of incoming parcels, and having invoices neatly organized.&lt;/p&gt;
&lt;div class=&quot;section&quot; id=&quot;json-ld-and-schema-org&quot;&gt;
&lt;h2&gt;&lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt;-&lt;span class=&quot;caps&quot;&gt;LD&lt;/span&gt; and schema.org&lt;/h2&gt;
&lt;p&gt;There is an established standard format for structured data called
&lt;a class=&quot;reference external&quot; href=&quot;https://json-ld.org/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt;-&lt;span class=&quot;caps&quot;&gt;LD&lt;/span&gt;&lt;/a&gt;, which is used by Google and other search
engines to extract structured data from web pages. &lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt;-&lt;span class=&quot;caps&quot;&gt;LD&lt;/span&gt; represents linked
data using &lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt;, and it can be embedded directly in &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; documents.&lt;/p&gt;
&lt;p&gt;Email messages can also contain structured data in the form of &lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt;-&lt;span class=&quot;caps&quot;&gt;LD&lt;/span&gt;,
which can link the information in the email to external data sources. There are
standardized schemas for structured data in email messages, such as the
&lt;a class=&quot;reference external&quot; href=&quot;https://schema.org/&quot;&gt;schema.org&lt;/a&gt; vocabulary, which defines types and
properties for describing entities including flight reservations, train trips,
hotel bookings, parcel deliveries, and invoices.&lt;/p&gt;
&lt;p&gt;For example, an email containing a flight reservation might embed the following
&lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt;-&lt;span class=&quot;caps&quot;&gt;LD&lt;/span&gt; snippet:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;table class=&quot;highlighttable&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;linenos&quot;&gt;&lt;div class=&quot;linenodiv&quot;&gt;&lt;pre&gt;&lt;span class=&quot;normal&quot;&gt; 1&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 2&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 3&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 4&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 5&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 6&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 7&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 8&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 9&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;11&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;12&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;13&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;14&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;15&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;16&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;17&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;18&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;19&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;20&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;21&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;22&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;23&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot;&gt;&lt;div&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;@context&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;https://schema.org&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;FlightReservation&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;reservationNumber&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;ABC123&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;underName&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Person&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;name&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;John Doe&quot;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;reservationFor&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Flight&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;flightNumber&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;AA123&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;departureAirport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Airport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;name&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;John F. Kennedy International Airport&quot;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;arrivalAirport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Airport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;name&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Los Angeles International Airport&quot;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;departureTime&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;2026-11-01T10:00:00-05:00&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;arrivalTime&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;2026-11-01T13:00:00-08:00&quot;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;When this is present, reading email data is clean and straightforward. The
reality, however, is that only a fraction of vendors actually include
schema.org markup in their emails. Most airlines, train operators, couriers, and
web shops still send regular &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; or plain-text messages with arbitrary layouts
that change over time.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;mailsift&quot;&gt;
&lt;h2&gt;Mailsift&lt;/h2&gt;
&lt;p&gt;To bridge this gap on my own infrastructure, I built &lt;a class=&quot;reference external&quot; href=&quot;https://github.com/jelmer/mailsift/&quot;&gt;mailsift&lt;/a&gt;. Written in Rust, it is a daemon and &lt;span class=&quot;caps&quot;&gt;CLI&lt;/span&gt;
tool that monitors incoming email, extracts structured information, and routes
it to standard files and services.&lt;/p&gt;
&lt;p&gt;Rather than locking data into an internal database, mailsift embraces the Unix
philosophy: it delegates extraction to small, isolated programs and files the
resulting structured artifacts into standard formats and protocols:&lt;/p&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;strong&gt;Calendar events &lt;span class=&quot;amp&quot;&gt;&amp;amp;&lt;/span&gt; reservations&lt;/strong&gt;: Turned into iCalendar (&lt;tt class=&quot;docutils literal&quot;&gt;.ics&lt;/tt&gt;) events and
pushed directly to a CalDAV server (such as &lt;a class=&quot;reference external&quot; href=&quot;https://www.jelmer.uk/xandikos/&quot;&gt;Xandikos&lt;/a&gt;)
or stored in a local directory.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Bills &lt;span class=&quot;amp&quot;&gt;&amp;amp;&lt;/span&gt; invoices&lt;/strong&gt;: Extracted as structured &lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt; records, organized by year,
and optionally synced to a personal finance manager like &lt;a class=&quot;reference external&quot; href=&quot;https://www.firefly-iii.org/&quot;&gt;Firefly &lt;span class=&quot;caps&quot;&gt;III&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Parcels&lt;/strong&gt;: Extracted as delivery records keyed by tracking number, merged
across status update emails, and optionally registered with tracking APIs like 17track or Karrio.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tickets &lt;span class=&quot;amp&quot;&gt;&amp;amp;&lt;/span&gt; boarding passes&lt;/strong&gt;: Saved as PDFs, Apple Wallet passes (&lt;tt class=&quot;docutils literal&quot;&gt;.pkpass&lt;/tt&gt;),
or images, accompanied by &lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt; metadata sidecars linking them to the booking.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Receipts &lt;span class=&quot;amp&quot;&gt;&amp;amp;&lt;/span&gt; orders&lt;/strong&gt;: Filed as &lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt; records, synced over WebDAV, or forwarded
via email.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;how-extractors-work&quot;&gt;
&lt;h2&gt;How extractors work&lt;/h2&gt;
&lt;p&gt;Mailsift decouples the pipeline that handles emails from the logic that parses
individual vendors. It discovers extractors from a directory of manifests.&lt;/p&gt;
&lt;p&gt;The contract between mailsift and an extractor is deliberately simple:&lt;/p&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;strong&gt;Input&lt;/strong&gt;: The raw &lt;span class=&quot;caps&quot;&gt;RFC822&lt;/span&gt; message is fed to the extractor on &lt;tt class=&quot;docutils literal&quot;&gt;stdin&lt;/tt&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Execution&lt;/strong&gt;: The extractor runs in a fresh, temporary working directory,
with a strict timeout (typically 10 seconds).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Output&lt;/strong&gt;: The extractor writes zero or more named artifact files into its
working directory and exits 0.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Extractors can be written in any programming language. In practice, most are
small Python scripts that parse &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; with regexes or BeautifulSoup, using a
small helper library (&lt;tt class=&quot;docutils literal&quot;&gt;mailsift_extractor&lt;/tt&gt;) that handles Unicode normalization
and &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; body stripping.&lt;/p&gt;
&lt;div class=&quot;section&quot; id=&quot;filtering-and-dkim-verification&quot;&gt;
&lt;h3&gt;Filtering and &lt;span class=&quot;caps&quot;&gt;DKIM&lt;/span&gt; verification&lt;/h3&gt;
&lt;p&gt;Spawning a subprocess for every single email in an active inbox would be
wasteful. Each extractor therefore has a &lt;span class=&quot;caps&quot;&gt;YAML&lt;/span&gt; manifest declaring prefiltering criteria:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;table class=&quot;highlighttable&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;linenos&quot;&gt;&lt;div class=&quot;linenodiv&quot;&gt;&lt;pre&gt;&lt;span class=&quot;normal&quot;&gt; 1&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 2&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 3&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 4&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 5&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 6&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 7&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 8&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 9&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;10&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot;&gt;&lt;div&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l l-Scalar l-Scalar-Plain&quot;&gt;easyjet&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;order&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l l-Scalar l-Scalar-Plain&quot;&gt;50&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;from_domains&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p p-Indicator&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l l-Scalar l-Scalar-Plain&quot;&gt;easyjet.com&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p p-Indicator&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;*.easyjet.com&quot;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;subject_regex&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;(?i)easyJet&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;booking&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;reference&quot;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;requires&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p p-Indicator&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l l-Scalar l-Scalar-Plain&quot;&gt;html&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;require_dkim&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p p-Indicator&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l l-Scalar l-Scalar-Plain&quot;&gt;easyjet.com&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;Before running an extractor, mailsift evaluates the message headers and &lt;span class=&quot;caps&quot;&gt;MIME&lt;/span&gt;
structure - possibly converting it to an &lt;span class=&quot;caps&quot;&gt;IMAP&lt;/span&gt; filter. If the sender domain or
subject doesn’t match, or the required &lt;span class=&quot;caps&quot;&gt;MIME&lt;/span&gt; parts are missing, the extractor is
skipped immediately.&lt;/p&gt;
&lt;p&gt;Crucially, the manifest can also require a valid &lt;span class=&quot;caps&quot;&gt;DKIM&lt;/span&gt; signature via
&lt;tt class=&quot;docutils literal&quot;&gt;require_dkim&lt;/tt&gt;. Mailsift inspects the &lt;tt class=&quot;docutils literal&quot;&gt;&lt;span class=&quot;pre&quot;&gt;Authentication-Results:&lt;/span&gt;&lt;/tt&gt; header
produced by the receiving mail server. This guarantees that an extractor only
processes messages that genuinely originated from the vendor’s domain,
preventing forged emails from injecting fake calendar events or bills.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;generic-vs-vendor-extractors&quot;&gt;
&lt;h3&gt;Generic vs. vendor extractors&lt;/h3&gt;
&lt;p&gt;Extractors fall into two categories:&lt;/p&gt;
&lt;ol class=&quot;arabic simple&quot;&gt;
&lt;li&gt;&lt;strong&gt;Generic extractors&lt;/strong&gt;: &lt;tt class=&quot;docutils literal&quot;&gt;&lt;span class=&quot;pre&quot;&gt;schema-ld&lt;/span&gt;&lt;/tt&gt; inspects the &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; for any
&lt;tt class=&quot;docutils literal&quot;&gt;&amp;lt;script &lt;span class=&quot;pre&quot;&gt;type=&quot;application/ld+json&quot;&amp;gt;&lt;/span&gt;&lt;/tt&gt; blocks conforming to schema.org
reservations. Another extractor, &lt;tt class=&quot;docutils literal&quot;&gt;&lt;span class=&quot;pre&quot;&gt;ics-passthrough&lt;/span&gt;&lt;/tt&gt;, extracts standard
iCalendar attachments.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Vendor-specific extractors&lt;/strong&gt;: For vendors that don’t include structured
markup, dedicated extractors parse the message text. For instance, the
&lt;tt class=&quot;docutils literal&quot;&gt;easyjet&lt;/tt&gt; extractor looks for booking references and flight tables,
producing a standard &lt;tt class=&quot;docutils literal&quot;&gt;FlightReservation&lt;/tt&gt; artifact:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;table class=&quot;highlighttable&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;linenos&quot;&gt;&lt;div class=&quot;linenodiv&quot;&gt;&lt;pre&gt;&lt;span class=&quot;normal&quot;&gt; 1&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 2&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 3&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 4&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 5&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 6&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 7&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 8&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 9&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;11&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;12&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;13&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;14&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot;&gt;&lt;div&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;reservation&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;s2&quot;&gt;&quot;@context&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;https://schema.org&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;s2&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;FlightReservation&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;s2&quot;&gt;&quot;reservationNumber&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sa&quot;&gt;f&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;easyjet-&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;reference&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;flight_no&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;s2&quot;&gt;&quot;reservationFor&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
        &lt;span class=&quot;s2&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Flight&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
        &lt;span class=&quot;s2&quot;&gt;&quot;flightNumber&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;flight_no&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
        &lt;span class=&quot;s2&quot;&gt;&quot;departureAirport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Airport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;name&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;origin&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
        &lt;span class=&quot;s2&quot;&gt;&quot;arrivalAirport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Airport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;name&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;dest&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
        &lt;span class=&quot;s2&quot;&gt;&quot;departureTime&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;dep&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;isoformat&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(),&lt;/span&gt;
        &lt;span class=&quot;s2&quot;&gt;&quot;arrivalTime&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;arr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;isoformat&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(),&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;Path&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sa&quot;&gt;f&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;slug&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;.reservation.json&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;write_text&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;json&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;dumps&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;reservation&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;The collection of extractors is maintained in a separate repository,
&lt;a class=&quot;reference external&quot; href=&quot;https://github.com/jelmer/mailsift-extractors&quot;&gt;mailsift-extractors&lt;/a&gt;, and
currently includes nearly 60 extractors covering airlines (British Airways, &lt;span class=&quot;caps&quot;&gt;KLM&lt;/span&gt;,
EasyJet, Transavia, Eurostar), transport (&lt;span class=&quot;caps&quot;&gt;NS&lt;/span&gt;, &lt;span class=&quot;caps&quot;&gt;SNCF&lt;/span&gt; Connect, FlixBus), package
carriers (Royal Mail, &lt;span class=&quot;caps&quot;&gt;DPD&lt;/span&gt;, &lt;span class=&quot;caps&quot;&gt;DHL&lt;/span&gt;, &lt;span class=&quot;caps&quot;&gt;UPS&lt;/span&gt;, Evri, PostNL), online orders, and utility bills.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;handling-forwarded-mail&quot;&gt;
&lt;h2&gt;Handling forwarded mail&lt;/h2&gt;
&lt;p&gt;In real life, travel bookings or receipts are often forwarded by family,
friends, or colleagues. By default, forwarded mail would fail sender checks, and
&lt;span class=&quot;caps&quot;&gt;DKIM&lt;/span&gt; signatures on inline forwards are broken by mail clients.&lt;/p&gt;
&lt;p&gt;Mailsift handles this via a &lt;tt class=&quot;docutils literal&quot;&gt;trusted_forwarders&lt;/tt&gt; configuration. When an email
arrives from a trusted forwarder, mailsift unwraps the forwarded message:&lt;/p&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;strong&gt;Attachment forwards&lt;/strong&gt;: If the original email was attached as
&lt;tt class=&quot;docutils literal&quot;&gt;message/rfc822&lt;/tt&gt;, mailsift extracts the original message and re-evaluates
the vendor’s &lt;span class=&quot;caps&quot;&gt;DKIM&lt;/span&gt; signature on the inner message.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Inline forwards&lt;/strong&gt;: Mailsift reconstructs a synthetic &lt;span class=&quot;caps&quot;&gt;RFC822&lt;/span&gt; message from the
client’s forwarded quotation header block and quotes, deriving a deterministic
Message-&lt;span class=&quot;caps&quot;&gt;ID&lt;/span&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This means hotel confirmations or flight tickets forwarded by a partner still
end up in the family calendar automatically.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;running-mailsift&quot;&gt;
&lt;h2&gt;Running mailsift&lt;/h2&gt;
&lt;p&gt;Mailsift fits into existing email setups in several ways:&lt;/p&gt;
&lt;div class=&quot;section&quot; id=&quot;dovecot-sieve&quot;&gt;
&lt;h3&gt;Dovecot Sieve&lt;/h3&gt;
&lt;p&gt;For local delivery, Sieve provides an elegant integration using the
&lt;tt class=&quot;docutils literal&quot;&gt;sieve_extprograms&lt;/tt&gt; plugin. Because Sieve runs during local delivery after
Dovecot has validated &lt;span class=&quot;caps&quot;&gt;DKIM&lt;/span&gt; and added &lt;tt class=&quot;docutils literal&quot;&gt;&lt;span class=&quot;pre&quot;&gt;Authentication-Results:&lt;/span&gt;&lt;/tt&gt;,
&lt;tt class=&quot;docutils literal&quot;&gt;require_dkim&lt;/tt&gt; checks work as expected:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;table class=&quot;highlighttable&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;linenos&quot;&gt;&lt;div class=&quot;linenodiv&quot;&gt;&lt;pre&gt;&lt;span class=&quot;normal&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;2&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot;&gt;&lt;div&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;require&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;vnd.dovecot.pipe&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;];&lt;/span&gt;
&lt;span class=&quot;err&quot;&gt;pipe&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;:copy&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;mailsift&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;The &lt;tt class=&quot;docutils literal&quot;&gt;:copy&lt;/tt&gt; flag ensures the email continues to the user’s inbox while a copy
is piped through mailsift.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;imap-watching&quot;&gt;
&lt;h3&gt;&lt;span class=&quot;caps&quot;&gt;IMAP&lt;/span&gt; watching&lt;/h3&gt;
&lt;p&gt;If you don’t run your own mail server, or want to process mail on an existing
remote mailbox, &lt;tt class=&quot;docutils literal&quot;&gt;&lt;span class=&quot;pre&quot;&gt;imap-scan&lt;/span&gt;&lt;/tt&gt; connects over &lt;span class=&quot;caps&quot;&gt;IMAP&lt;/span&gt;:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;mailsift&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;imap-scan&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;imaps://user@mail.example.com/INBOX&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;--password-file&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;~/.config/mailsift/imap.pass&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;--watch
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;With &lt;tt class=&quot;docutils literal&quot;&gt;&lt;span class=&quot;pre&quot;&gt;--watch&lt;/span&gt;&lt;/tt&gt;, mailsift uses &lt;span class=&quot;caps&quot;&gt;IMAP&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;IDLE&lt;/span&gt; (&lt;span class=&quot;caps&quot;&gt;RFC&lt;/span&gt; 2177) to wait for new messages
and process them as they arrive. It supports standard passwords, Kerberos (&lt;span class=&quot;caps&quot;&gt;SASL&lt;/span&gt;
&lt;span class=&quot;caps&quot;&gt;GSSAPI&lt;/span&gt;), and OAuth2 (&lt;span class=&quot;caps&quot;&gt;XOAUTH2&lt;/span&gt;) for providers like Gmail and Microsoft 365 via
an interactive &lt;tt class=&quot;docutils literal&quot;&gt;mailsift &lt;span class=&quot;pre&quot;&gt;imap-auth&lt;/span&gt;&lt;/tt&gt; flow.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;other-modes&quot;&gt;
&lt;h3&gt;Other modes&lt;/h3&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;strong&gt;Postfix Milter&lt;/strong&gt;: &lt;tt class=&quot;docutils literal&quot;&gt;mailsift milter&lt;/tt&gt; runs as an &lt;span class=&quot;caps&quot;&gt;MTA&lt;/span&gt; filter, processing
messages in real-time as they pass through Postfix.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maildir scan&lt;/strong&gt;: &lt;tt class=&quot;docutils literal&quot;&gt;mailsift &lt;span class=&quot;pre&quot;&gt;maildir-scan&lt;/span&gt;&lt;/tt&gt; walks an on-disk Maildir folder,
useful for backfilling historical mail.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Replay&lt;/strong&gt;: &lt;tt class=&quot;docutils literal&quot;&gt;mailsift replay message.eml&lt;/tt&gt; runs extractors on a single
saved message file, which is invaluable when writing or testing an extractor.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;web-ui-and-rest-api&quot;&gt;
&lt;h2&gt;Web &lt;span class=&quot;caps&quot;&gt;UI&lt;/span&gt; and &lt;span class=&quot;caps&quot;&gt;REST&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;In addition to routing data to CalDAV and disk, mailsift includes an optional
read-only web dashboard (&lt;tt class=&quot;docutils literal&quot;&gt;mailsift web&lt;/tt&gt;):&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;mailsift&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;web&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--listen&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;127&lt;/span&gt;.0.0.1:8088
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The dashboard provides an overview of upcoming trips, arriving packages,
unpaid bills, and recent orders. It rescans the artifact directories on request,
so it stays in sync with incoming mail without needing a separate database.
&lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt; endpoints (such as &lt;tt class=&quot;docutils literal&quot;&gt;/api/parcels.json&lt;/tt&gt; or &lt;tt class=&quot;docutils literal&quot;&gt;/api/bills.json&lt;/tt&gt;) are also
available for custom status scripts or home automation dashboards.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;status-and-getting-involved&quot;&gt;
&lt;h2&gt;Status and getting involved&lt;/h2&gt;
&lt;p&gt;Mailsift has been running reliably on my mail server for over a year, and having
flights, hotel bookings, and train journeys seamlessly sync into my calendar
without relying on proprietary cloud services has been very satisfying.&lt;/p&gt;
&lt;p&gt;The project is free software under the &lt;span class=&quot;caps&quot;&gt;GPL&lt;/span&gt;-3.0:&lt;/p&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;a class=&quot;reference external&quot; href=&quot;https://github.com/jelmer/mailsift&quot;&gt;mailsift&lt;/a&gt; (the Rust core daemon and &lt;span class=&quot;caps&quot;&gt;CLI&lt;/span&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;reference external&quot; href=&quot;https://github.com/jelmer/mailsift-extractors&quot;&gt;mailsift-extractors&lt;/a&gt; (the collection of extractor scripts)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Adding support for new vendors only requires writing a small &lt;span class=&quot;caps&quot;&gt;YAML&lt;/span&gt; manifest and a
Python script with a couple of regexes. If you have vendors you’d like to
extract data from, contributions of new extractors are very welcome!&lt;/p&gt;
&lt;/div&gt; </description> 
	<pubDate>Sat, 10 Oct 2026 10:00:00 +0000</pubDate>

</item> 
<item>
	<title>Colin Watson: Free software activity in September 2026</title>
	<guid>tag:www.chiark.greenend.org.uk,2026-10-09:/~cjwatson/blog/activity-2026-09.html</guid>
	<link>https://www.chiark.greenend.org.uk/~cjwatson/blog/activity-2026-09.html</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/cjwatson.png&quot; width=&quot;70&quot; height=&quot;82&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;My Debian contributions this month were all &lt;a href=&quot;https://www.freexian.com/about/debian-contributions/&quot;&gt;sponsored&lt;/a&gt; by Freexian.&lt;/p&gt;
&lt;p&gt;You can also support my work directly via &lt;a href=&quot;https://liberapay.com/cjwatson&quot;&gt;Liberapay&lt;/a&gt; or &lt;a href=&quot;https://github.com/sponsors/cjwatson&quot;&gt;GitHub Sponsors&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;OpenSSH&lt;/h2&gt;
&lt;p&gt;I worked with upstream to &lt;a href=&quot;https://bugzilla.mindrot.org/show_bug.cgi?id=3996&quot;&gt;remove libselinux linkage from &lt;code&gt;/usr/sbin/sshd&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I applied a fix from Mark Robillard Jr to &lt;a href=&quot;https://bugs.debian.org/1148188&quot;&gt;fix &lt;code&gt;reload&lt;/code&gt; logic when using sysvinit&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;groff&lt;/h2&gt;
&lt;p&gt;I upgraded from 1.24.1 to 1.24.2, which fixed a few command injection security vulnerabilities.&lt;/p&gt;
&lt;h2&gt;parted&lt;/h2&gt;
&lt;p&gt;I upgraded from 3.7 to 3.8, which fixed &lt;a href=&quot;https://bugs.debian.org/1148169&quot;&gt;&lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-89085 and &lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-89088&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Python packaging&lt;/h2&gt;
&lt;p&gt;New upstream versions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;beaker (&lt;a href=&quot;https://github.com/bbangert/beaker/pull/260&quot;&gt;contributed supporting fix upstream&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;bitstruct&lt;/li&gt;
&lt;li&gt;cachelib&lt;/li&gt;
&lt;li&gt;dep-logic&lt;/li&gt;
&lt;li&gt;django-guardian&lt;/li&gt;
&lt;li&gt;django-oauth-toolkit (fixing &lt;a href=&quot;https://bugs.debian.org/1088489&quot;&gt;use of an old Bootstrap version&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;django-polymorphic (&lt;a href=&quot;https://github.com/django-commons/django-polymorphic/pull/917&quot;&gt;contributed supporting fix upstream&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;djangorestframework (fixing &lt;a href=&quot;https://bugs.debian.org/1144350&quot;&gt;&lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-73228 and &lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-73229&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;flask-security&lt;/li&gt;
&lt;li&gt;isort&lt;/li&gt;
&lt;li&gt;langtable&lt;/li&gt;
&lt;li&gt;magic-wormhole-mailbox-server (fixing &lt;a href=&quot;https://bugs.debian.org/1147779&quot;&gt;use of &lt;code&gt;pkg_resources&lt;/code&gt;&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;multipart&lt;/li&gt;
&lt;li&gt;nagiosplugin&lt;/li&gt;
&lt;li&gt;poetry-plugin-export&lt;/li&gt;
&lt;li&gt;proglog (fixing &lt;a href=&quot;https://bugs.debian.org/1147781&quot;&gt;use of &lt;code&gt;pkg_resources&lt;/code&gt;&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;prospector (fixing &lt;a href=&quot;https://bugs.debian.org/1147884&quot;&gt;use of &lt;code&gt;pkg_resources&lt;/code&gt;&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;pybind11-stubgen&lt;/li&gt;
&lt;li&gt;pydantic&lt;/li&gt;
&lt;li&gt;pydantic-core&lt;/li&gt;
&lt;li&gt;pytest-rerunfailures&lt;/li&gt;
&lt;li&gt;python-anyio (fixing &lt;a href=&quot;https://bugs.debian.org/1148561&quot;&gt;&lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-63349, &lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-63374, and &lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-64847&lt;/a&gt; and a &lt;a href=&quot;https://bugs.debian.org/1145839&quot;&gt;build failure on Python 3.15&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;python-asttokens&lt;/li&gt;
&lt;li&gt;python-asyncvarlink&lt;/li&gt;
&lt;li&gt;python-blockbuster (fixing a &lt;a href=&quot;https://bugs.debian.org/1145094&quot;&gt;build failure on Python 3.15&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;python-btrees&lt;/li&gt;
&lt;li&gt;python-django-health-check&lt;/li&gt;
&lt;li&gt;python-django-otp&lt;/li&gt;
&lt;li&gt;python-django-simple-history&lt;/li&gt;
&lt;li&gt;python-email-validator&lt;/li&gt;
&lt;li&gt;python-forbiddenfruit&lt;/li&gt;
&lt;li&gt;python-ldap&lt;/li&gt;
&lt;li&gt;python-linuxnamespaces&lt;/li&gt;
&lt;li&gt;python-plaster-pastedeploy&lt;/li&gt;
&lt;li&gt;python-pydash&lt;/li&gt;
&lt;li&gt;python-pyzipper (fixing &lt;a href=&quot;https://bugs.debian.org/1142473&quot;&gt;&lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-44722&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;python-quart-trio&lt;/li&gt;
&lt;li&gt;python-rich-click (fixing &lt;a href=&quot;https://bugs.debian.org/1146708&quot;&gt;harlequin&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;python-repoze.lru&lt;/li&gt;
&lt;li&gt;python-repoze.tm2 (fixing &lt;a href=&quot;https://bugs.debian.org/1147804&quot;&gt;use of &lt;code&gt;pkg_resources&lt;/code&gt;&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;python-time-machine&lt;/li&gt;
&lt;li&gt;python-urllib3 (&lt;a href=&quot;https://github.com/urllib3/urllib3/issues/5268&quot;&gt;filed upstream issue with recent Python 3.14 versions&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;python-vblf&lt;/li&gt;
&lt;li&gt;quart&lt;/li&gt;
&lt;li&gt;responses&lt;/li&gt;
&lt;li&gt;sphinx-autodoc-typehints&lt;/li&gt;
&lt;li&gt;storm (fixing a &lt;a href=&quot;https://bugs.debian.org/1147456&quot;&gt;build failure with Python 3.15&lt;/a&gt;, which I &lt;a href=&quot;https://code.launchpad.net/~beenje/storm/+git/storm/+merge/510985&quot;&gt;helped to land upstream&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;trove-classifiers&lt;/li&gt;
&lt;li&gt;twine&lt;/li&gt;
&lt;li&gt;vdirsyncer&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;setuptools 84 is now in Debian and no longer contains &lt;code&gt;pkg_resources&lt;/code&gt;.  Removing uses of that module has been an ongoing project for a while now, but I did another batch of fixes this month:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147770&quot;&gt;flufl.password&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147774&quot;&gt;junos-eznc&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147793&quot;&gt;python-decopatch&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147419&quot;&gt;python-launchpadlib&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147381&quot;&gt;python-plaster-pastedeploy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147909&quot;&gt;python-pyramid-retry&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147863&quot;&gt;sphinxcontrib-log-cabinet&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147921&quot;&gt;sphinxcontrib-restbuilder&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147868&quot;&gt;straight.plugin&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A new python-coverage version triggered several build regressions due to a &lt;a href=&quot;https://github.com/pytest-dev/pytest-cov/issues/755&quot;&gt;known problem in pytest-cov&lt;/a&gt;.  I worked around these by setting &lt;code&gt;COVERAGE_CORE=ctrace&lt;/code&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149403&quot;&gt;aiosignal&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149419&quot;&gt;frozenlist&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149462&quot;&gt;python-cheroot&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149466&quot;&gt;python-propcache&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Other build/test failures:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148088&quot;&gt;afew&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148091&quot;&gt;django-downloadview&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149171&quot;&gt;django-filter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149414&quot;&gt;django-polymorphic&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149172&quot;&gt;drf-haystack&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149549&quot;&gt;drf-yasg-nonfree&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148201&quot;&gt;pydantic-core&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147551&quot;&gt;pylint&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148098&quot;&gt;pytest-openfiles&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148097&quot;&gt;pytest-remotedata&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148099&quot;&gt;python-aiohttp-oauthlib&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147893&quot;&gt;python-cron-descriptor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147794&quot;&gt;python-django-nh3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147903&quot;&gt;python-graphene&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147905&quot;&gt;python-pydash&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148102&quot;&gt;python-pysolr&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1146407&quot;&gt;python-time-machine&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147912&quot;&gt;python-vblf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147917&quot;&gt;social-auth-core&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149489&quot;&gt;sphinx-book-theme&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147458&quot;&gt;tagpy: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt; against python 3.15rc2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149491&quot;&gt;tagpy: TypeError: ‘include_dirs’ (if supplied) must be a list of strings&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147923&quot;&gt;typer&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I investigated a &lt;a href=&quot;https://bugs.debian.org/1148202&quot;&gt;build failure in python-proton-vpn-local-agent&lt;/a&gt; and &lt;a href=&quot;https://github.com/ProtonVPN/local-agent-rs/pull/19&quot;&gt;proposed a fix upstream&lt;/a&gt;, but I’m not comfortable applying this in Debian without review.  If you’re familiar with this code, please take a look.&lt;/p&gt;
&lt;p&gt;I fixed some other bugs:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147346&quot;&gt;python-pycudwt: Requires manual rebuild for python3.14-only transition&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1048656&quot;&gt;python-testing.postgresql: Fails to build source after successful build&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147341&quot;&gt;tomopy: Requires manual rebuild for python3.14-only transition&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1045487&quot;&gt;typer: Fails to build source after successful build&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1046537&quot;&gt;vdirsyncer: Fails to build source after successful build&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Rust packaging&lt;/h2&gt;
&lt;p&gt;rust-derivre had an &lt;a href=&quot;https://bugs.debian.org/1149034&quot;&gt;invalid &lt;code&gt;Section&lt;/code&gt; field&lt;/a&gt;, which I cleaned up.&lt;/p&gt; </description> 
	<pubDate>Fri, 09 Oct 2026 12:46:28 +0000</pubDate>

</item> 
<item>
	<title>Louis-Philippe Véronneau: Removing myself as a Lintian uploader in the next few weeks</title>
	<guid>tag:veronneau.org,2026-10-09:/removing-myself-as-a-lintian-uploader-in-the-next-few-weeks.html</guid>
	<link>https://veronneau.org/removing-myself-as-a-lintian-uploader-in-the-next-few-weeks.html</link>
     <description>  &lt;img src=&quot;http://planet.debian.org/heads/pollo.png&quot; width=&quot;65&quot; height=&quot;70&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt;  &lt;p&gt;A few days ago, a colleague reached out to me, asking if I could help draft a
resolution on digital autonomy and free software for the upcoming renewal of
our collective bargaining agreement. Although she&#39;s very politicised and
generally a great individual, she is not a techie and we never really talked
about these issues before.&lt;/p&gt;
&lt;p&gt;This took me by surprise. I should have been rejoicing; no, I should have been
the one who brought up this topic in our union. Wasn&#39;t I the technical expert
on these issues? But alas, my first reaction when she came to me was to snicker
and tell myself: &quot;That&#39;s cute, but nothing&#39;s ever gonna change, Big Tech is too
strong and our governments don&#39;t give a damn.&quot;&lt;/p&gt;
&lt;p&gt;How sad and cynical is that? That&#39;s not the person I want to be.&lt;/p&gt;
&lt;p&gt;Something in the Quebecois political landscape has shifted in the last few
years with regards to tech. More and more &quot;regular&quot; people seem to be talking
about the importance of digital autonomy, how government services shouldn&#39;t
rely on Big Tech and how we should be using FOSS on hardware we actually
control.&lt;/p&gt;
&lt;p&gt;A few years ago, I would have been at the vanguard of this change. I would have
been part of the creation of &lt;a href=&quot;https://www.donneessouveraines.quebec/&quot;&gt;Données souveraines Québec&lt;/a&gt;. Heck, they are
organising &lt;a href=&quot;https://www.donneessouveraines.quebec/evenements/forum-dsq-2026&quot;&gt;a whole conference&lt;/a&gt; next week and I&#39;m not even going. How did
this happen to me?&lt;/p&gt;
&lt;p&gt;I first fell for Free Software for its political ideals: Knowledge Should Be
Free, Cooperation Is More Efficient Than Competition, Centralisation Should Be
Avoided When Possible, etc. I still believe in all of this, but somehow, after
years of fighting for change in the tech world, I have retreated into technical
work. I maintain Debian packages as a hobby and to scratch my own itch. I run
services for myself and a few friends. I organise Debian User Group meetings.&lt;/p&gt;
&lt;p&gt;To be clear, I haven&#39;t generally given up. I&#39;m very politically active in my
union and at work, I&#39;m a good member of my housing cooperative and I&#39;m still
fighting &lt;a href=&quot;https://resisteretfleurir.info/&quot;&gt;against the industrialisation of natural spaces in my
neighborhood&lt;/a&gt;. But when it comes time to defend freedom in the tech
world, lately, I&#39;ve just been shrugging and accepting I should use Microsoft
Teams like every one else does. I want this to change and to do so, I need to
free some time.&lt;/p&gt;
&lt;h2&gt;Lintian&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;https://salsa.debian.org/lintian/lintian/-/commit/58c0efd67f95fa6d5a19346dabed574d56dd654e&quot;&gt;Two years ago&lt;/a&gt;, I added myself to Lintian&#39;s Uploaders list. Up until
then&lt;sup id=&quot;fnref:while&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fn:while&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;, I enjoyed fixing little issues here and there and liked creating
new tags to help out the Python Team, where most of my Debian time was spent.&lt;/p&gt;
&lt;p&gt;Lintian was badly in need of a new maintainer and as I felt it was an important
project, I decided to step in. 37 releases and about 160 closed bugs
later&lt;sup id=&quot;fnref:others&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fn:others&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;, I&#39;m done.&lt;/p&gt;
&lt;p&gt;To be honest, I haven&#39;t had much fun maintaining Lintian lately. Bugs keep
piling on the BTS, so much so I have mostly been ignoring them for the past few
months. In fact, most of the actual work triaging, writing code and fixing bug
&lt;a href=&quot;https://salsa.debian.org/lintian/lintian/-/merge_requests/?state=merged&amp;amp;author_username=nilesh&quot;&gt;has been done by Nilesh Patra&lt;/a&gt; for a while now.&lt;/p&gt;
&lt;p&gt;All this to say, if you care about Lintian, you should consider adding yourself
to the Uploaders list, as I&#39;m out and Nilesh can&#39;t do all the work by himself.&lt;/p&gt;
&lt;p&gt;He&#39;s a great person to work with and since I don&#39;t want to suddenly leave him
all alone, I&#39;ll be sticking around for a few more weeks in the hope someone
else will volunteer to help out. A smooth transition with a new co-maintainer
would really be nice!&lt;/p&gt;
&lt;p&gt;If you&#39;re interested, don&#39;t hesitate to reach out to me on IRC or by email.&lt;/p&gt;
&lt;div class=&quot;footnote&quot;&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id=&quot;fn:while&quot;&gt;
&lt;p&gt;My first technical commit to Lintian was nearly &lt;a href=&quot;https://salsa.debian.org/lintian/lintian/-/commit/025a7ee7b81c25e4746a4217e7e1a6286c118754&quot;&gt;7 years
ago&lt;/a&gt;! Crazy how time flies. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fnref:while&quot; title=&quot;Jump back to footnote 1 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:others&quot;&gt;
&lt;p&gt;Mostly closed by other people than I! &lt;a class=&quot;footnote-backref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fnref:others&quot; title=&quot;Jump back to footnote 2 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt; </description> 
	<pubDate>Fri, 09 Oct 2026 04:00:00 +0000</pubDate>

</item> 
<item>
	<title>Antoine Beaupré: PSA: Europe changes time forward soon, North America next, for the last time?</title>
	<guid>https://anarc.at/blog/2026-10-08-dst-warning/</guid>
	<link>https://anarc.at/blog/2026-10-08-dst-warning/</link>
     <description>  &lt;blockquote&gt;&lt;p&gt;This is a copy of an email I &lt;a href=&quot;https://lists.torproject.org/mailman3/hyperkitty/list/tor-project@lists.torproject.org/thread/P5YBMLD4VDI4QGAEC6HIPN34U3SVD42G/&quot;&gt;sent at work&lt;/a&gt;. I&#39;m not sure I
should be making noise about this here, feedback welcome.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;This is your bi-yearly reminder that time is changing soon! October 25th
in Europe, November 1st in North America. Less people in Canada are
changing this year, with BC, Alberta, Manitoba and Northwest
Territories getting rid of DST.&lt;/p&gt;

&lt;h1 id=&quot;whats-happening&quot;&gt;What&#39;s happening?&lt;/h1&gt;

&lt;p&gt;Some places in the world implement what is called Daylight saving time
or DST:&lt;/p&gt;

&lt;p&gt;https://en.wikipedia.org/wiki/Daylight_saving_time&lt;/p&gt;

&lt;p&gt;Normally, you shouldn&#39;t have to do anything: computers automatically
change time following local rules, assuming they are correctly
configured, provided recent updates have been applied in the case of a
recent change in said rules (because yes, this happens, and happened
this year, and yes, you need to upgrade your software!).&lt;/p&gt;

&lt;p&gt;Of course, appliances like your microwave oven will likely &lt;em&gt;not&lt;/em&gt; change
time and will need to adjusted unless they are so-called &quot;smart&quot;, in
which case they are part of the skynet botnet and should be destroyed.&lt;/p&gt;

&lt;p&gt;If your clock is flashing &quot;0:00&quot; or &quot;12:00&quot;, you have no action to take
to adapt to this change, lucky you.&lt;/p&gt;

&lt;p&gt;If you haven&#39;t changed time in six months, congratulations, your clock
will be accurate again!&lt;/p&gt;

&lt;p&gt;In any case, you should still consider DST because it might affect some
of your meeting schedules, particularly if you set up a new meeting
schedule in the last 6 months and forgot to consider this change.&lt;/p&gt;

&lt;h1 id=&quot;if-your-location-does-not-have-dst&quot;&gt;If your location does not have DST&lt;/h1&gt;

&lt;p&gt;Properly scheduled meetings affecting multiple time zones are set in UTC
time, which does &lt;em&gt;not&lt;/em&gt; change. So if your location does not observer
time changes, your (local!) meeting time will &lt;em&gt;not&lt;/em&gt; change.&lt;/p&gt;

&lt;p&gt;But be aware that some other folks attending your meeting &lt;em&gt;might&lt;/em&gt; have
the DST bug and &lt;em&gt;their&lt;/em&gt; meeting times will change.&lt;/p&gt;

&lt;p&gt;Be kind to those poor souls which might be missing meetings by a full
&lt;em&gt;hour&lt;/em&gt; because time flies backwards for them.&lt;/p&gt;

&lt;h1 id=&quot;if-you-do-observe-dst&quot;&gt;If you do observe DST&lt;/h1&gt;

&lt;p&gt;If you are affected by daylight savings, your &lt;em&gt;local&lt;/em&gt; meeting times
&lt;em&gt;will&lt;/em&gt; change for UTC meetings. Normally, your meeting times are
scheduled to take this into account and the new hours should be
reasonable.&lt;/p&gt;

&lt;p&gt;But now is a good time to verify that. Take a look at your schedule for
the next couple of weeks and reschedule meetings &lt;em&gt;before&lt;/em&gt; the daylight
saving come up to avoid too much disruption. You have only a couple of
weeks to do so right now.&lt;/p&gt;

&lt;h1 id=&quot;when-do-times-change-how-and-and-where&quot;&gt;When do times change, how, and and where?&lt;/h1&gt;

&lt;p&gt;As regular readers will remember, the rule of thumb is:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Spring forward, fall backwards.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;That is, during the season of Spring, the clocks move forward, and
during the Fall (like right now), they move backwards. That is in the
northern hemisphere, but then the southern hemisphere is often saner and
doesn&#39;t switch anyways.&lt;/p&gt;

&lt;p&gt;So time will move &lt;em&gt;backwards&lt;/em&gt; which means an extra hour of sleep. Unless
you have children or bad sleep, in which case your body doesn&#39;t care
about what the clock says and will wake up one hour earlier than what it
should.&lt;/p&gt;

&lt;p&gt;And of course, this doesn&#39;t happen everywhere at once, so let&#39;s see when
it happens where.&lt;/p&gt;

&lt;h2 id=&quot;europe&quot;&gt;Europe&lt;/h2&gt;

&lt;p&gt;The dance starts in Europe.&lt;/p&gt;

&lt;p&gt;The change happens on the last Sunday in October at 01:00 UTC (not local
time!), that is October 25th. If you are in the central European
timezone, also known as Amsterdam, Berlin, or Paris time depending on
your national affiliation, that essentially means that at 2:59 local the
clocks will fall back to 2:00 instead of going to 3:00.&lt;/p&gt;

&lt;p&gt;Concretely, set your watch back one hour before going to bed, go to bed
at the normal time, and enjoy an extra hour of sleep or leisure.&lt;/p&gt;

&lt;p&gt;If you have kids, you might want to start getting them to bed slightly
earlier every day for a week before the change so they take time getting
used to the change. If you have trouble sleeping in the morning, find
your inner child and do that to yourself as well.&lt;/p&gt;

&lt;h2 id=&quot;usa-canada&quot;&gt;USA / Canada&lt;/h2&gt;

&lt;p&gt;Then it&#39;s the US[1] and Canada[2] joining the dance, on the First Sunday in
November at 02:00 local (not UTC!), that is, I believe, November 1st
2026.&lt;/p&gt;

&lt;p&gt;This means that, at 1:59, the clocks will flip to 1:00, instead of 2:00.&lt;/p&gt;

&lt;p&gt;Concretely, do like the Europeans and tweak your clock before going to
bed.&lt;/p&gt;

&lt;p&gt;That is a little less than four weeks from now.&lt;/p&gt;

&lt;p&gt;[1] except Arizona (except the Navajo nation), US territories, and
Hawaii&lt;/p&gt;

&lt;p&gt;[2] except Yukon, Saskatchewan, (newly) British Columbia, (newly)
Alberta, (newly) Northwest Territories, (newly) Manitoba, one island in
Nunavut (Southampton Island), one town in Ontario (Atikokan) and small
parts of Quebec (Le Golfe-du-Saint-Laurent)&lt;/p&gt;

&lt;h2 id=&quot;other-places-with-dst&quot;&gt;Other places with DST&lt;/h2&gt;

&lt;p&gt;This time again, I must apologize to the people of Cuba, Lebanon,
Israel, Palestine, Egypt, Chile, Australia, and New Zealand, as you fine
folks all have your own DST rules that are omitted here for brevity. I
rely on this page from Wikipedia to be updated by time nerds accurately
for this message, and it should provide you with a rough idea of what&#39;s
coming:&lt;/p&gt;

&lt;p&gt;https://en.wikipedia.org/wiki/Daylight_saving_time_by_country&lt;/p&gt;

&lt;p&gt;In general, changes also happen in October, but either on different
times or different days, except in the south hemisphere, where they
might happen in September (oops, sorry NZ folks, I&#39;m late!).&lt;/p&gt;

&lt;h2 id=&quot;places-without-dst&quot;&gt;Places without DST&lt;/h2&gt;

&lt;p&gt;Everyone else, enjoy, you&#39;re on the right side of history, and we thank
you for the good example you give us.&lt;/p&gt;

&lt;h2 id=&quot;changes-since-last-time&quot;&gt;Changes since last time&lt;/h2&gt;

&lt;p&gt;There&#39;s been &lt;em&gt;lots&lt;/em&gt; of changes since last time:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;British Columbia moved to permanent -07 on 2026-03-09, that is it
will &lt;em&gt;not&lt;/em&gt; change to normal time in November&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Alberta moved to permanent -06 on 2026-06-18, similar to BC above.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Canada’s Northwest Territories moved to permanent -06 on 2026-08-21,
matching Alberta.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Manitoba moves to permanent -05 on 2026-10-31.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Morocco moves to permanent +00 on 2026-09-20.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Moldova has used EU transition times since 2022, but the tz database
only noticed in 2026&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This is my interpretation of the changes announced on the tzdata mailing
list here:&lt;/p&gt;

&lt;p&gt;https://lists.iana.org/hyperkitty/list/tz-announce@iana.org/latest&lt;/p&gt;

&lt;p&gt;If the eastward trend continues, Canada should adopt country-wide &quot;no
daylight savings&quot; rules by 2027, although there&#39;s actually no sign of
the other provinces (Ontario, Québec and so on) currently running bills
to change those rules just yet. Poor Canadians like me confused about
time in their countries can refer to this section of Wikipedia for
details:&lt;/p&gt;

&lt;p&gt;https://en.wikipedia.org/wiki/Daylight_saving_time_in_Canada#By_province_and_territory&lt;/p&gt;

&lt;p&gt;... and particularly the image featured there:&lt;/p&gt;

&lt;p&gt;https://commons.wikimedia.org/wiki/File:Canada_time_zone_map&lt;em&gt;-&lt;/em&gt;en.svg&lt;/p&gt;

&lt;p&gt;It also seems like the US government &lt;em&gt;might&lt;/em&gt; finally adopt a permanent
daylight saving change bill in 2026, as the &quot;Sunshine protection act&quot;
pass the house in July:&lt;/p&gt;

&lt;p&gt;https://en.wikipedia.org/wiki/Sunshine_Protection_Act&lt;/p&gt;

&lt;p&gt;True to form, this was associated with absolutely ridiculous pressure
from Donald Trump against republicans (his own party!) objecting to the
change:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;On July 14, 2026, the House passed a Sunshine Protection Act bill
backed by President Trump. Nevertheless, the bill was opposed in the
Senate by Republicans, including Senator Cotton. In response, on
October 3, 2026, Trump shared a post on Truth Social urging Cotton to
approve the bill, where he revealed Cotton&#39;s personal cellphone number
and called on people to call him.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;https://www.theguardian.com/us-news/2026/oct/03/trump-tom-cotton-daylight-saving-time&lt;/p&gt;

&lt;p&gt;Given that the last time the US did a major change to the daylight
savings policy (in 2005), Canada followed suit to stay in sync, it&#39;s
quite possible Trump&#39;s mad dash might actually finish getting rid of DST
in North America:&lt;/p&gt;

&lt;p&gt;https://en.wikipedia.org/wiki/Energy_Policy_Act_of_2005#Change_to_daylight_saving_time&lt;/p&gt; </description> 
	<pubDate>Thu, 08 Oct 2026 19:30:02 +0000</pubDate>

</item> 
</channel>
</rss>
