Comments (5)
Genie should create a complete systemd environment, so you could enable units as is implemented in your Linux distro
from genie.
I would expect this unit be started:
~ took 4s
➜ genie -s
Deleted DESKTOP-QF7GSBC
Added DESKTOP-QF7GSBC-wsl -> 127.0.0.1 (On)
Starting ssh-agent...
Identity added: /home/tschumacher/.ssh/id_ed25519 (tschumacher@DESKTOP-QF7GSBC)
~
➜ sudo systemctl status docker.service
● docker.service - docker
Loaded: loaded (/etc/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: inactive (dead)
As you can see the unit is enabled, I'm unsure on how to debug this. I'm using archlinux, if you have any tipps on how to proceed I would appreciate this.
from genie.
In this case to enable systemd in arch you can use
sudo systemctl enable docker.service
and to start it you can use
sudo systemctl start docker.service
once enabled it will start automatically at the time of systemd initialization
For more information you can use the Arch wiki
from genie.
@enko This isn't a genie problem, specifically; genie starts systemd as a pid 1 instance with no parameters and doesn't intervene afterwards, so everything that happens after that is a standard systemd startup of the default target (as displayed by systemctl get-default
, probably multiuser.target
).
That being said, loaded/enabled with the status inactive (dead) usually means that the executable for the unit in question has exited, which suggests that there's probably something broken with your docker install.
Is that the only output you get from systemctl status docker
? Normally, you should get the last journal entries for the service below the status info.
from genie.
It seemed my service file was bogus, I used the one provided by my distribution and it worked without a hitch, sorry to waste your time.
from genie.
Related Issues (20)
- Manual page contains three dashes for each full name parameter instead of two HOT 1
- Genie with powerline HOT 9
- Genie should not break outside-bottle environment while running by unmounting binfmt_misc HOT 7
- Genie 2.4 breaks WSL interop on Windows 10 HOT 7
- VSCode Will Not Load After Upgrading to 2.4 HOT 1
- installing gnome desktop (and its dependencies) breaks login (and potentially other commands) HOT 4
- Broken `systemctl status`
- logrotate.service fails HOT 2
- Cannot start genie propperly, "Failed to read server status". HOT 6
- Running wsl.exe from within distribution appears to hang forever [WSLInterop fails] HOT 2
- wslg-xwayland.service & wslg-xwayland.socket does not exist. HOT 4
- Systemd cannot enter unknown state and Genie cannot list any failed units HOT 5
- Failed to detect WSL2 instance HOT 1
- Systemd support is now available in WSL! HOT 1
- AUR package is missing HOT 1
- genie 2.5 showing as 2.4 HOT 1
- Is there a way to totally undo all the changes and make my system run as before? HOT 2
- Windows Update KB5015684 - Blackscreen when log in HOT 1
- Anyone has already tried on CentOS 7 ? HOT 3
- make install ERROR HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from genie.