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.
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
├─init. scope
● 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: /
│ ├─ 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.