After I updated the system through pacman
, the system fails to boot. It seems that some services are not started during boot time. It shows like this: Error
Failed to start Hostname Services. Failed to Start WPA supplicant. Failed to start Network Manager Script Dispatcher Services. Failed to start dhcpd on various interfaces. Failed to start Permit User Sessions.
Solutions I tried:
-
By using bootable USB,
- I mounted the drive,
arch-chroot
to enter the system,- Updated the packages, re-installed
linux
,mkinitpcio
andsystemd
as suggested in troubleshooting in arch-wiki.
-
As above method failed, I opened the system in 'rescue' mode and I manually started the services
systemd-hostnamed
,systemd-user-sessions
anddhcpd
. Then, my PC booted. And it became normal. But, it did not last.
Next time after reboot, same problem arises. Every time, need to open the system in rescue mode.
Please suggest the solution. I exactly don't know the cause. Thank you in advance.
Best Answer
Have same issue. @fra-san: Thank you for the hint, how to get easily more information from logs, so here's what I got from that:
On my system, after some warm reboots it was starting up again, so looks like timing or race condition issue.
This same issue has been posted on the Arch Linux Forums. It turned out to be a bug in dhcpcd 9.0.1 (for details: the report on Arch's bug tracker and the one on dhcpcd's mailing list).
A working temporary solution is to downgrade dhcpcd to a pre-9.0.1 version. The bug was fixed in version 9.0.2.