System has not been booted with systemd as init system (PID 1)

Hanna·2022년 2월 18일
0

삽질의 기록

목록 보기
3/3

» sudo systemctl daemon-reload

System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down

just try:

sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig

sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target

exec sudo nsenter -t $(pidof systemd) -a su - $LOGNAME

snap version

출처 : https://gist.github.com/alyleite/ca8b10581dbecd722d9dcc35b50d9b2b

profile
매일 성장하고 있습니다

0개의 댓글