Hi

My host does not have wpa_supplicant installed (LAN only) and now dhcpcd cannot be started by systemd:

Feb 11 11:51:55 zbox systemd[1]: Starting dhcpcd.service - DHCP Client Daemon on all interfaces... Feb 11 11:51:55 zbox systemd[547]: dhcpcd.service: Failed to set up mount namespacing: /run/systemd/unit-root/etc/wpa_supplicant: No such file or directory Feb 11 11:51:55 zbox systemd[547]: dhcpcd.service: Failed at step NAMESPACE spawning /usr/sbin/dhcpcd: No such file or directory Feb 11 11:51:55 zbox systemd[1]: dhcpcd.service: Control process exited, code=exited, status=226/NAMESPACE Feb 11 11:51:55 zbox systemd[1]: dhcpcd.service: Failed with result 'exit-code'. Feb 11 11:51:55 zbox systemd[1]: Failed to start dhcpcd.service - DHCP Client Daemon on all interfaces.

It seems that the directory /etc/wpa_supplicant has to exist if it's listed in ReadWritePaths.

Workaround: sudo mkdir /etc/wpa_supplicant


Regards,
Beat
--
https://drbeat.li
tel:+41-79-7706774
gpg: 0x506A903A; 49D5 794A EA77 F907 764F  D89E 304B 93CF 506A 903A
icbm: 47.0452 N, 7.2715 E

"It takes love over gold, and mind over matter" — Dire Straits

Reply via email to