You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"All About Tor" article on Firejail's website describes creation of script & systemd service which generates a new machine-id on system shutdown. Is this script compatible with ArchLinux "as is" or should I change something in it before usage?
I wasn't able to find much info about machine-id on ArchWiki, only manual pages for various UUID generation tools. There is a random_machine_id package in AUR, but it's solution differs from one suggested by Firejail:
#!/bin/sh
if [ -f /etc/machine-id ]; then
rm /etc/machine-id && \
systemd-machine-id-setup
fi
Firejail's script acts at shutdown, uses dbus-uuidgen, mentions /var/lib/dbus/machine-id and chmod.
AUR's script acts at boot, uses systemd-machine-id-setup, not seems to mention /var/lib/dbus/machine-id or chmod.
Also, Linux Overview article by Privacy Guides suggests setting machine-id to constant commonly used value instead, like one from Whonix/Kicksecure OS.
At least in my case, /var/lib/dbus/machine-id is a symlink to /etc/machine-id.
So, what is the best approach in this matter, and how to make it work on Arch?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
"All About Tor" article on Firejail's website describes creation of script & systemd service which generates a new machine-id on system shutdown. Is this script compatible with ArchLinux "as is" or should I change something in it before usage?
I wasn't able to find much info about machine-id on ArchWiki, only manual pages for various UUID generation tools. There is a random_machine_id package in AUR, but it's solution differs from one suggested by Firejail:
dbus-uuidgen
, mentions/var/lib/dbus/machine-id
andchmod
.systemd-machine-id-setup
, not seems to mention/var/lib/dbus/machine-id
orchmod
.Also, Linux Overview article by Privacy Guides suggests setting machine-id to constant commonly used value instead, like one from Whonix/Kicksecure OS.
At least in my case,
/var/lib/dbus/machine-id
is a symlink to/etc/machine-id
.So, what is the best approach in this matter, and how to make it work on Arch?
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions