Subject: Installer: wpa_supplicant fails to start

From: Ludovic Courtès <[email-masked]>
Date: Fri, 03 May 2019 21:31:40 +0200

Hello,

Ricardo and sirgazil reported on IRC that the ‘wpa-supplicant’ would
(sometimes?) fail to start for the in the installation image on their
laptop.

As a result the ‘networking’ service (Connman) would not start either;
thus, the installer would report that it failed to establish Internet
access, and would just stop there.

Sirgazil posted /var/log/messages, which shows this:

--8<---------------cut here---------------start------------->8---
667 May  3 16:03:40 localhost vmunix: [    9.164363] ieee80211 phy0: Atheros AR9565 Rev:2 mem=0xffffa88240e80000, irq=19
668 May  3 16:03:40 localhost vmunix: [    9.172514] ath9k 0000:02:00.0 wlp2s0: renamed from wlan0
669 May  3 16:03:40 localhost vmunix: [    9.199748] shepherd[1]: Service udev has been started.
670 May  3 16:03:40 localhost vmunix: [    9.200682] shepherd[1]: Service file-system-/tmp has been started.
671 May  3 16:03:40 localhost vmunix: [    9.201560] shepherd[1]: Service file-system-/dev/pts has been started.
672 May  3 16:03:40 localhost vmunix: [    9.202423] shepherd[1]: Service file-system-/dev/shm has been started.
673 May  3 16:03:40 localhost vmunix: [    9.203232] shepherd[1]: Service file-system-/gnu/store has been started.
674 May  3 16:03:40 localhost vmunix: [    9.203891] shepherd[1]: Service file-systems has been started.
675 May  3 16:03:40 localhost vmunix: [    9.207605] shepherd[1]: Service user-processes has been started.
676 May  3 16:03:40 localhost vmunix: [    9.208993] shepherd[1]: Service host-name has been started.
677 May  3 16:03:40 localhost vmunix: [    9.217925] shepherd[1]: Service user-homes has been started.
678 May  3 16:03:40 localhost vmunix: [   10.221211] shepherd[1]: Service dbus-system has been started.
679 May  3 16:03:40 localhost vmunix: [   10.222093] shepherd[1]: Service loopback has been started.
680 May  3 16:03:40 localhost wpa_supplicant[398]: Successfully initialized wpa_supplicant
681 May  3 16:03:40 localhost shepherd[1]: Service wpa-supplicant could not be started.
682 May  3 16:03:40 localhost shepherd[1]: Service networking depends on wpa-supplicant.
683 May  3 16:03:40 localhost shepherd[1]: Service networking could not be started.
684 May  3 16:03:40 localhost wpa_supplicant[400]: dbus: Could not request service name: already registered
685 May  3 16:03:40 localhost wpa_supplicant[400]: Failed to initialize wpa_supplicant
686 May  3 16:03:45 localhost shepherd[1]: Service wpa-supplicant could not be started.
687 May  3 16:03:45 localhost nscd: 401 monitoring file `/etc/hosts` (1)
688 May  3 16:03:45 localhost nscd: 401 monitoring directory `/etc` (2)
689 May  3 16:03:45 localhost nscd: 401 monitoring file `/etc/resolv.conf` (3)
690 May  3 16:03:45 localhost nscd: 401 monitoring directory `/etc` (2)
691 May  3 16:03:46 localhost shepherd[1]: Service nscd has been started.
692 May  3 16:03:46 localhost /gnu/store/3dnww56dsrd6f9pf9p8ll3yawhfp50d8-gpm-1.20.7/sbin/gpm[409]: *** info [daemon/startup.c(136)]:
693 May  3 16:03:46 localhost /gnu/store/3dnww56dsrd6f9pf9p8ll3yawhfp50d8-gpm-1.20.7/sbin/gpm[409]: Started gpm successfully. Entered daemon mode.
694 May  3 16:03:46 localhost shepherd[1]: Service gpm has been started.
695 May  3 16:03:46 localhost shepherd[1]: Service term-tty1 has been started.
696 May  3 16:03:46 localhost shepherd[1]: Service console-font-tty1 has been started.
697 May  3 16:03:46 localhost shepherd[1]: Service virtual-terminal has been started.
698 May  3 16:03:46 localhost shepherd[1]: Service term-tty2 has been started.
699 May  3 16:03:46 localhost shepherd[1]: Service console-font-tty2 has been started.
700 May  3 16:03:46 localhost shepherd[1]: Service term-tty3 has been started.
701 May  3 16:03:46 localhost shepherd[1]: Service console-font-tty3 has been started.
702 May  3 16:03:46 localhost shepherd[1]: Service term-tty4 has been started.
703 May  3 16:03:46 localhost shepherd[1]: Service console-font-tty4 has been started.
704 May  3 16:03:46 localhost shepherd[1]: Service term-tty5 has been started.
705 May  3 16:03:46 localhost shepherd[1]: Service console-font-tty5 has been started.
706 May  3 16:03:46 localhost shepherd[1]: Service term-tty6 has been started.
707 May  3 16:03:46 localhost shepherd[1]: Service console-font-tty6 has been started.
708 May  3 16:03:46 localhost shepherd[1]: Service guix-daemon has been started.
--8<---------------cut here---------------end--------------->8---

Ludo’.