So this is embarrassing... I seem to have deleted my user groups while I was trying to get evdev passthrough to work with my virtual machine. I actually had a working setup until I tried to add sound for my virtual machine. I also somehow deleted my user from the sudoers file, but managed to get that back. I have no idea how this all happened. Maybe it has to do with the fact that it's 4am and I've been trying to get things to work for a while. Too much time spent on the screen.
I have checked KUser and it's showing blank under groups. I have navigated to /etc and checked what the "groups" file contains. It's blank. However "groups-" file seems to have all the correct groups. I read that one can restore groups from that file. However the instructions aren't very clear. Or I'm just too tired and stupid to understand.
If there are any logs or files I need to post, I'll gladly post them if somebody tells me how to do it.
Restore from a snapshot. You can browse the files.
It's like Garuda includes snapshots for a reason...
I was eyeing those, but the last snapshot is from yesterday, which is kinda old considering I've done a lot on the system since then. Thought better to ask if it's possible to just restore that one file instead.
Have you been adding a load of groups?
You can see how the files differ with e.g.
$ sudo diff /etc/group /etc/group-
No idea why there's a difference, I guess I could look in the Arch wiki.
On mine, I could probably just copy
group- over to
group and things would work. No idea what your situation looks like, though. You probably want to compare your
group from a snapshot.
Here is the output for sudo diff /etc/group /etc/group-:
I'm not sure what I should be looking at.
You deleted your
/etc/group so it's saying that the entire contents of
/etc/group- is different.
If you don't want to think about this just copy the file across. If it doesn't work you can restore the working snapshot, or use a live installer environment to fix the install later.
OK, I'll try this, fingers crossed. Thanks for the help so far.
This worked. I think I'll create a snapshot now, before I break anything else.
You have been trying hard to destroy your system.
I am very sure you are going to break it very soon, if you treat your system with this type of irresponsibility.
If you or others wonder why I am so sure, check the
What's wrong with wheel?
My system has been running fine now since I recovered the groups from groups- file. Even got my virtual machine to work with GPU passthrough. It feels super snappy compared to my old one on Endeavour.
That's great, but is not proof that all are fine.
Don't listen to me, I am just a lunatic, just escaped from the asylum.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.