Skip to content

fix: systemd on user level#57

Merged
LKHN merged 1 commit intoAlmaLinux:mainfrom
LKHN:fix_user_level_systemd
Apr 11, 2025
Merged

fix: systemd on user level#57
LKHN merged 1 commit intoAlmaLinux:mainfrom
LKHN:fix_user_level_systemd

Conversation

@LKHN
Copy link
Contributor

@LKHN LKHN commented Apr 10, 2025

We were masking some systemd units in two parts:

  1. Due the similar nature, the WSL images inherited masking of some systemd units from the init containers.

  2. There is also a list of systemd units are recommended to be masked by the official WSL documentation with introduction of the new packaging format and installation format.

Dropping the first part lets systemd work in user level too. So, instead of hunting down on which units breaks user level support when it is masked, it is better to only rely on the official WSL documentation, which built from the WSL specific reports.

fixes #56

We were masking some systemd units in two parts:

1. Due the similar nature, the WSL images inherited masking of some
systemd units from the init containers.

2. There is also a list of systemd units are recommended to be masked
by the official WSL documentation with introduction of the
new packaging format and installation format.

Dropping the first part lets systemd work in user level too.
So, instead of hunting down on which units breaks user level support
when it is masked, it is better to only rely on the official WSL
documentation, which built from the WSL specific reports.

Signed-off-by: Elkhan Mammadli <elkhan.mammadli@protonmail.com>
@LKHN LKHN added the bug Something isn't working label Apr 10, 2025
@LKHN LKHN requested a review from codyro April 10, 2025 20:39
@LKHN LKHN self-assigned this Apr 10, 2025
@LKHN LKHN merged commit e627ff4 into AlmaLinux:main Apr 11, 2025
@LKHN LKHN deleted the fix_user_level_systemd branch July 28, 2025 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AlmaLinux on WSL appears to lack full support for systemd

1 participant