我如何诊断这种不活动状态的原因?
# 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