Commit 5f95035
suppress WSL2-incompatible units; fix D-Bus race before logind
Add ConditionVirtualization=!wsl drop-ins for units that fail or are
irrelevant in the WSL2 overlayfs environment:
stratisd - no Stratis block devices in WSL2
systemd-homed - no LUKS home dirs in WSL2
var-lib-nfs-rpc_pipefs.mount - no NFS stack in WSL2
coreos-ignition-firstboot-complete - no /boot partition, cascades to
greenboot-healthcheck, zincati, rpm-ostree-fix-shadow-mode, and
boot-complete.target
NetworkManager-wait-online - WSL2 networking bypass (was timeout-only)
Fix systemd-logind retry loop: dbus-daemon-wsl.service lacked
Before=systemd-logind.service, causing logind to connect to D-Bus
before the WSL2 fallback daemon was listening. Adding Before= ensures
the correct startup ordering on WSL2 without affecting other platforms
(the unit's ConditionVirtualization=wsl keeps it inactive elsewhere).
Add *.mount.d/ and *.target.d/ glob patterns to .gitignore whitelist
alongside the existing *.service.d/ and *.socket.d/ patterns.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 8611c33 commit 5f95035
10 files changed
Lines changed: 24 additions & 0 deletions
File tree
- usr/lib/systemd/system
- NetworkManager-wait-online.service.d
- coreos-ignition-firstboot-complete.service.d
- greenboot-healthcheck.service.d
- rpm-ostree-fix-shadow-mode.service.d
- stratisd.service.d
- systemd-homed.service.d
- var-lib-nfs-rpc_pipefs.mount.d
- zincati.service.d
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
253 | 257 | | |
254 | 258 | | |
255 | 259 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments