<?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=8117&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / machine-id]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=8117</link>
		<description><![CDATA[The most recent posts in machine-id.]]></description>
		<lastBuildDate>Thu, 23 Jul 2026 21:05:31 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: machine-id]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=64891#p64891</link>
			<description><![CDATA[<p>In devuan, /var/lib/dbus/machine-id gets replaced on every boot and /etc/machine-id does not exist. (It might be there if you migrated a debian install to devuan, but I&#039;m not certain of that.) See /etc/default/dbus to turn that on or off.</p><p>You&#039;re not removing the files in your home directory (in ~/.dbus/session-bus/*) and neither does the default devuan installation.&#160; See <a href="https://dev1galaxy.org/viewtopic.php?pid=58117#p58117" rel="nofollow">https://dev1galaxy.org/viewtopic.php?pid=58117#p58117</a></p><p>I just have a single line in /etc/rc.local to remove the ones in my home so they get removed before I log in, and then a new one is created matching the one in /var/lib/dbus.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Thu, 23 Jul 2026 21:05:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=64891#p64891</guid>
		</item>
		<item>
			<title><![CDATA[machine-id]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=64890#p64890</link>
			<description><![CDATA[<p>Hi, </p><p>Because of the bad Windows GDID, questions about the &quot;machine-id&quot; came out.&#160; &#160;For me, i build a tiny small deb-paket for this, but only one init-script (for sysvrc) is needed.</p><p><span class="bbc">&#160; $ cat delete-maschine-id <br />#!/bin/sh<br />### BEGIN INIT INFO<br /># Provides:&#160; &#160; &#160;delete-maschine-id<br /># Required-Start:<br /># Required-Stop:<br /># Default-Start:<br /># Default-Stop:&#160; &#160; &#160;0 6<br /># Short-Description:&#160; &#160; Remove machine-id at shutdown<br /># Description:&#160; &#160; &#160; &#160; &#160; Deletes /etc/machine-id and /var/lib/dbus/machine-id<br />#&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;so a new unique ID is generated at next boot.<br />### END INIT INFO</span></p><p><span class="bbc">do_stop() {<br />&#160; &#160; echo &quot;removing machine-id&quot;<br />&#160; &#160; if [ -f /etc/machine-id ]; then<br />&#160; &#160; &#160; &#160; rm -f /etc/machine-id<br />&#160; &#160; fi<br />&#160; &#160; rm -f /var/lib/dbus/machine-id<br />}</span></p><p><span class="bbc">case &quot;$1&quot; in<br />&#160; &#160; start)&#160; echo &quot;invalid option&quot; ;;<br />&#160; &#160; stop)&#160; &#160;do_stop ;;<br />&#160; &#160; *)&#160; &#160; &#160; do_stop ;;<br />esac</span></p><p><span class="bbc">exit 0</span></p><p>works for me.&#160; When shutting down, the machine-id is removed, after restart dbus creates a new one.</p><p><strong>EDIT:</strong><br />Found it myself in /etc/default/dbus</p><p># IDTYPE: how to deal with /var/lib/dbus/machine-id:<br /># <br /># if IDTYPE=&quot;RANDOM&quot;: regenerate /var/lib/dbus/machine-id at each boot<br /># else keep it fixed across reboots<br />IDTYPE=&quot;RANDOM&quot;</p><p>Sorry for your time to read this, an i can delete my initscript.&#160; <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (tom)]]></author>
			<pubDate>Thu, 23 Jul 2026 20:13:47 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=64890#p64890</guid>
		</item>
	</channel>
</rss>
