<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Systemd on iMil.net</title>
    <link>http://imil.net/blog/tags/systemd/</link>
    <description>Recent content in Systemd on iMil.net</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 25 Apr 2020 16:27:52 +0200</lastBuildDate>
    <atom:link href="http://imil.net/blog/tags/systemd/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Yubikey, Suspend and Restore</title>
      <link>http://imil.net/blog/posts/2020/yubikey-suspend-and-restore/</link>
      <pubDate>Sat, 25 Apr 2020 16:27:52 +0200</pubDate>
      <guid>http://imil.net/blog/posts/2020/yubikey-suspend-and-restore/</guid>
      <description>&lt;p&gt;Another one of those quickies that can save you some time. When my &lt;em&gt;Linux&lt;/em&gt; laptop resumed from sleep, I was annoyed that &lt;a href=&#34;https://github.com/drduh/YubiKey-Guide&#34;&gt;DrDuh&amp;rsquo;s perfect Yubikey setup&lt;/a&gt; would throw me the following when I tried to &lt;em&gt;SSH&lt;/em&gt;:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sign_and_send_pubkey: signing failed: agent refused operation&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Seems like the key doesn&amp;rsquo;t like being put to sleep and woken up. Another annoyance, for some reason, also when waking up, laptop&amp;rsquo;s touchpad was disabled.&#xA;So I put this little script in &lt;code&gt;/lib/systemd/system-sleep&lt;/code&gt;:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Start pkgsrc&#39;s nginx with systemd</title>
      <link>http://imil.net/blog/posts/2016/start-pkgsrc-s-nginx-with-systemd/</link>
      <pubDate>Sun, 28 Feb 2016 08:17:20 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2016/start-pkgsrc-s-nginx-with-systemd/</guid>
      <description>&lt;p&gt;Not so long ago, I wrote about &lt;a href=&#34;https://imil.net/blog/2015/07/05/using-pkgsrc-on-debian-gnulinux/&#34;&gt;using pkgsrc on Debian GNU/Linux&lt;/a&gt;, and assumed you&amp;rsquo;d start an installed service using &lt;a href=&#34;https://www.netbsd.org/docs/guide/en/chap-rc.html&#34;&gt;rc.d&lt;/a&gt;. When I setup the new &lt;a href=&#34;//iMil.net&#34;&gt;iMil.net&lt;/a&gt; server, I decided to give a try to &lt;a href=&#34;http://www.linux-kvm.org/page/Main_Page&#34;&gt;kvm&lt;/a&gt; as it is easier to maintain, has good performances (&lt;a href=&#34;https://major.io/2014/06/22/performance-benchmarks-kvm-vs-xen/&#34;&gt;sometimes better than Xen&lt;/a&gt;), nice administration tools, plus &lt;a href=&#34;http://netbsd.gw.com/cgi-bin/man-cgi?virtio+4+NetBSD-7.0&#34;&gt;NetBSD now has a good VirtIO driver&lt;/a&gt; but no &lt;a href=&#34;http://wiki.xen.org/wiki/Xen_Linux_PV_on_HVM_drivers&#34;&gt;PVHVM&lt;/a&gt; support yet.&lt;/p&gt;&#xA;&lt;p&gt;The first thing I do when setting up a &lt;em&gt;Debian Jessie&lt;/em&gt; server is getting rid of &lt;code&gt;systemd&lt;/code&gt;, whose philosophy and quality don&amp;rsquo;t match my personnal taste; but in that case, I wanted to use &lt;code&gt;libvirtd&lt;/code&gt; so I could manage my virtual machines with &lt;code&gt;virt-manager&lt;/code&gt;, and as a matter of fact, &lt;code&gt;libvirtd&lt;/code&gt; has a hard dependency on &lt;code&gt;systemd&lt;/code&gt;. There was no escape this time, I had to learn and use it.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
