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

<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 fail)</title>
    <link>https://daniel-lange.com/</link>
    <description>agrep -pB IT /dev/life</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 2.6-alpha1 - http://www.s9y.org/</generator>
    <pubDate>Fri, 06 Jun 2025 09:25:30 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>https://daniel-lange.com/</link>
    <width>144</width>
    <height>234</height>
</image>

<item>
    <title>Polkitd (Policy Kit Daemon) in Trixie ... getting rid of &quot;Authentication is required to create a color profile&quot;</title>
    <link>https://daniel-lange.com/archives/193-Polkitd-Policy-Kit-Daemon-in-Trixie-...-getting-rid-of-Authentication-is-required-to-create-a-color-profile.html</link>
            <category>Debian</category>
    
    <comments>https://daniel-lange.com/archives/193-Polkitd-Policy-Kit-Daemon-in-Trixie-...-getting-rid-of-Authentication-is-required-to-create-a-color-profile.html#comments</comments>
    <wfw:comment>https://daniel-lange.com/wfwcomment.php?cid=193</wfw:comment>

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

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;On the way to Trixie,&lt;strong&gt; polkitd (Policy Kit Daemon) has lost the functionality to evaluate its .pkla (Polkit Local Authority) files&lt;/strong&gt;.&lt;/p&gt;

