Every time I restart or shoutdown the OS, UBUNTU looses permissions, CAN'T USE WSL!!!!

Emanuele Bortoletto 0 Reputation points
2023-04-12T13:55:16.18+00:00

Hi, every time I shutdown my pc, or I restart the system, the wsl doesn't work anymore. I reinstalled it 3 times, and now i cannot restart or shutdown the system, or I'll have to re install the wsl. When the systen is restarted i get this error when i try to start mysql service : mysql: unrecognized service when I try to get Mysql status : ERROR 2002 (HY000): Can't connect to local server through socket '/run/mysqld/mysqld.sock' (2) and when I try to reset the permissions on files and folders : sudo: /etc/sudo.conf is owned by uid 33, should be 0 sudo: /etc/sudo.conf is owned by uid 33, should be 0 sudo: /etc/sudoers is owned by uid 33, should be 0 sudo: no valid sudoers sources found, quitting sudo: error initializing audit plugin sudoers_audit Why? every time is the same thing, it is really frustrating. Ubuntu version : 2204.1.8.0 (default version 2) Kernel version : 5.10.102.1

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. S.Sengupta 24,636 Reputation points MVP
    2023-04-13T01:02:02.1933333+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.