nullpo-head / wsl-distrod

Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with systemd in a minute for you. Distrod also has built-in auto-start feature on Windows startup and port forwarding ability.
MIT License
1.9k stars 90 forks source link

[Bug]: some systemd services failed #83

Open pendenaor opened 1 year ago

pendenaor commented 1 year ago

Describe the bug

I don't know if these failures are serious but after an upgrade to systemd 102 and distrod 0.1.7 with archlinux, my system is shown as degraded because of 4 services which have failed.

Steps to reproduce

1) updade wsl with wsl-update 2) updade archlinux 3) update distrod

Expected behavior

Before update, system was fine (no service failures).

Windows version

Windows 10 version 21H2 (19044.2251)

Linux kernel version

Linux HOSTNAME 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 GNU/Linux

Distro

Archlinux (rollling)

How did you install that distro?

Installed by Distrod wizard

Logs

$ systemctl status --failed
× systemd-sysctl.service - Apply Kernel Variables
     Loaded: loaded (/usr/lib/systemd/system/systemd-sysctl.service; static)
     Active: failed (Result: exit-code) since Tue 2022-12-13 09:26:19 CET; 33min ago
       Docs: man:systemd-sysctl.service(8)
             man:sysctl.d(5)
    Process: 123 ExecStart=/usr/lib/systemd/systemd-sysctl (code=exited, status=243/CREDENTIALS)
   Main PID: 123 (code=exited, status=243/CREDENTIALS)

× systemd-tmpfiles-clean.service - Cleanup of Temporary Directories
     Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-clean.service; static)
    Drop-In: /run/systemd/system/systemd-tmpfiles-clean.service.d
             └─exclude_wslg_sockets.conf
     Active: failed (Result: exit-code) since Tue 2022-12-13 09:41:48 CET; 17min ago
TriggeredBy: ● systemd-tmpfiles-clean.timer
       Docs: man:tmpfiles.d(5)
             man:systemd-tmpfiles(8)
    Process: 1226 ExecStart=systemd-tmpfiles --clean --exclude-prefix=/tmp/.X11-unix (code=exited, status=243/CREDENTIA>
   Main PID: 1226 (code=exited, status=243/CREDENTIALS)

× systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev
     Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup-dev.service; static)
     Active: failed (Result: exit-code) since Tue 2022-12-13 09:26:19 CET; 33min ago
       Docs: man:tmpfiles.d(5)
             man:systemd-tmpfiles(8)
    Process: 132 ExecStart=systemd-tmpfiles --prefix=/dev --create --boot (code=exited, status=243/CREDENTIALS)
   Main PID: 132 (code=exited, status=243/CREDENTIALS)

× systemd-tmpfiles-setup.service - Create Volatile Files and Directories
     Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static)
    Drop-In: /run/systemd/system/systemd-tmpfiles-setup.service.d
             └─exclude_wslg_sockets.conf
     Active: failed (Result: exit-code) since Tue 2022-12-13 09:26:19 CET; 33min ago
       Docs: man:tmpfiles.d(5)
             man:systemd-tmpfiles(8)
    Process: 147 ExecStart=systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev --exclude-prefix=/tmp/.X11-u>
   Main PID: 147 (code=exited, status=243/CREDENTIALS)

additional comment

No response

trebuh commented 1 year ago

Hello, I do agree on that. What shall be provided as additional information for it to be taken into account?

I use Windows 10 22H2, so this is not OS related.

I also run archlinux.

My kernel is 5.15.79.1-microsoft-standard-WSL2 and my systemd version systemd 253 (253-1-arch)