You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug-tracker is monitored by developers and other technical types. We like detail! So please use this form and tell us, concisely but precisely, what's up. Please fill out ALL THE FIELDS!
If you have a feature request, please post to the UserVoice. If you're reporting a BSOD, don't post here! Instead, e-mail "[email protected]", and if possible attach the minidump from "C:\Windows\minidump".
Your Windows build number: (Type ver at a Windows Command Prompt)
Microsoft Windows [Version 10.0.15063]
What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)
What's wrong / what should be happening instead:
I wish to run a self host server with using the bash, but it couldnt use systemctl and enable it so everytime i start the PC and dont need to self type it again.
I wish this could add in it as soon as possible, cause it really helpful.
Reacted by rektide, Ser Shu, Joe Esposito, Clément Nerma, Songtronix, wenfengsui, Lukas Arnold, Henk Poley, Po-wei, BedivereZero and 6 more
Arios509 - It looks like a regular issue of systemd. In short.... (quote from #1990 (comment) )
The command, systemctl, looks like a part of systemd.
systemd is a suite of basic building blocks for a Linux system. It provides a system and service manager that runs as PID 1 and starts the rest of the system. -- What is this?
PID 1 in WSL is /init, not systemd.
I think, "/etc/init.d/apache2 restart" or alike might be helpful; traditional service start/stop/restart method.
You may want to try using Upstart to run and manage third-party services
Also, Follow me on linkedIn , I am going to publish an article very soon on WSL and running opensource project with WSL. Hopefully, it should give you a comprehensive guide while you start working with WSL
Reacted by Kelvin Hu, Capric, Umesh .A Bhat, Doug Skinner, Wenyu.Li, Damien Tina S, Wolke, jrdmellow, nomadbard916, Jeff Oakley and 24 more
has a solution for this been found? experiencing problem on ubuntu WSL on Windows 10
Linux DESKTOP-0JO2PLS 4.4.0-17134-Microsoft #345-Microsoft Wed Sep 19 17:47:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux
Please fix systemd! Really would make Wsl more useful!
Reacted by Łukasz Ogan, MT&Mu, Rinaldo Bertossa, Guillaume COMPAGNON // perso, Yuri Mironenko, Michael Heberlein, wenfengsui, Vincent Vermilya, kp63, Mac O'Brien and 16 more
this is still problem , on window 10 Dell , ubuntu subsystem
systemctl status jenkins
System has not been booted with systemd as init system (PID 1). Can't operate.
Reacted by Sylwester Rąpała, rayj00, xiangnan and West
I would really like to run LXD on WSL. Please don't suggest HyperV or vBox. I am working on an application that uses LXD on my VPS under Ubuntu 16.04 and I can at least run LXD and create containers. On WSL, I can't do squat as LXD will not start because of that systemd issue! Please fix!
Activity
sunjoong commentedon Jun 12, 2017
Arios509 - It looks like a regular issue of systemd. In short.... (quote from #1990 (comment) )
And... #1579 (comment)
And... #994
Arios509 commentedon Jun 13, 2017
Sunjoong Lee (@sunjoong) But i would rather systemctl add in, it make things easier.
sunjoong commentedon Jun 13, 2017
Arios509 - I mean... You could vote https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/16571479-support-for-running-systemd or join discussion of #994, but you cannot use systemd on current WSL; Indeed systemctl doesn't work on WSL, and there is no solution or workaround for systemd itself just now.
seadonfrank commentedon Nov 14, 2017
You may want to try using Upstart to run and manage third-party services
Also, Follow me on linkedIn , I am going to publish an article very soon on WSL and running opensource project with WSL. Hopefully, it should give you a comprehensive guide while you start working with WSL
therealkenc commentedon Nov 17, 2017
#1579
fenchu commentedon Dec 5, 2017
service works (/etc/init.d/*), but does not autostart after reboot, so you need to manually start everything.
JacobDB commentedon Dec 7, 2017
fenchu couldn't you write a script that runs at startup to do this?
guillobits commentedon Mar 6, 2018
A solution for this problem has been found ?
gmanroney commentedon Oct 29, 2018
has a solution for this been found? experiencing problem on ubuntu WSL on Windows 10
Linux DESKTOP-0JO2PLS 4.4.0-17134-Microsoft #345-Microsoft Wed Sep 19 17:47:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux
jrodd96 commentedon Nov 4, 2018
no solution from what I have seen as of today. using debian subsystem on windows 10 dell pc
hshar7 commentedon Nov 15, 2018
Please fix systemd! Really would make Wsl more useful!
rinaldobertossa commentedon Dec 15, 2018
Same problem here when trying to create systemd socket and service files for gunicorn (I'm working on Django projects in WSL):
anandejju commentedon Apr 1, 2019
this is still problem , on window 10 Dell , ubuntu subsystem
systemctl status jenkins
System has not been booted with systemd as init system (PID 1). Can't operate.
rayj00 commentedon Apr 13, 2019
I would really like to run LXD on WSL. Please don't suggest HyperV or vBox. I am working on an application that uses LXD on my VPS under Ubuntu 16.04 and I can at least run LXD and create containers. On WSL, I can't do squat as LXD will not start because of that systemd issue! Please fix!
therealkenc commentedon Apr 13, 2019
Actually lxd has bigger problems than that. But yes.
systemdwould be a start, assuming the distro in the container requiredsystemd.samayo commentedon Oct 24, 2019
Any news on this?
hshar7 commentedon Oct 24, 2019
I think even in wsl2 it won't work..
samayo commentedon Oct 25, 2019
I got it working using this #1579 (comment) but nginx and php refused to work together in WSL so at the end, I say stay away from WSL
rosalesjahaziel commentedon Jan 8, 2020
There is a workaround for WSL2 using genie