<?xml version="1.0" encoding="utf-8" ?>

<?xml-stylesheet type="text/xsl" href="/templates/2k11/rss.xsl" media="screen" ?>
<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Daniel Lange's blog (Entries tagged as systemd)</title>
    <link>http://daniel-lange.com/</link>
    <description>agrep -pB IT /dev/life</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 2.6.0 - http://www.s9y.org/</generator>
    <pubDate>Mon, 07 Jan 2019 09:37:24 GMT</pubDate>

    <image>
    <url>//daniel-lange.com/uploads/Avatar_Blog_144_234.png</url>
    <title>RSS: Daniel Lange's blog - agrep -pB IT /dev/life</title>
    <link>http://daniel-lange.com/</link>
    <width>144</width>
    <height>234</height>
</image>

<item>
    <title>Xfce 4.12 not suspending on laptop-lid close</title>
    <link>http://daniel-lange.com/archives/154-Xfce-4.12-not-suspending-on-laptop-lid-close.html</link>
            <category>Linux</category>
    
    <comments>http://daniel-lange.com/archives/154-Xfce-4.12-not-suspending-on-laptop-lid-close.html#comments</comments>
    <wfw:comment>http://daniel-lange.com/wfwcomment.php?cid=154</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=154</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;Xfce 4.12 as default in Ubuntu/Xubuntu 18.04 LTS did not suspend a laptop after closing the lid. In fact running
&lt;code&gt;xfce4-power-manager --quit ; xfce4-power-manager --no-daemon --debug&lt;/code&gt; showed that xfce4 wasn&#039;t seeing a laptop lid close event at all.&lt;/p&gt;

&lt;p&gt;To the contrary &lt;code&gt;acpi_listen&lt;/code&gt; nicely finds &lt;code&gt;button/lid LID close&lt;/code&gt; and &lt;code&gt;button/lid LID open&lt;/code&gt; events when folding the screen and opening it up again.&lt;/p&gt;

&lt;p&gt;As so often the wonderful docs / community of Arch Linux to the rescue. This &lt;a href=&quot;https://bbs.archlinux.org/viewtopic.php?id=206840&quot;&gt;forum thread&lt;/a&gt; from 2015 received the correct answer in 2017:&lt;/p&gt;

