<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4186&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [Solved] Interpreting/debugging dbus-daemon failure in syslog]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4186</link>
		<description><![CDATA[The most recent posts in [Solved] Interpreting/debugging dbus-daemon failure in syslog.]]></description>
		<lastBuildDate>Fri, 12 Mar 2021 02:17:17 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [Solved] Interpreting/debugging dbus-daemon failure in syslog]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28068#p28068</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>F_Sauce wrote:</cite><blockquote><div><p> ...probably find a better way ...</p></div></blockquote></div><p>I&#039;m not sure if it ended up being a <em>better way</em> but I think (at least) I solved the issues in the <span class="bbc">syslog</span> and <span class="bbc">backintime-qt --debug</span> outputs, which I <em>think</em> (?) were linked.</p><p>I just sort of followed what was done in this link <a href="https://github.com/jaraco/keyring/issues/391" rel="nofollow">https://github.com/jaraco/keyring/issues/391</a>, a post by the same person who posted what I linked previously. </p><p>Apparently it all comes down to some problem in how <span class="bbc">backintime</span> interacts with <span class="bbc">python-keyring</span>.</p><p>I did this, not because I understood it well enough but out of faith in the solution posted by the chap who worked it out.<br />Hopefully I have not broken anything in the process:</p><p>1. created <span class="bbc">~/.local/share/python_keyring/keyringrc.cfg</span> which, as in the post linked, did not exist.</p><div class="codebox"><pre><code>groucho@devuan:~$ cat /home/groucho/.local/share/python_keyring/keyringrc.cfg
# added 20210311
# see https://github.com/jaraco/keyring/issues/391
#
[backend]
default-keyring=keyring.backends.SecretService.Keyring
groucho@devuan:~$ </code></pre></div><p>By doing this, when I enter <span class="bbc">keyring get system username</span> in a terminal I no longer receive a UI prompt to create a new <span class="bbc">kwallet keystore</span>.<br />Because, why would I want to do that?<br />I don&#039;t use <em>kwallet</em>, I did not install it and do not I want to use it.<br />It probably came with a meta-package, can&#039;t really say.</p><p>Now it&#039;s clean, no <span class="bbc">kwallet</span> prompt:</p><div class="codebox"><pre><code>groucho@devuan:/$ keyring get system username
groucho@devuan:/$ </code></pre></div><p>After doing that and checking/double checking that I was not going to break anything, I decided to remove kwallet and all related files.<br />It was a <em>huge</em> hoard of k<em>whatever</em> files...</p><p>Then I checked to see what was going on with <span class="bbc">backintime</span>:</p><div class="codebox"><pre class="vscroll"><code>groucho@devuan:/$ backintime-qt4 --debug

Back In Time
Version: 1.1.24

Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime --license&#039; for details.

DEBUG: [common/backintime.py:585 getConfig] config file: /home/groucho/.config/backintime/config
DEBUG: [common/backintime.py:586 getConfig] profiles: [&#039;1&#039;]
DEBUG: [common/applicationinstance.py:73 GUIApplicationInstance.check] No PID file
DEBUG: [common/pluginmanager.py:88 PluginManager.load_plugins] Register plugin path /usr/share/backintime/plugins
DEBUG: [common/pluginmanager.py:104 PluginManager.load_plugins] Add plugin notifyplugin.py
DEBUG: [common/pluginmanager.py:104 PluginManager.load_plugins] Add plugin qt4plugin.py
DEBUG: [common/pluginmanager.py:104 PluginManager.load_plugins] Add plugin userscriptsplugin.py
DEBUG: [common/snapshots.py:953 Snapshots.has_old_snapshots] Found old snapshots: False
DEBUG: [common/tools.py:616 keyring_supported] Found appropriate keyring &#039;keyring.backends.SecretService&#039;
DEBUG: [common/applicationinstance.py:73 ApplicationInstance.check] No PID file
DEBUG: [common/mount.py:50 Mount.__init__] pw-cache is not running
DEBUG: [common/mount.py:59 Mount.__init__] Call command: /usr/bin/backintime pw-cache start
DEBUG: [common/applicationinstance.py:73 ApplicationInstance.check] No PID file
--- snip ---
DEBUG: [common/applicationinstance.py:73 ApplicationInstance.check] No PID file
DEBUG: [common/tools.py:616 keyring_supported] Found appropriate keyring &#039;keyring.backends.SecretService&#039;
DEBUG: [common/applicationinstance.py:73 ApplicationInstance.check] No PID file
DEBUG: [common/mount.py:50 Mount.__init__] pw-cache is not running
DEBUG: [common/mount.py:59 Mount.__init__] Call command: /usr/bin/backintime pw-cache start
DEBUG: [common/applicationinstance.py:73 ApplicationInstance.check] No PID file
groucho@devuan:/$ </code></pre></div><p>And lastly I checked <span class="bbc">syslog</span> to see if I was getting any kwallet related failures:</p><div class="codebox"><pre><code>groucho@devuan:/var/log$ tail -2500 syslog | grep kwallet| grep failed
Mar 11 11:45:40 devuan dbus-daemon[2968]: [session uid=1000 pid=2966] Activated service &#039;org.kde.kwalletd&#039; failed: Failed to execute program org.kde.kwalletd: No such file or directory
groucho@devuan:/var/log$ </code></pre></div><p>That was the last one today at 11:45.<br />Nothing after six or seven reboots since mid-day today.</p><p><span class="bbc">backintime</span> seems to be working properly and I have not (yet) seen any problems arise.</p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Fri, 12 Mar 2021 02:17:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28068#p28068</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Solved] Interpreting/debugging dbus-daemon failure in syslog]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28033#p28033</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>F_Sauce wrote:</cite><blockquote><div><p>Not a good answer ...</p></div></blockquote></div><p>But it&#039;s an answer ...&#160; 8^D</p><div class="quotebox"><cite>F_Sauce wrote:</cite><blockquote><div><p>... probably find a better way ...</p></div></blockquote></div><p>I have kept investigating but my knowledge in this area is very limited.</p><p>I did find this post that has <em>some</em> elements in common: <a href="https://github.com/bit-team/backintime/issues/990" rel="nofollow">https://github.com/bit-team/backintime/issues/990</a> <br />The element in common would be the <span class="bbc"> &#039;keyring.backends.chainer&#039; can&#039;t be used with BackInTime</span> along with the fact that this specific backend has <span class="bbc">priority: 10</span>.</p><p>But I really cannot make heads / tails out of it.</p><p>Thanks for your input.</p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Thu, 11 Mar 2021 01:16:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28033#p28033</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Solved] Interpreting/debugging dbus-daemon failure in syslog]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28032#p28032</link>
			<description><![CDATA[<p>Hei Altoid.</p><div class="quotebox"><blockquote><div><p>Could this be related to having replaced consolekit with elogind?<br />I have not seen or noticed any adverse symptoms.</p></div></blockquote></div><p>I went through the same procedure as you did, upgraded from <em>ASCII</em> to <em>Beowulf</em>; so, I don&#039;t think it has to do with that. <br />KWallet is working but, if I remember correctly, I had some issues initially; think I started from scratch and deleted every (user) kwallet associated files and repopulated the walletDB.</p><p>Not a good answer, and no proper solution, but that&#039;s how I believe I did manage to get the KWallet back working.<br />If you investigate further, which I didn&#039;t, you&#039;ll probably find a better way; the meaning of this reply was to state that it definitely may work! </p><p>Best of luck,<br />Olav</p>]]></description>
			<author><![CDATA[dummy@example.com (F_Sauce)]]></author>
			<pubDate>Thu, 11 Mar 2021 00:27:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28032#p28032</guid>
		</item>
		<item>
			<title><![CDATA[[Solved] Interpreting/debugging dbus-daemon failure in syslog]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28028#p28028</link>
			<description><![CDATA[<p>Hello:</p><p>As I explain in this other post <a href="https://dev1galaxy.org/viewtopic.php?id=4142" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=4142</a>, I am attempting to find out the cause of a failure reported in <span class="bbc">syslog</span> by the <span class="bbc">dbus-daemon</span>.<br />What <span class="bbc">syslog</span> shows me (I&#039;ve split it so it can be easier to read) is this:</p><div class="codebox"><pre><code>Mar  9 06:57:35
devuan dbus-daemon[2961]:
[session uid=1000 pid=2959]
Activating service name=&#039;org.kde.kwalletd&#039; requested by &#039;:1.42&#039; (uid=1000 pid=3124 comm=&quot;/usr/bin/kwalletd5 &quot;)

Mar  9 06:57:35
devuan dbus-daemon[2961]:
[session uid=1000 pid=2959]
Activated service &#039;org.kde.kwalletd&#039; failed: Failed to execute program org.kde.kwalletd: No such file or directory</code></pre></div><p>This repeats itself with the same syntax and in the same manner ie: at the same time and one after the other, save for the different pid IDs which will be different each time. <br />It happens when I log in ie: <span class="bbc">session uid=1000</span>.</p><div class="codebox"><pre><code>Mar 10 14:43:03
devuan dbus-daemon[3015]:
[session uid=1000 pid=3013]
Activating service name=&#039;org.kde.kwalletd&#039; requested by &#039;:1.37&#039; (uid=1000 pid=3174 comm=&quot;/usr/bin/kwalletd5 &quot;)

Mar 10 14:43:03 devuan dbus-daemon[3015]:
[session uid=1000 pid=3013]
Activated service &#039;org.kde.kwalletd&#039; failed: Failed to execute program org.kde.kwalletd: No such file or directory</code></pre></div><p>My Devuan Beowulf installation (upgrade from ASCII) has <span class="bbc">libkwalletbackend5-5</span> installed:</p><div class="codebox"><pre><code>groucho@devuan:~$ uname -a
Linux devuan 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux
groucho@devuan:~$ </code></pre></div><div class="codebox"><pre><code>groucho@devuan:~$ apt list | grep kwallet | grep installed
--- snip ---
libkwalletbackend5-5/stable,now 5.54.0-1 amd64 [installed,automatic]
groucho@devuan:~$ </code></pre></div><p><span class="bbc">libkwalletbackend5-5</span> is needed by <span class="bbc">backintime-qt4</span>, the <span class="bbc">backintime-common</span> GUI.</p><div class="codebox"><pre><code>groucho@devuan:~$ aptitude why libkwalletbackend5-5
i   backintime-qt4    Depends  backintime-common (= 1.1.24-0.1)
i A backintime-common Depends  python3-keyring                 
i A python3-keyring   Suggests libkf5wallet-bin                
i A libkf5wallet-bin  Depends  libkwalletbackend5-5 (&gt;= 5.13.0)
groucho@devuan:~$ </code></pre></div><p>Starting backintime-qt4 from a terminal to see if I could find anything got me this:</p><div class="codebox"><pre class="vscroll"><code>groucho@devuan:~$ backintime-qt4 --debug
DEBUG: [common/backintime.py:518 arg_parse] Arguments: {&#039;debug&#039;: True} | unknownArgs: []

Back In Time
Version: 1.1.24

Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime --license&#039; for details.

DEBUG: [common/backintime.py:585 getConfig] config file: /home/groucho/.config/backintime/config
DEBUG: [common/backintime.py:586 getConfig] profiles: [&#039;1&#039;]
DEBUG: [common/applicationinstance.py:73 GUIApplicationInstance.check] No PID file
DEBUG: [common/pluginmanager.py:88 PluginManager.load_plugins] Register plugin path /usr/share/backintime/plugins
DEBUG: [common/pluginmanager.py:104 PluginManager.load_plugins] Add plugin notifyplugin.py
DEBUG: [common/pluginmanager.py:104 PluginManager.load_plugins] Add plugin qt4plugin.py
DEBUG: [common/pluginmanager.py:104 PluginManager.load_plugins] Add plugin userscriptsplugin.py
DEBUG: [common/snapshots.py:953 Snapshots.has_old_snapshots] Found old snapshots: False
DEBUG: [common/tools.py:618 keyring_supported] No appropriate keyring found. &#039;keyring.backends.chainer&#039; can&#039;t be used with BackInTime
DEBUG: [common/applicationinstance.py:73 ApplicationInstance.check] No PID file
DEBUG: [common/mount.py:50 Mount.__init__] pw-cache is not running
DEBUG: [common/mount.py:59 Mount.__init__] Call command: /usr/bin/backintime pw-cache start
DEBUG: [common/applicationinstance.py:73 ApplicationInstance.check] No PID file
--- snip ---
The previous line repeats continuously till I exit the GUI.
--- snip ---
DEBUG: [common/applicationinstance.py:73 ApplicationInstance.check] No PID file
DEBUG: [common/tools.py:618 keyring_supported] No appropriate keyring found. &#039;keyring.backends.chainer&#039; can&#039;t be used with BackInTime
DEBUG: [common/applicationinstance.py:73 ApplicationInstance.check] No PID file
DEBUG: [common/mount.py:50 Mount.__init__] pw-cache is not running
DEBUG: [common/mount.py:59 Mount.__init__] Call command: /usr/bin/backintime pw-cache start
groucho@devuan:~$ </code></pre></div><p>The available keyring.backends are these:</p><div class="codebox"><pre><code>groucho@devuan:~$ keyring --list-backends
keyrings.alt.file.EncryptedKeyring (priority: 0.6)
keyring.backends.kwallet.DBusKeyringKWallet4 (priority: 3.9)
keyring.backends.chainer.ChainerBackend (priority: 10)
keyring.backends.kwallet.DBusKeyring (priority: 4.9)
keyrings.alt.Gnome.Keyring (priority: 1)
keyring.backends.fail.Keyring (priority: 0)
keyring.backends.SecretService.Keyring (priority: 5)
keyrings.alt.file.PlaintextKeyring (priority: 0.5)
groucho@devuan:~$ </code></pre></div><p>And the one with <span class="bbc">priority: 10</span> cannot be used by <span class="bbc">backintime-qt4</span>.</p><p>But this is all way over my head.<br />Even though it <em>seems</em> that backintime is working properly, the printout of <span class="bbc">backintime-qt4 --debug</span> plus the syslog errors could mean there&#039;s something amiss somewhere.</p><p>Any ideas/suggestions?</p><p>Thanks in advance,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Wed, 10 Mar 2021 20:44:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28028#p28028</guid>
		</item>
	</channel>
</rss>
