1. 程式人生 > >ubuntu 16.04 boot 啟動報錯 dns-clean.service 、plymouth-quit.service

ubuntu 16.04 boot 啟動報錯 dns-clean.service 、plymouth-quit.service

ubuntu 16.04 boot 啟動報錯

1,ubuntu系統版本

# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.5 LTS
Release:	16.04
Codename:	xenial

2,dns-clean.service 報錯

  • boot 輸出錯誤資訊
[Failed] Failed to start Clean up any mess left by Odns-up. See systemctl status dns-clean.service for details.
  • 修改dns-clean.service檔案mkdir新增-p引數
# vim /lib/systemd/system/dns-clean.service 

#ExecStartPre=/bin/mkdir /var/run/pppconfig
ExecStartPre=/bin/mkdir -p  /var/run/pppconfig

# reboot

3,plymouth-quit.service報錯,待解決

參考:

  1. Ubuntu will not boot help
  2. pppconfig: Failed to start Clean up any mess left by 0dns-up
  3. ExecStartPre=/bin/mkdir -p /var/run/pppconfig