Somehow it appears that the uid and gid were switched between the user creation in /etc/passwd and maybe that in /etc/group as well as that used for the directory ownership. Installing the package seems to have had a problem.
Can confirm, struggle with it for 3 days already. I don’t want to permanently disable SELinux. It’s not secure. But I also can’t create toranon user - SystemD Login manager service prevents me from doing that.
$> sudo useradd -m -s /bin/bash toranon
useradd: lock /etc/group.lock already used by PID 4
useradd: cannot lock /etc/group; try again later.
$> ps 4
PID TTY STAT TIME COMMAND
4 ? I< 0:00 [kworker/R-rcu_g]
$> sudo lsof /etc/group.lock
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc
Output information may be incomplete.
This issue solved itself somehow. And it was very strange. The only thing I did was removing custom GTK theme config from several places (& rebooting):
gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita'
sed -i -r -e 's/^(export GTK_THEME[=])/#\1/' /etc/bashrc
The theme I’ve installed was causing syntax errors & app crashes when running gnome-software. So probably it was somehow messing with some daemons & services?
But I really wanna use a custom GTK theme AND Tor service, tbh…
That does not indicate a self-fixed issue.
Your changes apparently removed the interference.
It is known and to be expected that there are times where custom software may interfere with either the OS, the desktop, or other software and it is up to the user to identify what changes might have triggered the problems. If nothing custom is installed then it is on fedora to fix it, but in your case you seem to be using 2 non-fedora packages that did not play well together in the same sandbox. Tor and the custom theme.
The issue has returned. IDK which layer causes it. So this is still happening on Fedora Silverblue 40. systemd-oom takes ownership of /var/lib/tor & /var/log/tor for some reason. Can be (temporarily?) solved by running this: