<?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=7414&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7414</link>
		<description><![CDATA[The most recent posts in [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus.]]></description>
		<lastBuildDate>Sat, 18 Oct 2025 13:34:04 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58683#p58683</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>on my system, the machine-id is defined in /var/lib/dbus/machine-id.</p></div></blockquote></div><div class="quotebox"><blockquote><div><p>I have that file too, which would explain why I&#039;m not seeing the accumulation of randomly named files.</p></div></blockquote></div><p>I have the same file in all mine, doesn&#039;t stop it from genning new ones in session-bus every boot.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Sat, 18 Oct 2025 13:34:04 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58683#p58683</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58681#p58681</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>I don&#039;t even have that folder on my Daedalus installs, just ~/.dbus/session-bus/</p></div></blockquote></div><p>Oops, that&#039;s it, I just misspelled it.</p><div class="quotebox"><blockquote><div><p>If you switch to console without stopping the desktop, log in and then start a second desktop on :1, you&#039;ll get another file in ~/.dbus/session-bus with the same number as /var/lib/dbus/machine-id except with -1 at the end</p></div></blockquote></div><p>That makes sense. I have a vague memory of doing something like that once.</p><div class="quotebox"><blockquote><div><p>on my system, the machine-id is defined in /var/lib/dbus/machine-id.</p></div></blockquote></div><p>I have that file too, which would explain why I&#039;m not seeing the accumulation of randomly named files.</p>]]></description>
			<author><![CDATA[dummy@example.com (stultumanto)]]></author>
			<pubDate>Sat, 18 Oct 2025 12:56:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58681#p58681</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58595#p58595</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>So looks like whatever display manager is used, a folder is created in /var/lib/(display-manager)/.dbus/session-bus/*</p><p>But i&#039;m still trying to figure out what purpose it serves and how they got there, after logging in and out of that partition multiple times yesterday, that folder was not added to by the system, still just 21 files that all show they were created when I started a snapshot last week.</p></div></blockquote></div><p>I did finally get around to messing with that, I deleted all the files in that folder, and rebooted multiple times and logins/logouts, and so far nothing has been generated back into that folder. And nothing seems amiss with the system whatsoever.&#160; I&#039;m wondering if the system generates a file in there on install, and never gens another, which is possible even though I had 20+ files in there because this system has been snapshotted/installed many times and I guess it just genned a new one every time?</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Tue, 14 Oct 2025 19:54:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58595#p58595</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58233#p58233</link>
			<description><![CDATA[<p>Further testing to come, might be something on my end, but the network manager files shouldn&#039;t be accumulating like that, I don&#039;t know that it has anything to do with Snapshot, I think Caja&#039;s properties tab are confusing some dates compared to PcmanFM.</p><p>EDIT: Started a different thread about this and solved it.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Thu, 25 Sep 2025 17:29:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58233#p58233</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58230#p58230</link>
			<description><![CDATA[<p>Really appreciate the info @grunchy! I only have Mate and Openbox here to test on.</p><p>Dbus really gets around it seems.</p><p>So looks like whatever display manager is used, a folder is created in /var/lib/(display-manager)/.dbus/session-bus/*</p><p>But i&#039;m still trying to figure out what purpose it serves and how they got there, after logging in and out of that partition multiple times yesterday, that folder was not added to by the system, still just 21 files that all show they were created when I started a snapshot last week.</p><p>The init script is working perfectly it seems, several days of testing now and no issues.</p><p>To clean /var/lib/(display-manager)/.dbus/session-bus/* in a similar fashion would take some extra work, have to list all available display managers, there&#039;s not that many but still.</p><p>And now I just found in /var/lib/NetworkManager some 181 files, 5 of which are config/info files of one sort or another, and all the rest are eth0-lease files, and all of those say they were created at the exact same time I started that snapshot last Wednesday.</p><p>So 176 files that all do the same thing, sample filename and it&#039;s contents:<br />internal-f368e190-5bd0-37e6-b42d-75f71b63df1d-eth0.lease</p><p># This is private data. Do not parse.<br />ADDRESS=192.168.2.5</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Thu, 25 Sep 2025 16:17:01 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58230#p58230</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58227#p58227</link>
			<description><![CDATA[<p>hello, everyone. interesting thread. similar to user479 in post #44, i<br />wanted to add some more data for completeness.</p><p>i noticed the accumulating files last year but was not curious enough<br />to search for more information. just added rm&#039;s to my weekly clean-up<br />script.</p><p>based on another post, i commented-out IDTYPE=RANDOM, which prevents<br />the file accumulation and reverted the changes to my clean-up script.</p><p>based on this thread it appears that IDTYPE=RANDOM is a &quot;good thing&quot;<br />so those deletes will be getting added back.</p><p>my set-up is daedalus+KDE so sddm and pulseaudio are also installed.</p><p>on my system, the machine-id is defined in /var/lib/dbus/machine-id.<br />there is no /etc/machine-id file.</p><p>in addition to the ~/.dbus/session-bus and /root/.dbus/session-bus<br />directories mentioned in post #1, with KDE there is also the<br />/var/lib/sddm/.dbus/session-bus directory to clean-up.</p><p>and pulseaudio pollutes ~/.config/pulse with 6 files/directories, so<br />need to clean-up these as well:</p><p>&#160; &#160;&lt;machine-id&gt;-card-database.tdb<br />&#160; &#160;&lt;machine-id&gt;-default-sink<br />&#160; &#160;&lt;machine-id&gt;-default-source<br />&#160; &#160;&lt;machine-id&gt;-device-volumes.tdb<br />&#160; &#160;&lt;machine-id&gt;-runtime<br />&#160; &#160;&lt;machine-id&gt;-stream-volumes.tdb</p><p>no idea how this will change with excalibur.</p>]]></description>
			<author><![CDATA[dummy@example.com (grunchy)]]></author>
			<pubDate>Wed, 24 Sep 2025 22:04:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58227#p58227</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58221#p58221</link>
			<description><![CDATA[<p>The -0, -1, or -10 at the end of the filename corresponds to the $DISPLAY that was used. </p><p>If you switch to console without stopping the desktop, log in and then start a second desktop on :1, you&#039;ll get another file in ~/.dbus/session-bus with the same number as /var/lib/dbus/machine-id except with -1 at the end, but only if there&#039;s a number in dbus/machine-id. If you delete that file first, you won&#039;t get another one in your home unless you also restart dbus. (e.g. cycle through &#039;init 1&#039; and &#039;ctrl-d&#039;)</p><div class="codebox"><pre><code>&gt; ctrl-alt-f1 to get to console
&gt; log in as user
Run:
  startx -- :1 </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 24 Sep 2025 15:50:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58221#p58221</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58215#p58215</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Ceres system completely lacks the file at /etc/default/dbus. Nonetheless, dbus is definitely installed and running. I&#039;m also missing /etc/machine-id.</p></div></blockquote></div><p>On a new Devuan install there shouldn&#039;t be an /etc/machine-id, so that seems correct.</p><div class="quotebox"><blockquote><div><p>Another puzzle: there are exactly two files in ~/.dbus/session-id/.</p></div></blockquote></div><p>I don&#039;t even have that folder on my Daedalus installs, just ~/.dbus/session-bus/, perhaps somebody has renamed it in Ceres.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Wed, 24 Sep 2025 14:28:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58215#p58215</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58205#p58205</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>stultumanto wrote:</cite><blockquote><div><p>... also missing /etc/machine-id.</p></div></blockquote></div><p>They may have moved somewhere less conspicuous.<br />ie: hidden it</p><p>Or maybe it has become a part of the <span class="bbc">systemd</span> OS.</p><p>I don&#039;t have one in my <span class="bbc">Daedalus</span> system: I deleted it.<br />No issues.</p><div class="quotebox"><cite>stultumanto wrote:</cite><blockquote><div><p>... two files in ~/.dbus/session-id/.<br />... created back on 8-24 ...</p></div></blockquote></div><p>That one you can delete.<br />If what we have seen up to now holds, the system behaviour should be that the <span class="bbc">-0</span> file gets overwitten at boot.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Wed, 24 Sep 2025 08:14:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58205#p58205</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58204#p58204</link>
			<description><![CDATA[<p>This is odd: although my Excalibur system is showing the same behavior that everyone everyone describes here, my Ceres system completely lacks the file at <span class="bbc">/etc/default/dbus</span>. Nonetheless, <span class="bbc">dbus</span> is definitely installed and running. I&#039;m also missing <span class="bbc">/etc/machine-id</span>.</p><p>Another puzzle: there are exactly <em>two</em> files in <span class="bbc">~/.dbus/session-id/</span>. The files have <em>almost</em> the exact same names, except that one ends in <span class="bbc">-0</span>, and the other ends in <span class="bbc">-1</span>. The <span class="bbc">-0</span> file gets overwritten on each reboot, but with the exact same name. The <span class="bbc">-1</span> file was created back on 8-24, and hasn&#039;t been touched since.</p>]]></description>
			<author><![CDATA[dummy@example.com (stultumanto)]]></author>
			<pubDate>Wed, 24 Sep 2025 06:11:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58204#p58204</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58201#p58201</link>
			<description><![CDATA[<p>Greenjeans: that is weird about the 21 files with the same time/date. I have no ideas about that.</p><p>This will nuke them all:</p><div class="codebox"><pre><code>find / -type f -wholename &quot;*.dbus/session-bus/*&quot; -exec rm {} \;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 23 Sep 2025 23:29:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58201#p58201</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58200#p58200</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>greenjeans wrote:</cite><blockquote><div><p>... easier to find the entries than it is in syslog ...</p></div></blockquote></div><p>I agree.<br />syslog is a mess to look in but lets thank the IT gods for being able to do so.</p><div class="quotebox"><cite>greenjeans wrote:</cite><blockquote><div><p>... read the logger man page ...<br />... logging in both places, that seems redundant ...</p></div></blockquote></div><p>Hmm ...<br />Why not just to <span class="bbc">dmesg</span>?</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 23 Sep 2025 23:03:47 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58200#p58200</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58199#p58199</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>greenjeans wrote:</cite><blockquote><div><p>... smaller accumulation of files in there ...</p></div></blockquote></div><p>Without knowing anything much about how/why this happens, what I have observed is that, <span class="bbu">wherever</span> it is that a <span class="bbc">*/.dbus/session-bus/</span> directory is located*, stale files remained.<br />ie: <em>stale</em> in the sense that they are session-id files belonging to previous sessions.<br />* <span class="bbc">/root</span>, <span class="bbc">/home/user</span>, <span class="bbc">/var/lib/lightdm</span> or anywhere but <span class="bbc">/tmp</span></p><p>This is something that has (evidently) been happening for the longest while and gone unnoticed, never before reported as an anomaly.<br />A bug? Most probably.<br />A <em>feature</em> to track previous dbus sessions?<br />If so, to what practical end?</p><p>It is definitely related to installations with some sort of desktop or WM.<br />eg: my 1000HE runs a dated Devuan (5.10 kernel and Openbox) and when I went to look I found a staggering amount of stale files going back to 2017, which I promptly nuked.<br />Now, with @greenjean&#039;s script, that does not happen any more.<br />My headless <span class="bbc">Chimaera</span> VM does not have a <span class="bbc">*/.dbus/session-bus/</span> directory.</p><p>All this to say that this looks like a <span class="bbc">dbus</span> problem albeit (most probably) related to <span class="bbc">systemd</span>.</p><p>Just a guess, a possibly educated one.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 23 Sep 2025 22:53:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58199#p58199</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58198#p58198</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Logs to /var/log/user.log</p></div></blockquote></div><p>.</p><p>Well that&#039;s nicer and easier to find the entries than it is in syslog, I guess I need to read the logger man page more thoroughly. So it&#039;s logging in both places, that seems redundant, maybe I need to specify.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Tue, 23 Sep 2025 22:42:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58198#p58198</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58197#p58197</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Users of the lightdm display manager will probably also see an accumulation of files in /var/lib/lightdm/.dbus/session-bus/</p></div></blockquote></div><p>Sonofagun...nice find! I wonder if we can safely delete those on shutdown as well?</p><p>Interesting...much smaller accumulation of files in there than was in the other two folders.</p><p>Curiouser and curiouser...on my build partition where I make and snapshot Vuu-do, there are 21 files in that folder, and according to the properties tab, every single one of them was created at the same time, date, hour, even down to the same second. And that was last Wednesday the 17th at the exact same time a snapshot of Vuu-do (mini-ob-z) was started, but off by exactly an hour (that may be a daylight savings time discrepancy). </p><p>@fsmithred, this seems strange, no?</p><p>The other partitions have some files as well, but the dates are not all the same.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Tue, 23 Sep 2025 21:54:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58197#p58197</guid>
		</item>
	</channel>
</rss>
