<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Systemd - Balise - arleo.eu</title><link>https://www.arleo.eu/tags/systemd/</link><description>Systemd - Balise - arleo.eu</description><generator>Hugo -- gohugo.io</generator><language>fr</language><lastBuildDate>Sat, 09 May 2026 12:44:44 +0200</lastBuildDate><atom:link href="https://www.arleo.eu/tags/systemd/" rel="self" type="application/rss+xml"/><item><title>Post-mortem : 3 timeouts MCP — IPAddressDeny + Cloudflare + NFS</title><link>https://www.arleo.eu/posts/postmortem-mcp-timeouts-cloudflare/</link><pubDate>Sat, 09 May 2026 12:44:44 +0200</pubDate><author>Jmr</author><guid>https://www.arleo.eu/posts/postmortem-mcp-timeouts-cloudflare/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/postmortem-mcp-timeouts-cloudflare-featured.jpg" referrerpolicy="no-referrer">
            </div><h2 id="contexte">Contexte</h2>
<p>J&rsquo;ai mis en production un Hugo MCP Server (FastAPI, 7 tools) qui me permet d&rsquo;éditer arleo.eu depuis Claude.ai. Architecture : <code>claude.ai → mcp-oauth-proxy NUC → hugo-mcp-proxy NUC → MCP server VM</code>.</p>]]></description></item><item><title>Hardening systemd : passer un service Python de 9.6 à 1.7</title><link>https://www.arleo.eu/posts/hardening-systemd-mcp/</link><pubDate>Sat, 09 May 2026 12:40:00 +0200</pubDate><author>Jmr</author><guid>https://www.arleo.eu/posts/hardening-systemd-mcp/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/hardening-systemd-mcp-featured.jpg" referrerpolicy="no-referrer">
            </div><h2 id="tldr">TL;DR</h2>
<p><code>systemd-analyze security</code> est un outil sous-utilisé. Il scanne tes unit files et calcule un score d&rsquo;exposition de <strong>0.0 (UNSAFE)</strong> à <strong>10.0 (PERFECT)</strong>. Les services Python custom sortent souvent autour de <strong>9.6</strong> par défaut — c&rsquo;est mauvais.</p>
<p>J&rsquo;ai fait passer mon service <code>hugo-mcp</code> (FastAPI exposant 7 tools MCP) de <strong>9.6 → 1.7</strong> sans casser la moindre fonctionnalité. Voici les directives qui comptent vraiment, et celles qui sont des pièges.</p>
<h2 id="le-score-initial">Le score initial</h2>
<div class="code-block code-line-numbers open" data-start="0">
    <div class="code-header language-bash">
        <span class="code-title"><i class="arrow fas fa-angle-right" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h" aria-hidden="true"></i></span>
        <span class="copy" title="Copier dans le presse-papiers"><i class="far fa-copy" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">$ sudo systemd-analyze security hugo-mcp
</span></span><span class="line"><span class="cl">→ Overall exposure level <span class="k">for</span> hugo-mcp.service: 9.6 UNSAFE 😨</span></span></code></pre></div></div>
<p>9.6 sur 10. Le service tourne en root équivalent, peut faire <code>setuid()</code>, peut allouer de la mémoire <code>RWX</code>, voit tous les processus du système, peut écrire partout, peut faire des syscalls arbitraires.</p>
<p>Pour un MCP qui édite du contenu Markdown et déclenche un build Hugo, c&rsquo;est démesuré.</p>]]></description></item></channel></rss>