&lt;pre&gt;
$ zcat /usr/share/doc/polkitd/NEWS.Debian.gz 
policykit-1 (121+compat0.1-2) experimental; urgency=medium

  This version of polkit changes the syntax used for local policy rules:
  it is now the same JavaScript-based format used by the upstream polkit
  project and by other Linux distributions.

  System administrators can override the default security policy by
  installing local policy overrides into /etc/polkit-1/rules.d/*.rules,
  which can either make the policy more restrictive or more
  permissive. Some sample policy rules can be found in the
  /usr/share/doc/polkitd/examples directory. Please see polkit(8) for
  more details.

  Some Debian packages include security policy overrides, typically to
  allow members of the sudo group to carry out limited administrative
  actions without re-authenticating. These packages should install their
  rules as /usr/share/polkit-1/rules.d/*.rules. Typical examples can be
  found in packages like flatpak, network-manager and systemd.

  Older Debian releases used the &quot;local authority&quot; rules format from
  upstream version 0.105 (.pkla files with an .desktop-like syntax,
  installed into subdirectories of /etc/polkit-1/localauthority
  or /var/lib/polkit-1/localauthority). The polkitd-pkla package
  provides compatibility with these files: if it is installed, they
  will be processed at a higher priority than most .rules files. If the
  polkitd-pkla package is removed, .pkla files will no longer be used.

 -- Simon McVittie &lt;smcv@debian.org&gt;  Wed, 14 Sep 2022 21:33:22 +0100
&lt;/pre&gt;

&lt;p&gt;This applies now to the &lt;strong&gt;polkitd version 126-2 destined for Trixie&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The most prominent issue is that you will get an error message:
&quot;Authentication is required to create a color profile&quot; asking for the root(!) password every time you remotely log into a Debian Trixie system via RDP, x2go or the like.&lt;/p&gt;

&lt;p&gt;This used to be mendable with a .pkla file dropped into &lt;code&gt;/etc/polkit-1/localauthority/50-local.d/&lt;/code&gt; ... but these .pkla files are void now and need to be replace with a Javascript &quot;rules&quot; file.&lt;/p&gt;

&lt;p&gt;The background to his is quite a fascinating read ... 13 years later:&lt;br /&gt;
&lt;a href=&quot;https://davidz25.blogspot.com/2012/06/authorization-rules-in-polkit.html&quot;&gt;https://davidz25.blogspot.com/2012/06/authorization-rules-in-polkit.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The solution has been listed in &lt;a href=&quot;https://devanswe.rs/fix-authentication-required-create-color-profile-ubuntu-polkit/&quot;&gt;DevAnswers&lt;/a&gt; as other distros (Fedora, ArchLinux, OpenSuse) have been faster to depreciate the .pkla files and require .rules files.
I amended the solution given there with checking for root to be automatically authenticated, too.&lt;/p&gt;

&lt;p&gt;So, create a &lt;code&gt;50-color-manager.rules&lt;/code&gt; file in &lt;code&gt;/etc/polkit-1/rules.d/&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;js geshi&quot; style=&quot;text-align: left&quot;&gt;polkit.addRule(function(action, subject) {&lt;br /&gt;
&amp;#160; &amp;#160; if (action.id.startsWith(&amp;quot;org.freedesktop.color-manager.&amp;quot;) &amp;amp;&amp;amp; (subject.isInGroup(&amp;quot;users&amp;quot;) || (subject.user == &amp;quot;root&amp;quot;))) {&lt;br /&gt;
&amp;#160; &amp;#160; &amp;#160; &amp;#160; return polkit.Result.YES;&lt;br /&gt;
&amp;#160; &amp;#160; }&lt;br /&gt;
});&lt;/div&gt;

&lt;p&gt;and run &lt;code&gt;systemctl restart polkit&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;You should be good until polkit is rewritten in Rust.&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sat, 17 May 2025 10:00:00 +0000</pubDate>
    <guid isPermaLink="false">https://daniel-lange.com/archives/193-guid.html</guid>
    <category>archlinux</category>
<category>fail</category>
<category>fedora</category>
<category>javascript</category>
<category>opensuse</category>
<category>polkit</category>
<category>remove</category>
<category>security</category>
<category>updated</category>

</item>
<item>
    <title>Thunderbird gpg key import</title>
    <link>https://daniel-lange.com/archives/179-Thunderbird-gpg-key-import.html</link>
            <category>Open Source</category>
    
    <comments>https://daniel-lange.com/archives/179-Thunderbird-gpg-key-import.html#comments</comments>
    <wfw:comment>https://daniel-lange.com/wfwcomment.php?cid=179</wfw:comment>

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

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p style=&quot;font-size: 18pt; bold; display: flex; justify-content: center; align-items: center; height: 110px;&quot;&gt;Thunderbird, srsly?&lt;/p&gt;

&lt;p&gt;&lt;!-- s9ymdb:698 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;557&quot; height=&quot;94&quot;  src=&quot;https://daniel-lange.com/uploads/entries/230227_gpg_pubring_size.jpg&quot;  alt=&quot;&quot;&gt;&lt;/p&gt;

&lt;p&gt;&lt;!-- s9ymdb:699 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;710&quot; height=&quot;484&quot;  src=&quot;https://daniel-lange.com/uploads/entries/230227_Thunderbird_gpg_manager.jpg&quot;  alt=&quot;&quot;&gt;&lt;/p&gt;

&lt;p&gt;&lt;!-- s9ymdb:700 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;739&quot; height=&quot;227&quot;  src=&quot;https://daniel-lange.com/uploads/entries/230227_Thunderbird_source_gpg_pubkeys_4.8MB_import_limit.jpg&quot;  alt=&quot;&quot;&gt;&lt;/p&gt;

&lt;p&gt;5MB (or 4.8MiB) import limit. Sure. My modest pubring (111 keys) is 18MB. The &lt;a href=&quot;https://wiki.debian.org/DebianKeyring&quot;&gt;Debian keyring&lt;/a&gt; is 28MB.&lt;/p&gt;

&lt;p&gt;May be, just may be, add another 0 to that if statement?&lt;/p&gt;

&lt;p&gt;So, until that happens, workarounds ...&lt;/p&gt;

&lt;h4&gt;Option 1:&lt;/h4&gt;

&lt;p&gt;Export each pubkey into a separate file. The import dialog allows to select them all in one go. But - of course - it will ask confirmation for each. So prepare some valerian tea.&lt;/p&gt;

&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;gpg &lt;span style=&quot;color: #660033;&quot;&gt;--with-colons&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;--list-public-keys&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;grep&lt;/span&gt; ^pub &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;cut&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-d&lt;/span&gt; : &lt;span style=&quot;color: #660033;&quot;&gt;-f&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;5&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;xargs&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-I&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-n&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;1&lt;/span&gt; gpg &lt;span style=&quot;color: #660033;&quot;&gt;-ao&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt;.pub &lt;span style=&quot;color: #660033;&quot;&gt;--export&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt;;&lt;/div&gt;

&lt;h4&gt;Option 2:&lt;/h4&gt;

&lt;p&gt;Strip all the signatures, so Thunderbird gets a smaller file to chew on. This uses &lt;code&gt;pgp-clean&lt;/code&gt; from &lt;a href=&quot;https://packages.debian.org/sid/signing-party&quot;&gt;signing-party&lt;/a&gt;.&lt;/p&gt;

&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;gpg &lt;span style=&quot;color: #660033;&quot;&gt;--with-colons&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;--list-public-keys&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;grep&lt;/span&gt; ^pub &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;cut&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-d&lt;/span&gt; : &lt;span style=&quot;color: #660033;&quot;&gt;-f&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;5&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;xargs&lt;/span&gt; pgp-clean &lt;span style=&quot;color: #660033;&quot;&gt;-s&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; there_you_go_thunderbird.pub&lt;/div&gt;

&lt;p&gt;Option 1 will retain the signatures on individual keys, Option 2 will not.&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Mon, 27 Feb 2023 15:50:00 +0000</pubDate>
    <guid isPermaLink="false">https://daniel-lange.com/archives/179-guid.html</guid>
    <category>fail</category>
<category>gpg</category>
<category>mozilla</category>
<category>thunderbird</category>

</item>
<item>
    <title>Happy tenth birthday, dear Thunar bug</title>
    <link>https://daniel-lange.com/archives/177-Happy-tenth-birthday,-dear-Thunar-bug.html</link>
            <category>Fun</category>
            <category>Open Source</category>
    
    <comments>https://daniel-lange.com/archives/177-Happy-tenth-birthday,-dear-Thunar-bug.html#comments</comments>
    <wfw:comment>https://daniel-lange.com/wfwcomment.php?cid=177</wfw:comment>

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

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;Thunar, the Xfce4 file manager, has a bug that it underflows the time remaining for a file copy since ten years now (&lt;a href=&quot;https://bugzilla.xfce.org/show_bug.cgi?id=9743&quot; title=&quot;Archived bugzilla bug entry from 11.01.2013&quot;&gt;bugzilla&lt;/a&gt;, &lt;a href=&quot;https://gitlab.xfce.org/xfce/thunar/-/issues/46&quot; title=&quot;Gitlab migrated issue&quot;&gt;gitlab&lt;/a&gt;). Happy birthday!&lt;/p&gt;

&lt;p&gt;&lt;!-- s9ymdb:697 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;460&quot; height=&quot;127&quot;  src=&quot;https://daniel-lange.com/uploads/entries/230109_Thunar_remaining_time_calc_underflow.png&quot; title=&quot;All the best for the next 10 years!&quot; alt=&quot;&quot;&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update from 01.06.2023:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Good news, Debian Bookworm will also be released with this long term friend still present. Phew!&lt;/p&gt;

&lt;p&gt;&lt;!-- s9ymdb:707 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;460&quot; height=&quot;135&quot;  src=&quot;https://daniel-lange.com/uploads/entries/230601_Thunar_remaining_time_calc_underflow_2.png&quot;  alt=&quot;&quot;&gt;&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Tue, 10 Jan 2023 23:00:00 +0000</pubDate>
    <guid isPermaLink="false">https://daniel-lange.com/archives/177-guid.html</guid>
    <category>bug</category>
<category>debian</category>
<category>fail</category>
<category>thunar</category>
<category>time</category>
<category>underflow</category>
<category>updated</category>
<category>xfce</category>

</item>
<item>
    <title>Your software stores are a bad idea</title>
    <link>https://daniel-lange.com/archives/176-Your-software-stores-are-a-bad-idea.html</link>
            <category>Internet</category>
            <category>IT</category>
    
    <comments>https://daniel-lange.com/archives/176-Your-software-stores-are-a-bad-idea.html#comments</comments>
    <wfw:comment>https://daniel-lange.com/wfwcomment.php?cid=176</wfw:comment>

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

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;There is significant effort involved to get your &lt;code&gt;apt&lt;/code&gt; or &lt;code&gt;dnf&lt;/code&gt; commands always have a consistent set of servers to talk to.&lt;/p&gt;

&lt;p&gt;That&#039;s why running separate &quot;software stores&quot; is a bad idea:&lt;/p&gt;

&lt;p&gt;&lt;!-- s9ymdb:694 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;330&quot; height=&quot;45&quot;  src=&quot;https://daniel-lange.com/uploads/entries/221108_Snap_store_down.png&quot;  alt=&quot;Snap software store down&quot;&gt;&lt;/p&gt;

&lt;p&gt;That way more admins need to learn how to run high availability services for dubious business opportunities to &quot;later&quot; monetize services. Services that nobody cares to pay for and thus opportunities that never materialize. But every company wants to find that out again. Because if Apple could do it, why shouldn&#039;t Canonical be able to do it? $$$!1!!&lt;/p&gt;

&lt;p&gt;So, can&#039;t update Firefox on Ubuntu 22.04 right now.&lt;/p&gt;

&lt;p&gt;At least there is &lt;a href=&quot;https://status.snapcraft.io/&quot;&gt;https://status.snapcraft.io/&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;https://status.snapcraft.io/&#039;&gt;&lt;!-- s9ymdb:695 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;1029&quot; height=&quot;1155&quot;  src=&quot;https://daniel-lange.com/uploads/entries/221108_Snap_store_incident_page.png&quot;  alt=&quot;Snap incodent / monitoring status page&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So I can check back tomorrow if I can update my web browser ...&lt;/p&gt;

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

&lt;p&gt;09.11.2022 12:15 CET&lt;/p&gt;

&lt;p&gt;The Snapcraft distribution system seems quite flaky, this is the downtime log:&lt;/p&gt;

&lt;p&gt;&lt;!-- s9ymdb:696 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;712&quot; height=&quot;430&quot;  src=&quot;https://daniel-lange.com/uploads/entries/221109_Snap_store_incidents_log.png&quot;  alt=&quot;Log of (frequent) Snapcraft outages&quot;&gt;&lt;/p&gt;

&lt;p&gt;Bonus points for the bad client side implementation:&lt;/p&gt;

&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666;&quot;&gt;dl@laptop:~$ &lt;/span&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sudo&lt;/span&gt; snap refresh&lt;br /&gt;All snaps up to date.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# ^this is a lie, just close Firefox and ...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666;&quot;&gt;dl@laptop:~$ &lt;/span&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sudo&lt;/span&gt; snap refresh&lt;br /&gt;firefox 106.0.5-&lt;span style=&quot;color: #000000;&quot;&gt;1&lt;/span&gt; from Mozilla&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;**&lt;/span&gt; refreshed&lt;br /&gt;&amp;#160;&lt;/div&gt;

&lt;h3&gt;Postscriptum&lt;/h3&gt;

&lt;p&gt;GNOME and KDE join forces to sink another 100 .. 200k USD into the void:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/PlaintextGroup/oss-virtual-incubator/blob/e49670d0ad4aebca1f336efca8928ea8b9fc2f5a/proposals/flathub-linux-app-store.md&quot;&gt;https://github.com/PlaintextGroup/oss-virtual-incubator/[..]/proposals/flathub-linux-app-store.md&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is an application for funding from &lt;a href=&quot;https://www.schmidtfutures.com/our-people/&quot;&gt;Schmidt Futures&lt;/a&gt;, which is one of the investment (as in philanthropic) funds from Eric Schmidt, former Google CEO.&lt;/p&gt;

&lt;p&gt;The application text is worth reading. Very entertaining.&lt;/p&gt;

&lt;p&gt;Robert McQueen (GNOME, Flathub) wrote on 07.03.2023 that the PlaintextGroup/Schmidt Futures application was denied for 2023.&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Tue, 08 Nov 2022 20:30:00 +0000</pubDate>
    <guid isPermaLink="false">https://daniel-lange.com/archives/176-guid.html</guid>
    <category>canonical</category>
<category>fail</category>
<category>highavailability</category>
<category>operations</category>
<category>snapcraft</category>
<category>ubuntu</category>
<category>updated</category>

</item>

</channel>
</rss>
