Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd detection failed on WSL2 Distrod #37

Open
pendenaor opened this issue Dec 7, 2022 · 1 comment
Open

systemd detection failed on WSL2 Distrod #37

pendenaor opened this issue Dec 7, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@pendenaor
Copy link

Describe the bug
On WSL2 Distrod+Archlinux, systemd is not detected.

To Reproduce
Extract systemd validation routine from synth-shell-greeter.sh, function printInfoSystemctl

$ pidof systemd
<nothing>

Expected behavior
Distrod is a meta-distro that embed systemd, it should be detected.

Workaround
replace if [ -z "$(pidof systemd)" ]; then by if [ ! -d "/run/systemd/system/" ];then
see Notes from https://www.freedesktop.org/software/systemd/man/sd_booted.html

@pendenaor pendenaor added the bug Something isn't working label Dec 7, 2022
@andresgongora andresgongora transferred this issue from andresgongora/synth-shell Dec 7, 2022
@andresgongora
Copy link
Owner

Hi @pendenaor. Thanks for working on this bug. If you want, I can test it and implement your suggested change. But you are more than welcome to pull-request your change and become a contributor of synth-shell-greeter, if you like :)

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

No branches or pull requests

2 participants