Commenting here because I just marked bug 2069555 as a duplicate. When I last looked into this, it seemed like this was really on Microsoft to fix WSL1. Hence, I didn't really think there was a great fix here on the systemd side. Sure, we could fallback to F_SETLK or so, but my understanding is that WSL1 just returns success but never does any locking in that case. So that doesn't seem better to me.
In the postinst, the systemd-sysusers call is added automatically by dh_installsysusers, so working around the error in postinst scripts is not ideal either (anything that uses dh_installsysusers is affected). I'm open to suggestions, but without locking support in WSL, anything would just be papering over the failure. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2080257 Title: [WSL] systemd fails to upgrade on WSL1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2080257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs