Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WSL 2 - Enabling systemd

Enable systemd in WSL 2

This guide will enable systemd to run as normal under WSL 2. This will enable services like microk8s, docker and many more to just work during a WSL session. Note: this was tested on Windows 10 Build 2004, running Ubuntu 20.04 LTS in WSL 2.

  • To enable systemd under WSL we require a tool called systemd-genie

  • Copy the contents of install-sg.sh to a new file /tmp/install-sg.sh:

    cd /tmp
    wget --content-disposition \
      "https://gist.githubusercontent.com/djfdyuruiry/6720faa3f9fc59bfdf6284ee1f41f950/raw/952347f805045ba0e6ef7868b18f4a9a8dd2e47a/install-sg.sh"
  • Make it executable:

    chmod +x /tmp/install-sg.sh
  • Run the new script:

    /tmp/install-sg.sh && rm /tmp/install-sg.sh
  • Exit the WSL terminal and shutdown the WSL env:

    wsl --shutdown
  • To open a new WSL terminal with systemd enabled, run:

    wsl genie -s
  • Prove that it works:

    sudo systemctl status time-sync.target
#! /usr/bin/env bash
set -e
# change these if you want
UBUNTU_VERSION="20.04"
GENIE_VERSION="1.44"
GENIE_FILE="systemd-genie_${GENIE_VERSION}_amd64"
GENIE_FILE_PATH="/tmp/${GENIE_FILE}.deb"
GENIE_DIR_PATH="/tmp/${GENIE_FILE}"
function installDebPackage() {
# install repackaged systemd-genie
sudo dpkg -i "${GENIE_FILE_PATH}"
rm -rf "${GENIE_FILE_PATH}"
}
function downloadDebPackage() {
rm -f "${GENIE_FILE_PATH}"
pushd /tmp
wget --content-disposition \
"https://github.com/arkane-systems/genie/releases/download/v${GENIE_VERSION}/systemd-genie_${GENIE_VERSION}_amd64.deb"
popd
}
function installDependencies() {
sudo apt-get update
wget --content-disposition \
"https://packages.microsoft.com/config/ubuntu/${UBUNTU_VERSION}/packages-microsoft-prod.deb"
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install -y \
daemonize \
dotnet-runtime-5.0 \
systemd-container
sudo rm -f /usr/sbin/daemonize
sudo ln -s /usr/bin/daemonize /usr/sbin/daemonize
}
function main() {
installDependencies
downloadDebPackage
installDebPackage
}
main
@def1nity
Copy link

def1nity commented Feb 3, 2022

@psmoland Make sure Ubuntu is your default wsl distribution. You can verify by running wsl -l -v and checking which one has * infront of it... If its not the ubuntu, you can set it with "wsl --set-default Ubuntu-20.04" , in case you used the default name like me...

I had this problem because docker was set as the default distro and so wsl genie -s didn't work from Windows but was fine inside ubuntu... It wasn't giving any error, just nothing happened.

@Kailash-Ramco
Copy link

Kailash-Ramco commented Feb 7, 2022

Hi Team,

I tried installing using the above instructions but when i enter

wsl genie -s or genie -s (i get the below error)

image

Server Details

image

The same is reproducible in Windows Server 2019

image

Could you help in resolving the same

@SK-Infidel
Copy link

SK-Infidel commented Feb 7, 2022

Kailash-Ramco

Read the description of the article, and read your error message. Hint: WSL version matters.

@def1nity
Copy link

def1nity commented Feb 7, 2022

wsl genie commands need to be run from windows, not from inside linux.

@Kailash-Ramco
Copy link

Kailash-Ramco commented Feb 8, 2022

Hi @SK-Infidel ,

Please find the wsl version

image

As mentioned earlier, i have followed the documentation & instructions

@Kailash-Ramco
Copy link

Kailash-Ramco commented Feb 8, 2022

Hi @def1nity ,

Post your suggestion

image

I still get the same error.

@kylhuk
Copy link

kylhuk commented Feb 8, 2022

@Kailash-Ramco Yeah and now execute wsl --list --verbose and get ready for a pikachuface.jpg ;-)

@HeckTwrcha
Copy link

HeckTwrcha commented Feb 8, 2022

The WSL2 Kernel you are using is old, update to the latest v5.10.81.1

@bnhf
Copy link

bnhf commented Mar 14, 2022

Finally, for those looking to make this the default behavior when opening a new terminal with your distro, go to Configuration and on your distro profile, ex: Debian, edit the Command line arguments like this wsl.exe -d Debian -- genie -s change Debian with your distro and the genie will run and start a new shell directly after bootstrap

Where would one find these distro profiles? In the Windows file system somewhere? Debian file system? Via PowerShell?

@bnhf
Copy link

bnhf commented Mar 14, 2022

Where would one find these distro profiles? In the Windows file system somewhere? Debian file system? Via PowerShell?

I found the answer -- Windows Terminal, which is supposed to be available from the Microsoft Store, but isn't ATM. Works great for this purpose, plus allows for single window tabbed access to PS, Command, Azure and however many WSL distros you have installed. Downloadable from GitHub:

https://github.com/microsoft/terminal

@bnhf
Copy link

bnhf commented Mar 18, 2022

It's possible to use the above script with WSL2 Debian 11 -- but, I wouldn't recommend it. Too many differences in dependencies, plus this script adds Ubuntu repositories to sources.list -- which you need to reverse, or you won't be able to use apt. So, I went ahead and forked this Gist and modified it for Debian 11, plus updated genie to version 2.2. There's a new warning when you launch genie about default.target vs multiuser.target, but I believe the default is set to multi-user out-of-the-box. Check your sources.list to be sure you're on Debian 11 (Bullseye), and confirm that you have backports added. See the attached image for how it should look, and a proof-of-life for systemd running on WSL Debian 11. :-)

My fork of this Gist can be found @ https://gist.github.com/bnhf

image

@xuqingkuang
Copy link

xuqingkuang commented Mar 22, 2022

The genie script break the WSLG XWindow System, I checked the system environment variable applied in the genie environment, but doesn't work.

WSLG works fine with startup normally.
wsl

But can't find display in the genie environment.
wsl-genie

@z404
Copy link

z404 commented Mar 29, 2022

I used this script here and I got to the part where it says "Waiting for systemd .....!!!!!!", now this will keep showing like this until you hit ctrl+c to shut down the command then run it again .. after which everything works fine.

Thanks a lot. this worked so well :D

@Nexxus-LMT
Copy link

Nexxus-LMT commented Apr 20, 2022

Works with minimal debugging, caution and patience. At the time of writing default script runs well on WSL2 Ubuntu 20.04 three units that had to be masked or dealt with can be found on the previously linked page : https://github.com/arkane-systems/genie/wiki/Systemd-units-known-to-be-problematic-under-WSL .

On the first run before debugging the message " Waiting for systemd....!!!" seems to take ages however give it at least a minute before you panic. It will load and show all service/units that are causing a delay at boot. when you deal with them it reduces startup significantly.

Thanks to the OP and other for their input.

@RefriZaddo
Copy link

RefriZaddo commented Apr 21, 2022

i wanna enable systemd but i use zsh in wsl2 how do i do it

@HeckTwrcha
Copy link

HeckTwrcha commented Apr 21, 2022

Add the required settings to the end of the "/.zshrc" file, which is equivelint to "/.bashrc" and "~/.bash_profile" in bash.

@ntman1
Copy link

ntman1 commented May 9, 2022

