Bug#1111066: systemd: systemd-sysusers fails on WSL1, breaking upgrades

Aron Xu aron at debian.org
Thu Aug 14 10:47:24 BST 2025


Package: systemd
Version: 257.7-1
Severity: important

I'm trying to upgrade from bookworm to trixie on WSL1, and it wasn't
smooth because dh_installsysusers is now default to inject calls of
systemd-sysusers when debian/package.sysusers exist. But apparently
the command always fail on WSL1:

$ sudo systemd-sysusers
Failed to take /etc/passwd lock: Invalid argument

After doing some hand craft magics the upgrade worked otherwise.

Please note that WSL1 is not running a real Linux kernel, but this
will help users who has limited access to real Linux installations
(VM/WSL2 or hardware) under certain circumstance.

Thanks,
Aron



More information about the Pkg-systemd-maintainers mailing list