I've been able to reproduce the problem on Ubuntu WSL 24.04 with systemd 255.4-1ubuntu8.1. I verified that version 255.4-1ubuntu8.2 fixes it.
u@drenec:~$ systemctl status ● drenec State: running Units: 359 loaded (incl. loaded aliases) Jobs: 0 queued Failed: 0 units Since: Mon 2024-07-08 09:41:07 CEST; 1h 1min ago systemd: 255.4-1ubuntu8.2 Tainted: cgroupsv1 CGroup: / ├─init.scope │ ├─ 1 /sbin/init │ ├─ 2 /init │ ├─ 6 plan9 --control-socket 6 --log-level 4 --server-fd 7 --pipe-fd 9 --log-truncate │ ├─325 /init │ ├─326 /init │ ├─327 -bash │ ├─546 systemctl status │ └─547 less Marking as verification-done. ** Tags removed: verification-needed verification-needed-noble ** Tags added: verification-done verification-done-noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2067922 Title: on WSL systemd status fails output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2067922/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs