ubuntu server启动时候卡死
snapd.apparmor.service ubuntu server启动时候,有很大概率会卡在这里。
可以这样呢。
systemctl edit snapd.apparmor.service
[Service]
TimeoutStartSec=15s
可再编辑这个:
systemctl edit snapd.seeded.service
[Service]
TimeoutStartSec=30s
systemctl edit apparmor.service
[Service]
TimeoutStartSec=15s
就这样试试,哪个不行就哪个。