如何診斷這種非活動狀態的原因?
# systemctl --type=target --no-pager
UNIT LOAD ACTIVE SUB JOB DESCRIPTION
basic.target loaded active active Basic System
cryptsetup.target loaded active active Local Encrypted Volumes
getty.target loaded active active Login Prompts
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded inactive dead start Multi-User System
network-online.target loaded active active Network is Online
network.target loaded active active Network
nss-user-lookup.target loaded active active User and Group Name Lookups
...
答案1
還沒失敗然而– 「JOB」欄位表示仍有一個「啟動」作業待處理。檢查還有哪些單元正在等待啟動:
systemctl list-jobs