This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
systemd and inevitable leakage between distros #8855
Labels
You can continue the conversation there. Go to discussion →
Is your feature request related to a problem? Please describe.
Less a problem but a potential problem: Linux namespaces, such as separate one distribution from another under WSL, aren't particularly solid or all-encompassing. This poses a plethora of potential problems for running systemd in multiple WSL distributions at once on the same machine, since they will each believe they have sole ownership of, say, sysctl values, network configuration, binfmts, AppArmor profiles, kernel module loading, and probably half-a-dozen other things I haven't run into myself yet, some of which currently require custom kernels but many of which are accessible with the standard one.
This sort of situation where one systemd can change bits of the system's parameters around behind another systemd's back is just asking for obscure and impossible-to-diagnose issues.
Describe the solution you'd like
Perhaps for safety only one distribution with systemctl support enabled should be permitted to run at any given time?
Describe alternatives you've considered
Document a warning and embrace the chaos?
Additional context
None.
The text was updated successfully, but these errors were encountered: