You are not logged in.
Hello:
... did not write that quote.
Hmm ....
What'chu talkin' 'bout, Willis?
Oh, right ...
Taken care of.
Best,
A.
Hello:
... a security risk.
Yes, it is.
But it is a local privilege escalation and (for now) it only affects sudo 1.9.14 to 1.9.17.
See here: https://gbhackers.com/poc-published-for … e-to-root/
... legacy versions prior to 1.9.14 remain unaffected since the vulnerable chroot feature did not exist in earlier releases.
I wonder what happened to do one thing and do it well?
That said, my up-to-date Devuan Daedalus (and yours) runs 1.9.13p3:
$ apt list | grep installed | grep sudo
--- snip ---
sudo/stable,stable-security,now 1.9.13p3-1+deb12u2 amd64 [installed]
$ So ...
Stay the course, everything wil be back to normal soon.
Best,
A.
Hello:
... don't do an installation often ...
My Devuan box started off as Jesse and is now Daedalus.
Only new installations I have done since are on VMs, a 1000HE and a RPi.
... start with creating the partitions with gparted.
Same here, since my very first Linux. iirc it was Ubuntu.
... on bios and spinning rust here.
That too, save for the small SSD I adopted a few years ago as a boot/system/home drive with everything backed up daily with BackInTime+Timeshift and Clonezilla drive images once a week.
Best,
A.
Hello:
And now ...
A side-note to a side-note. ; ^ )
I have a Devuan Daedalus VM I can run (for experimental / testing purposes) on my Devuan Daedalus box.
It is the bog-standard image from the download repository and I can log in (via SLiM) as root:
# whoami
root
#
# uname -a
Linux daedalus 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux
# My box works the same way.
I have no issue with that, just have to take the necessary precautions.
That said, I have never (ever) needed to do it.
I have specific sudoers entries for all-things I allow as sudo.
Best,
A.
Hello:
... it is missing.
Not if it actually boots.
I don't think a RPi would boot without a config.txt file.
Have you checked elsewhere on the drive?
eg: /boot/firmware/*?
Best,
A.
Hello:
... also missing /etc/machine-id.
They may have moved somewhere less conspicuous.
ie: hidden it
Or maybe it has become a part of the systemd OS.
I don't have one in my Daedalus system: I deleted it.
No issues.
... two files in ~/.dbus/session-id/.
... created back on 8-24 ...
That one you can delete.
If what we have seen up to now holds, the system behaviour should be that the -0 file gets overwitten at boot.
Best,
A.
Hello:
... easier to find the entries than it is in syslog ...
I agree.
syslog is a mess to look in but lets thank the IT gods for being able to do so.
... read the logger man page ...
... logging in both places, that seems redundant ...
Hmm ...
Why not just to dmesg?
Best,
A.
Hello:
... smaller accumulation of files in there ...
Without knowing anything much about how/why this happens, what I have observed is that, wherever it is that a */.dbus/session-bus/ directory is located*, stale files remained.
ie: stale in the sense that they are session-id files belonging to previous sessions.
* /root, /home/user, /var/lib/lightdm or anywhere but /tmp
This is something that has (evidently) been happening for the longest while and gone unnoticed, never before reported as an anomaly.
A bug? Most probably.
A feature to track previous dbus sessions?
If so, to what practical end?
It is definitely related to installations with some sort of desktop or WM.
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.
Now, with @greenjean's script, that does not happen any more.
My headless Chimaera VM does not have a */.dbus/session-bus/ directory.
All this to say that this looks like a dbus problem albeit (most probably) related to systemd.
Just a guess, a possibly educated one.
Best,
A.
Hello:
... how would it be handled on devuanpi?
I expect it to be done in the same way.
Remember: Devuan is Debian but without systemd.
I opened up rpi-4-devuan-daedalus-6.1.93-arm64-ext4-2025-09-22-0257.img and mounted it.
The BOOT partition has a file named config.txt which includes what you are looking for:
--- snip ---
# enable uart
enable_uart=0
# disable wifi and bluetooth
#dtoverlay=disable-wifi
#dtoverlay=disable-bt
# remove test rainbow
disable_splash=1
--- snip ---Is there no config.txt file in your Devuan RPi installation?
Best,
A.
Hello:
... named rm-machineid ...
... in /etc/init.d/.
... root owns it and that it's executable.
... su-to-root and: update-rc.d rm-machineid defaults 00
Done.
From what I can see, works as advertised. 8^)
Logs to /var/log/user.log.
--- snip ---
Sep 19 18:28:03 devuan shutdown[11658]: shutting down for system halt
Sep 19 18:28:03 devuan rm-machineid: dbus session-bus cleanup: removing session-bus files
Sep 19 18:28:03 devuan rm-machineid: Cleaned /root/.dbus/session-bus
Sep 19 18:28:03 devuan rm-machineid: Cleaned /home/groucho/.dbus/session-bus
--- snip ---Good job.
Best,
A.
Hello:
... thanks ...
You're welcome.
... tested the script ...
Great.
... preserves Devuan's unique functionality
Indeed ...
This machine-id is thing is inextricably linked / related to systemd and as such should be curtailed.
Q: where should the script go?
Best,
A.
Hello:
... unless somebody more knowledgeable sees a flaw ...
That certainly would not be me, so I cannot comment on it save to say that logging is a great idea.
What I can comment on, without any reservation, is your commitment to getting the problem solved.
And extend a heartfelt thank you for all the work you have put into doing so.
Kudos to you.
Best,
A.
Hello:
... removed /etc/machine-id and now have the changing machine id - and the same accumulating files ...
Exactly the same in my case.
(~/.config/session/ is another place that you might look for bloat).
No, I don't have that directory in my system:
$ cd .config/session
bash: cd: .config/session: No such file or directory
$ ... an init script for sysvinit that would ...
Yes ...
root@localhost:~# cat ~/.bash_logout rm -f ~/.dbus/session-bus/*
It would seem that g4sra has (?) this ^^^^ script in his system.
But it is in the root directory and they have not said if it is part of the installation or added post-install.
Maybe he will drop by and shed some light on that.
Then there's the comment by HoAS (see link in previous post).
Best,
A.
Hello:
... what a 'machine id' is and what a 'dbus session id' is.
They are not the same thing ...
No, I get it.
The machine-id is used by .dbus.
The problem was having a fixed one, so I nuked /etc/machine-id.
Now I get a different one after every boot.
Which is what the patch mentioned in the ASCII release notes was for.
root@localhost:~# cat ~/.bash_logout
rm -f ~/.dbus/session-bus/*Right.
That would (?) purge the random generated machine-id at every shutdown, solving the problem of the accumulation of files in ~/.dbus/session-bus.
But ...
That it is not what I see in my Daedalus installation:
$ cat ~/.bash_logout
# ~/.bash_logout: executed by bash(1) when login shell exits.
# when leaving the console clear the screen to increase privacy
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi
$[root@devuan ~]# cat ~/.bash_logout
cat: /root/.bash_logout: No such file or directory
[root@devuan ~]# ^^^^ same as /etc/skel/.bash_logout
Maybe manually adding the script would do it?
There is a thread here at Dev1 related to ~/.bash_logout:
https://dev1galaxy.org/viewtopic.php?id=5559
https://bugs.debian.org/cgi-bin/bugrepo … =%23331504
EDIT: agetty(8) clears the screen itself by default so presumably /etc/skel/.bash_logout was added when it didn't do that.
Now, if this is right and agetty clears the screen by default, ~/.bash_logout would not be needed?
Thanks for your input.
Best,
A.
Hello:
... presence of /etc/machine-id will stop uuidgen from generating new id's.
Yes, that was it.
But clearing out all the files in /.dbus/session-bus and rebooting twice got me this:
$ ls -h -l ~/.dbus/session-bus
total 8.0K
-rw-r--r-- 1 groucho groucho 462 Sep 18 19:15 aa86e5c7c1dc0ddb9ce2992a68cc8415-0
-rw-r--r-- 1 groucho groucho 462 Sep 18 19:08 d843ea5611c4fca72eb6d57968cc81d2-0
$ Patch now works but it does not serve any purpose if the previous id file is also there.
And I'll have a huge collection of session-bus files in no time.
Maybe deleting the file on shutdown with a script would do the trick?
I saw an example today, have to look for it.
Best,
A.
Hello:
@Rolfie
... patch changing the machine-id works fine if that file does not exist.
But it does ...
$ ls -l /etc/machine-id
-r--r--r-- 1 root root 33 Dec 13 2017 /etc/machine-id
$ And then the patch does not work.
@greenjeans
No not the /var/lib/dbus/machine-id file ...
Right ...
I knew which one you were referring to because I had both seen it and remembered that I had seen it.
But, as you can gather *...
See the date and the attributes?
It has probably been there since my first Devuan Linux installation, Jesse.
The patch evidently did not act on an existing machine-id and so it remained static.
I'll nuke it, see what happens after a few reboots and report back, later or early tomorrow.
Sorry about the distraction. 8^/
Best,
A.
Hello:
... one of your frankenmachines we're talking about ...
Indeed ...
My best one. 8^D
But my franken-ventions are hardware only.
ie: I am just a mechanic of sorts. I took apart my tricycle at age 4, my father could not believe it.
I leave the software stuff to the people who are more intelligent than I.
That said, I don't think it matters which hardware the system runs on.
If the system is Devuan based and dbus is present, the [multiple files] problem is there.
My headless Chimaera VM has a machine-id but no /var/lib/dbus/ machine-id files, so maybe it is a dbus bug.
But the real problem is not really the latter, it is the existence of a machine-id.
That was apparently solved with a patch when ASCII was released. (as per the release notes)
But now the problem is that either the ASCII patch never worked / does not work now / was never applied in post-ASCII releases.
Are the Devuan devs aware of this?
Edit:
... do you have an /etc/machine-id file?
Of course, I say so in one of my last posts.
Machine-id is set thus:
$ cat /var/lib/dbus/machine-id 26a708d3d7dc6778fc6ff9f55921b024 $
Best,
A.
Hello:
Same on my Daedalus: 340 files ...
Just checked my 1000HE netbook running Beowulf with a backported kernel.
Was never upgraded because I fear for my coffee roasting software.
Did not bother to count how many after I saw that the third MC screen passed by.
Must have been 600+ files which I promptly nuked, but it is just a guess.
Curiously enough, I never came across any line in dmesg (or other logs I look at) saying something about this in any one of my boxes, ever.
eg:
[000.0000] generating random machine-idor
[000.0000] generating random machine-id failed - old machine-id usedMethinks that the patch applied to ASCII never really worked and if it did, it did so for just a short while or only in ASCII.
Not being something that would make a light blink (so to speak) it just laid there, dormant.
And nobody ever checked.
Till @greenjeans. 8^)
Best,
A.
Hello:
... swapping machine id's every boot is a good thing ...
I agree.
Though there are a great many other fingerprinting / tracking devices at work.
But one-by-one is the way.
...find out why old ones aren't getting deleted, and why for some folks it's just not happening.
I have not seen anyone (yet) report that their system is actually working as intended. ie: creating a new machine-id at boot.
In my case, given the files' datestamps, it never worked.
Or maybe it worked sometimes and not others. eg: with the Jesse to ASCII dist-upgrade
Best,
A.
Hello:
The /etc/machine-id and /var/lib/dbus/machine-id files can potentially be used to fingerprint a system ...
I thought as much, asked to verify.
... Devuan, tails and whonix already take care of regenerating machine-id every boot ...
Yes?
I don't see that happening.
ie: /etc/default/dbus is set to IDTYPE="RANDOM" (see my previous post)
And it seems that I am not the only one.
Any idea why?
Is there a bug/problem to be addressed somewhere in my system Devuan?
If so, it has been there since (at least) Jesse ASCII*.
*The dbus patch to generate new dbus machine-id on boot was added in ASCII.
Best,
A.
Hello:
... as deb.devuan.org goes, I get no result from pinging ...
Just checking for you:
$ ping deb.devuan.org
PING deb.rr.devuan.org (131.188.12.211) 56(84) bytes of data.
64 bytes from ftp.rrze.uni-erlangen.de (131.188.12.211): icmp_seq=1 ttl=49 time=231 ms
64 bytes from ftp.rrze.uni-erlangen.de (131.188.12.211): icmp_seq=2 ttl=49 time=231 ms
64 bytes from ftp.rrze.uni-erlangen.de (131.188.12.211): icmp_seq=3 ttl=49 time=231 ms
64 bytes from ftp.rrze.uni-erlangen.de (131.188.12.211): icmp_seq=4 ttl=49 time=231 ms
64 bytes from ftp.rrze.uni-erlangen.de (131.188.12.211): icmp_seq=5 ttl=49 time=231 ms
64 bytes from ftp.rrze.uni-erlangen.de (131.188.12.211): icmp_seq=6 ttl=49 time=231 ms
64 bytes from ftp.rrze.uni-erlangen.de (131.188.12.211): icmp_seq=7 ttl=49 time=231 ms
64 bytes from ftp.rrze.uni-erlangen.de (131.188.12.211): icmp_seq=8 ttl=49 time=232 ms
64 bytes from ftp.rrze.uni-erlangen.de (131.188.12.211): icmp_seq=9 ttl=49 time=231 ms
^C
--- deb.rr.devuan.org ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 14091ms
rtt min/avg/max/mdev = 231.240/231.392/231.600/0.101 ms
$ Using ifupdown after nuking network manager, no problems.
/etc/resolv.conf immutabled.
Best,
A.
Hello:
... so it would seem to be mostly irrelevant for devuan.
Maybe, not necessarily.
At least not yet. 8^°
Which begs the following question:
In whose interests or (better yet, to what end) does my box/system need to have a unique machine-id.
ie: my machine-id seems to have been set long ago and it has not changed (much like your own situation) since 17/10/2018.
Best,
A.
Hello:
I forgot to add this bit:
Default behavior in devuan is for /var/lib/dbus/machine-id to be replaced on reboot.
... disabled to revert to the upstream default by commenting the line that says: IDTYPE="RANDOM" in /etc/default/dbus.
If you do that, the id number will be constant.
My /etc/default/dbus says this:
$ cat /etc/default/dbus
# This is a configuration file for /etc/init.d/dbus; it allows you to
# perform common modifications to the behavior of the dbus daemon
# startup without editing the init script (and thus getting prompted
# by dpkg on upgrades). We all love dpkg prompts.
# Parameters to pass to dbus.
PARAMS=""
# IDTYPE: how to deal with /var/lib/dbus/machine-id:
#
# if IDTYPE="RANDOM": regenerate /var/lib/dbus/machine-id at each boot
# else keep it fixed across reboots
IDTYPE="RANDOM" ### not commented
$Machine-id is set thus:
$ cat /var/lib/dbus/machine-id
26a708d3d7dc6778fc6ff9f55921b024
$So ...
Unless I got it wrong, on reboot the machine-id should change in a random manner.
Right?
Now, here's the thing ®: it does not and apparently has not changed in the last eight years or so.
In my first post in this thread you can see that all the files I found have the same machine-id:
~$ ls -h -l ~/.dbus/session-bus
total 12K
-rw-r--r-- 1 groucho groucho 462 Sep 17 17:32 26a708d3d7dc6778fc6ff9f55921b024-0
-rw-r--r-- 1 groucho groucho 462 Jun 10 2024 26a708d3d7dc6778fc6ff9f55921b024-1
-rw-r--r-- 1 groucho groucho 465 Mar 14 2019 26a708d3d7dc6778fc6ff9f55921b024-2
~$ # ls -h -l ~/.dbus/session-bus
total 8.0K
-rw-r--r-- 1 root root 463 Sep 11 21:47 26a708d3d7dc6778fc6ff9f55921b024-0
-rw-r--r-- 1 root root 469 Oct 17 2018 26a708d3d7dc6778fc6ff9f55921b024-1
# After rebooting (twice), the same random number is there:
$ cat /var/lib/dbus/machine-id
26a708d3d7dc6778fc6ff9f55921b024
$ And it matches what I find both in both ~/.dbus/session-bus directories:
$ ls -h -l ~/.dbus/session-bus
total 4.0K
-rw-r--r-- 1 groucho groucho 462 Sep 18 00:23 26a708d3d7dc6778fc6ff9f55921b024-0
$ # ls -h -l ~/.dbus/session-bus
total 4.0K
-rw-r--r-- 1 root root 463 Sep 11 21:47 26a708d3d7dc6778fc6ff9f55921b024-0
# Q: I don't care one way or the other if my machine-id changes or not, but am I missing something here?
Best,
A.
Hello:
... should have a ton of files then ...
Why?
Not if it is (as you have mentioned) working properly.
ie: renewing the files on every boot.
Still, I did have those two very old files.
I rebooted after nuking the vintage files and the system replaced the previous valid one with a new one.
ie: just one file with the proper boot time/date present.
... for some reason yours is kicking out the old ones.
Lately I have mentioned that my present system ie: Daedalus started off as Jesse and from the date of the oldest file I found in the root didrectory, that would have been back in 2017.
Makes sense, my first post here is from that year.
The fact that this box has seen a succession of dist-upgrades, with all but one (a Beowulf to Chimaera nightmare) being reasonably smooth may have to be taken into account to evaluate this find.
Could it be that there was a change (or introduced bug) in how dbus managed those files and my system (at some point) retained a previous configuration? No idea, just a guess.
Let me know if you need more data.
Best,
A.
Hello:
Seems like something ought to clear the old one(s) out ...
Passed by, saw your post and decided to see what was up in my Daedalus installation:
~$ ls -h -l ~/.dbus/session-bus
total 12K
-rw-r--r-- 1 groucho groucho 462 Sep 17 17:32 26a708d3d7dc6778fc6ff9f55921b024-0
-rw-r--r-- 1 groucho groucho 462 Jun 10 2024 26a708d3d7dc6778fc6ff9f55921b024-1
-rw-r--r-- 1 groucho groucho 465 Mar 14 2019 26a708d3d7dc6778fc6ff9f55921b024-2
~$ Newest entry is from today, the time is (most probably) when I booted/logged in.
But there are two more: one from last year and yet another one but from 2019. (!)
# ls -h -l ~/.dbus/session-bus
total 8.0K
-rw-r--r-- 1 root root 463 Sep 11 21:47 26a708d3d7dc6778fc6ff9f55921b024-0
-rw-r--r-- 1 root root 469 Oct 17 2018 26a708d3d7dc6778fc6ff9f55921b024-1
# I don't do too much root but I must have done something last 11/09.
And last 17/10/2018 also. (!) <--- soon to be 7 years old, when Jesse was running this box.
I concurr, there may be some housekeeping to do.
@greenjeans: good catch ...
Q: these files are supposed to be temporary ie: belonging to the current session, right?
Edit:
I never leave my box on, just in case.
I boot the system early while I make my espresso and do not leave it on if I am not home or not doing something on it. eg: clonezilla backups
So it gets rebooted at least a half dozen times a day, sometimes more.
Probably the reason why my file count was so low compared to you, @golinux and @fsmithred.
But still, why did I have (nuked them) files from 2024, 2019 and 2018?
Best,
A.