&lt;p&gt;Xfce4 basically recognizes systemd and thus disables its built-in power-management options for handling these &quot;button events&quot; (but doesn&#039;t tell you so in the config UI for power-manager). Systemd is configured to handle these events by default (&lt;code&gt;/etc/systemd/logind.conf&lt;/code&gt; has &lt;code&gt;HandleLidSwitch=suspend&lt;/code&gt; but for unknown reasons decides not to honor that).&lt;/p&gt;

&lt;p&gt;So best is to teach Xfce4 to handle the events again as in pre-systemd times:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -s false&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Now the UI options will work again as intended and the laptop suspends on lid close and resumes on lid open.&lt;/p&gt;

&lt;h3&gt;Update:&lt;/h3&gt;

&lt;p&gt;07.01.19: Changed XFCE -&gt; Xfce as per Corsac&#039;s suggestion in the comments below. Thank you!&lt;/p&gt;

&lt;p&gt;Background info:&lt;/p&gt;

&lt;blockquote&gt;
The name &quot;XFCE&quot; was originally an acronym for &quot;XForms Common Environment&quot;, but since that time it has been rewritten twice and no longer uses the XForms toolkit. The name survived, but it is no longer capitalized as &quot;XFCE&quot;, but rather as &quot;Xfce&quot;. The developers&#039; current stance is that the initialism no longer stands for anything specific. After noting this, the FAQ on the Xfce Wiki comments &quot;(suggestion: X Freakin&#039; Cool Environment)&quot;.
&lt;/blockquote&gt;

&lt;p&gt;(quoted from &lt;a href=&quot;https://en.wikipedia.org/wiki/Xfce#History&quot;&gt;Wikipedia&#039;s Xfce article&lt;/a&gt; also found in the &lt;a href=&quot;https://docs.xfce.org/faq&quot;&gt;Xfce docs FAQ&lt;/a&gt;).&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sat, 05 Jan 2019 15:15:00 +0000</pubDate>
    <guid isPermaLink="false">http://daniel-lange.com/archives/154-guid.html</guid>
    <category>config</category>
<category>hibernate</category>
<category>suspend</category>
<category>systemd</category>
<category>ubuntu</category>
<category>updated</category>
<category>xfce</category>

</item>
<item>
    <title>Prevent Ubuntu from phoning home</title>
    <link>http://daniel-lange.com/archives/133-Prevent-Ubuntu-from-phoning-home.html</link>
            <category>Linux</category>
    
    <comments>http://daniel-lange.com/archives/133-Prevent-Ubuntu-from-phoning-home.html#comments</comments>
    <wfw:comment>http://daniel-lange.com/wfwcomment.php?cid=133</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=133</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;Ubuntu unfortunately has decided again to implement another &quot;phone home&quot; feature, this time transferring your &lt;code&gt;lsb_release&lt;/code&gt; information, CPU model and speed (from &lt;code&gt;/proc/cpuinfo&lt;/code&gt;), &lt;code&gt;uptime&lt;/code&gt; output, most of &lt;code&gt;uname -a&lt;/code&gt; and curl version to a &lt;a href=&quot;https://news.ubuntu.com&quot;&gt;Ubuntu news web-service&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Here is the Launchpad bug report &lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1637800&quot;&gt;#1637800&lt;/a&gt; introducing this ... web bug.&lt;/p&gt;

&lt;p&gt;This thing runs both systemd-timer based (via &lt;code&gt;/lib/systemd/system/motd-news.service&lt;/code&gt;  and &lt;code&gt;/lib/systemd/system/motd-news.timer&lt;/code&gt;) and on request when you log in (via &lt;code&gt;/etc/update-motd.d/50-motd-news&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;&lt;!-- s9ymdb:644 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;520&quot; height=&quot;142&quot;  src=&quot;http://daniel-lange.com/uploads/entries/170629_Ubuntu_news_on_ssh_login.png&quot; title=&quot;Ubuntu news on ssh login&quot; alt=&quot;Ubuntu news on ssh login&quot; /&gt;&lt;/p&gt;

&lt;p&gt;There has even been a bug filed about the &lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1701068&quot;&gt;motd advertising HBO&#039;s Silicon Valley show&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;To prevent this from running (it is enabled by default on Ubuntu 17.04 and may probably propagate down to earlier versions as well), edit
&lt;code&gt;/etc/default/motd-news&lt;/code&gt; to include&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;ENABLED=0
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;so&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;sed -i &quot;s/ENABLED=1/ENABLED=0/&quot; /etc/default/motd-news # run as root
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;for your automated installs.&lt;/p&gt;

&lt;h3&gt;Update:&lt;/h3&gt;

&lt;p&gt;02.07.2017:
Dustin Kirkland &lt;a href=&quot;https://news.ycombinator.com/item?id=14663947&quot;&gt;responded&lt;/a&gt; to a YC &quot;hacker news&quot; mention of his motd spam. He mentions:&lt;/p&gt;

&lt;blockquote&gt;
You&#039;re welcome to propose your own messages for merging, if you have a well formatted, informative message for Ubuntu users.&lt;br /&gt;We&#039;ll be happy to review and include them in the future.
&lt;/blockquote&gt;

&lt;p&gt;What could possibly go wrong?&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Thu, 29 Jun 2017 08:18:00 +0000</pubDate>
    <guid isPermaLink="false">http://daniel-lange.com/archives/133-guid.html</guid>
    <category>privacy</category>
<category>security</category>
<category>ssh</category>
<category>systemd</category>
<category>ubuntu</category>
<category>updated</category>

</item>
<item>
    <title>Netatalk 3.1.9 .debs for Debian Jessie available (Apple Timemachine backup to Linux servers)</title>
    <link>http://daniel-lange.com/archives/119-Netatalk-3.1.9-.debs-for-Debian-Jessie-available-Apple-Timemachine-backup-to-Linux-servers.html</link>
            <category>Debian</category>
    
    <comments>http://daniel-lange.com/archives/119-Netatalk-3.1.9-.debs-for-Debian-Jessie-available-Apple-Timemachine-backup-to-Linux-servers.html#comments</comments>
    <wfw:comment>http://daniel-lange.com/wfwcomment.php?cid=119</wfw:comment>

    <slash:comments>7</slash:comments>
    <wfw:commentRss>http://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=119</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;Netatalk 3.1.9 has been released with two interesting fixes / amendments:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;FIX: afpd: fix &quot;admin group&quot; option&lt;/li&gt;
&lt;li&gt;NEW: afpd: new options &quot;force user&quot; and &quot;force group&quot;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here are the full &lt;a href=&quot;http://netatalk.sourceforge.net/3.1/ReleaseNotes3.1.9.html&quot; title=&quot;Release Notes / Changelog for Netatalk 3.1.9&quot;&gt;release notes for 3.1.9&lt;/a&gt; for your reading pleasure.&lt;/p&gt;

&lt;p&gt;Due to upstream now differentiating between SysVinit and systemd packages I&#039;ve followed that for simplicity&#039;s sake and built libgcrypt-only builds.
If you need the openssl-based tools continue to use the &lt;a href=&quot;http://daniel-lange.com/archives/102-Apple-Timemachine-backups-on-Debian-8-Jessie.html&quot; title=&quot;netatalk 3.1.8 .debs for Debian Jessie&quot;&gt;3.1.8 openssl build&lt;/a&gt; until you have finished your migration to a safer password storage.&lt;/p&gt;

&lt;table&gt;
&lt;tr&gt;&lt;td&gt;
&lt;img class=&quot;serendipity_image_noborder&quot; width=&quot;48&quot; height=&quot;48&quot; hspace=&quot;20&quot; src=&quot;http://daniel-lange.com/uploads/icons/markup/important.png&quot; title=&quot;Warning: Read the original blog post before installing for the first time.&quot; alt=&quot;Warning: Read the original blog post before installing for the first time.&quot; /&gt;
&lt;/td&gt;
&lt;td&gt;
Be sure to read the &lt;a href=&quot;http://daniel-lange.com/archives/102-Apple-Timemachine-backups-on-Debian-8-Jessie.html&quot; title=&quot;Blog entry: Apple Timemachine backups on Debian 8 Jessie&quot;&gt;original blog post&lt;/a&gt; if you are new to Netatalk3 on Debian Jessie!&lt;br /&gt;
You&#039;ll get nowhere if you install the .debs below and don&#039;t know about the upgrade path. So &lt;abbr title=&quot;Read The Fine Article&quot;&gt;RTFA&lt;/abbr&gt;.
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;p&gt;Now with that out of the way:&lt;/p&gt;
 &lt;a class=&quot;block_level&quot; href=&quot;http://daniel-lange.com/archives/119-Netatalk-3.1.9-.debs-for-Debian-Jessie-available-Apple-Timemachine-backup-to-Linux-servers.html#extended&quot;&gt;Continue reading &quot;Netatalk 3.1.9 .debs for Debian Jessie available (Apple Timemachine backup to Linux servers)&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 07 Aug 2016 12:30:00 +0000</pubDate>
    <guid isPermaLink="false">http://daniel-lange.com/archives/119-guid.html</guid>
    <category>apple</category>
<category>backup</category>
<category>debian</category>
<category>jessie</category>
<category>netatalk</category>
<category>systemd</category>
<category>sysvinit</category>
<category>timemachine</category>

</item>

</channel>
</rss>