This does not work with Windows 10 Enterprise Edition (21H2) with WSL2 (Kernal v5.10.102.1) Ubuntu 22.04 LTS (Jammy Jellyfish) (see [https://apps.microsoft.com/store/detail/ubuntu-2204-lts/9PN20MSR04DW] for Microsoft Store distro)

I also modified install-sg.sh to change UBUNTU_VERSION="20.04" to UBUNTU_VERSION="22.04", with no avail. It also looks like arkane-systems/genie is now at Version 2.3, from the embedded version of 1.44 in the /tmp/install.sg.sh script.

root:/tmp# /tmp/install-sg.sh && rm /tmp/install-sg.sh
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [109 kB]
Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:5 https://download.webmin.com/download/repository sarge InRelease
Hit:6 https://download.webmin.com/download/repository sarge Release
Get:8 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease [10.5 kB]
Get:9 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages [11.6 kB]
Get:10 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main arm64 Packages [3429 B]
Get:11 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main armhf Packages [3416 B]
Fetched 249 kB in 2s (126 kB/s)
Reading package lists... Done
W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target CNF (contrib/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target CNF (contrib/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target CNF (contrib/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target CNF (contrib/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
--2022-05-09 16:55:45-- https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb
Resolving packages.microsoft.com (packages.microsoft.com)... 104.214.230.139
Connecting to packages.microsoft.com (packages.microsoft.com)|104.214.230.139|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3692 (3.6K) [application/octet-stream]
Saving to: ‘packages-microsoft-prod.deb’

packages-microsoft-prod.deb 100%[=================================================>] 3.61K --.-KB/s in 0s

2022-05-09 16:55:45 (782 MB/s) - ‘packages-microsoft-prod.deb’ saved [3692/3692]

(Reading database ... 92411 files and directories currently installed.)
Preparing to unpack packages-microsoft-prod.deb ...
Unpacking packages-microsoft-prod (1.0-ubuntu22.04.1) over (1.0-ubuntu22.04.1) ...
Setting up packages-microsoft-prod (1.0-ubuntu22.04.1) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
apt-transport-https is already the newest version (2.4.5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [109 kB]
Ign:4 https://download.webmin.com/download/repository sarge InRelease
Hit:5 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
Hit:6 https://download.webmin.com/download/repository sarge Release
Hit:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Fetched 220 kB in 1s (283 kB/s)
Reading package lists... Done
W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target CNF (contrib/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target CNF (contrib/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target CNF (contrib/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
W: Target CNF (contrib/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/archive_uri-http_download_webmin_com_download_repository-jammy.list:1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package dotnet-runtime-5.0
E: Couldn't find any package by glob 'dotnet-runtime-5.0'
E: Couldn't find any package by regex 'dotnet-runtime-5.0'
root:/tmp#

@bnhf
Copy link

bnhf commented May 10, 2022

This does not work with Windows 10 Enterprise Edition (21H2) with WSL2 (Kernal v5.10.102.1) Ubuntu 22.04 LTS (Jammy Jellyfish) (see [https://apps.microsoft.com/store/detail/ubuntu-2204-lts/9PN20MSR04DW] for Microsoft Store distro)

I did an updated version of this script for use with Debian 11. It might be of some help in determining script changes needed for the version of Ubuntu you want to use -- in addition to using a more recent version of the Genie project:

https://gist.github.com/bnhf/ec85f1f91e3096f1499f995dd60b2097

@bnhf
Copy link

bnhf commented May 10, 2022

E: Unable to locate package dotnet-runtime-5.0
E: Couldn't find any package by glob 'dotnet-runtime-5.0'
E: Couldn't find any package by regex 'dotnet-runtime-5.0'

I did some quick work on this for you, and the script below will run without error -- but it appears there may be issues with Ubuntu 22.04 and genie 2.3. On the initial launch I saw an endless number of exclamation marks, and on a subsequent attempt to launch genie, I got a warning about systemd being in a degraded state. I use Debian 11 myself, and the script I referenced in the previous post works great for that -- so I won't be investigating this any further. However, in the event you want to, here's the Ubuntu 22.04 modified version of my forked script:

#! /usr/bin/env bash
set -e

# change these if you want
UBUNTU_VERSION="22.04"
GENIE_VERSION="2.3"

GENIE_FILE="systemd-genie_${GENIE_VERSION}_amd64"
GENIE_FILE_PATH="/tmp/${GENIE_FILE}.deb"
GENIE_DIR_PATH="/tmp/${GENIE_FILE}"

function installDebPackage() {
  # install repackaged systemd-genie
  sudo dpkg -i "${GENIE_FILE_PATH}"

  rm -rf "${GENIE_FILE_PATH}"
}

function downloadDebPackage() {
  rm -f "${GENIE_FILE_PATH}"

  pushd /tmp

  wget --content-disposition \
    "https://github.com/arkane-systems/genie/releases/download/v${GENIE_VERSION}/systemd-genie_${GENIE_VERSION}_amd64.deb"

  popd
}

function installDependencies() {
  sudo apt-get update && sudo apt-get install apt-transport-https
  
  wget --content-disposition \
    "https://packages.microsoft.com/config/ubuntu/${UBUNTU_VERSION}/packages-microsoft-prod.deb"

  sudo dpkg -i packages-microsoft-prod.deb
  rm packages-microsoft-prod.deb
 
  sudo apt-get update
  sudo apt-get install -y \
    daemonize \
    dotnet-runtime-6.0 \
    systemd-container \
    policykit-1 \
    python3 \
    python3-pip \
    python3-psutil \
    gawk

  sudo rm -f /usr/sbin/daemonize
  sudo ln -s /usr/bin/daemonize /usr/sbin/daemonize
}

function main() {
  installDependencies

  downloadDebPackage

  installDebPackage
}

main

@fi0rini
Copy link

fi0rini commented May 11, 2022

I'm getting this error after following all the steps above

(base) PS C:\Users\name> wsl --status
Default Distribution: Debian
Default Version: 2

Windows Subsystem for Linux was last updated on 5/11/2022
The Windows Subsystem for Linux kernel can be manually updated with 'wsl --update', but automatic updates cannot occur due to your system settings.
To receive automatic kernel updates, please enable the Windows Update setting: 'Receive updates for other Microsoft products when you update Windows'.
For more information please visit https://aka.ms/wsl2kernel.

Kernel version: 5.10.102.1
(base) PS C:\Users\name> wsl --update
Checking for updates...
The Windows Subsystem for Linux kernel can be manually updated with 'wsl --update', but automatic updates cannot occur due to your system settings.
To receive automatic kernel updates, please enable the Windows Update setting: 'Receive updates for other Microsoft products when you update Windows'.
For more information please visit https://aka.ms/wsl2kernel.
(base) PS C:\Users\name> wsl genie -s
genie: error executing command 'daemonize /usr/bin/unshare -fp --propagation shared --mount-proc systemd':
No such file or directory

@bnhf
Copy link

bnhf commented May 11, 2022

Windows Subsystem for Linux was last updated on 5/11/2022
The Windows Subsystem for Linux kernel can be manually updated with 'wsl --update', but automatic updates cannot occur due to your system settings.
To receive automatic kernel updates, please enable the Windows Update setting: 'Receive updates for other Microsoft products when you update Windows'.
For more information please visit https://aka.ms/wsl2kernel.

The first error is probably related to your Windows Update settings, see:

https://winaero.com/how-to-install-linux-kernel-update-for-wsl-2-in-windows-10/

The second error could be because you said you followed the steps above which are for Ubuntu, and you're using Debian for your distro. I did a fork of this script for Debian (make sure you're on Debian 11 though using "cat /etc/issue" from a bash prompt):

https://gist.github.com/bnhf/ec85f1f91e3096f1499f995dd60b2097

@Sunchock
Copy link

Sunchock commented May 16, 2022

@fi0rini

(base) PS C:\Users\name> wsl genie -s
genie: error executing command 'daemonize /usr/bin/unshare -fp --propagation shared --mount-proc systemd':
No such file or directory

I had the same issue before with Debian and also Ubuntu installed. My mistake was to had Debian as my default wsl system and i used this tutorial on Ubuntu as suggested. Setting Ubuntu as my new default WSL system solved my case.

You can also use : wsl -d <Distroname> genie -s and testing another wsl system.
I also recommand you to check for genie repository, you probably can find some useful informations in here : https://github.com/arkane-systems/genie

@Sneezy123
Copy link

Sneezy123 commented May 26, 2022

I am still getting this after the installation (Ubuntu 20.04):

PS C:\Users\Petri> wsl --shutdown
PS C:\Users\Petri> wsl genie -s
/bin/sh: genie: not found

I have tried fresh installs with the directions in this readme and instructions https://github.com/arkane-systems/genie , as suggested above.

I also tried running PS with Admin privileges, but no prevail. However, if I type genie -s to the ubuntu terminal bash prompt, it works and I get to the bottle. I'm trying to get automatically to the bottle with Windows Terminal App, where you can launch wsl with command line parameters, and thus would like to get this working.

Did you run the install-sg.sh script (Step 3)?

@IsaacPar
Copy link

IsaacPar commented May 29, 2022

I'm getting errors in kali linux
there's some way to run it on kali linux? (wsl)

C:\Users\T440p>wsl --shutdown

C:\Users\T440p>wsl genie -s
/bin/bash: line 1: genie: command not found

C:\Users\T440p>

@Sneezy123
Copy link

Sneezy123 commented May 30, 2022

I'm getting errors in kali linux there's some way to run it on kali linux? (wsl)

C:\Users\T440p>wsl --shutdown
C:\Users\T440p>wsl genie -s
/bin/bash: line 1: genie: command not found
C:\Users\T440p>

@IsaacPar look at the steps. You have to install genie in kali linux and then the command in Windows works

@HeckTwrcha
Copy link

HeckTwrcha commented May 30, 2022

Kali uses zsh as the default shell while the script is written for bash. So either run the scrip through bash or modify the script for zsh.

@rbreaves
Copy link

rbreaves commented Jun 13, 2022

it appears there may be issues with Ubuntu 22.04 and genie 2.3. On the initial launch I saw an endless number of exclamation marks, and on a subsequent attempt to launch genie, I got a warning about systemd being in a degraded state.

Thanks for that @bnhf, I left a comment on how to resolve it for 22.04, the guide at genie's repo was pretty accurate.

https://gist.github.com/rbreaves/24df597cb4cefc3f212d587666e4d3aa

@cyber-caveman
Copy link

cyber-caveman commented Jun 16, 2022

Hi,
Tried the script and I'm getting the following 2 errors. Using Ubuntu 20.04 on WSL2 Kernel version: 5.10.16

Waiting for systemd....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Timed out waiting for systemd to enter running state.
This may indicate a systemd configuration error.
Attempting to continue.
Failed units will now be displayed (systemctl list-units --failed):
UNIT LOAD ACTIVE SUB DESCRIPTION
● systemd-remount-fs.service loaded failed failed Remount Root and Kernel File Systems
● multipathd.socket loaded failed failed multipathd control socket

LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.

2 loaded units listed.

@kylhuk
Copy link

kylhuk commented Jun 16, 2022

Hi, Tried the script and I'm getting the following 2 errors. Using Ubuntu 20.04 on WSL2 Kernel version: 5.10.16

Waiting for systemd....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Timed out waiting for systemd to enter running state. This may indicate a systemd configuration error. Attempting to continue. Failed units will now be displayed (systemctl list-units --failed): UNIT LOAD ACTIVE SUB DESCRIPTION ● systemd-remount-fs.service loaded failed failed Remount Root and Kernel File Systems ● multipathd.socket loaded failed failed multipathd control socket

LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type.

2 loaded units listed.

https://gist.github.com/djfdyuruiry/6720faa3f9fc59bfdf6284ee1f41f950?permalink_comment_id=3948284#gistcomment-3948284

@Daniel-W7
Copy link

Daniel-W7 commented Jun 22, 2022

感谢,完美解决了我的问题!
Thanks a lot for fixing my issues perfectly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment