From debbugs-submit-bounces@debbugs.gnu.org Fri May 03 15:31:54 2019 Received: (at submit) by debbugs.gnu.org; 3 May 2019 19:31:54 +0000 Received: from localhost ([127.0.0.1]:49713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMduU-0002wG-3a for submit@debbugs.gnu.org; Fri, 03 May 2019 15:31:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMduR-0002w2-LJ for submit@debbugs.gnu.org; Fri, 03 May 2019 15:31:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:49573) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hMduM-00019K-F4 for submit@debbugs.gnu.org; Fri, 03 May 2019 15:31:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMduK-0007a4-1u for bug-guix@gnu.org; Fri, 03 May 2019 15:31:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED,BAYES_50 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMduJ-000161-Q9; Fri, 03 May 2019 15:31:43 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60896 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hMduJ-00070U-D5; Fri, 03 May 2019 15:31:43 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Bug Guix Subject: Installer: wpa_supplicant fails to start X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 =?utf-8?Q?Flor=C3=A9al?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 03 May 2019 21:31:40 +0200 Message-ID: <87sgtv8hcz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: Ricardo Wurmus , sirgazil X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Ricardo and sirgazil reported on IRC that the =E2=80=98wpa-supplicant=E2=80= =99 would (sometimes?) fail to start for the in the installation image on their laptop. As a result the =E2=80=98networking=E2=80=99 service (Connman) would not st= art 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: Athero= s AR9565 Rev:2 mem=3D0xffffa88240e80000, irq=3D19 668 May 3 16:03:40 localhost vmunix: [ 9.172514] ath9k 0000:02:00.0 wlp= 2s0: renamed from wlan0 669 May 3 16:03:40 localhost vmunix: [ 9.199748] shepherd[1]: Service u= dev has been started. 670 May 3 16:03:40 localhost vmunix: [ 9.200682] shepherd[1]: Service f= ile-system-/tmp has been started. 671 May 3 16:03:40 localhost vmunix: [ 9.201560] shepherd[1]: Service f= ile-system-/dev/pts has been started. 672 May 3 16:03:40 localhost vmunix: [ 9.202423] shepherd[1]: Service f= ile-system-/dev/shm has been started. 673 May 3 16:03:40 localhost vmunix: [ 9.203232] shepherd[1]: Service f= ile-system-/gnu/store has been started. 674 May 3 16:03:40 localhost vmunix: [ 9.203891] shepherd[1]: Service f= ile-systems has been started. 675 May 3 16:03:40 localhost vmunix: [ 9.207605] shepherd[1]: Service u= ser-processes has been started. 676 May 3 16:03:40 localhost vmunix: [ 9.208993] shepherd[1]: Service h= ost-name has been started. 677 May 3 16:03:40 localhost vmunix: [ 9.217925] shepherd[1]: Service u= ser-homes has been started. 678 May 3 16:03:40 localhost vmunix: [ 10.221211] shepherd[1]: Service d= bus-system has been started. 679 May 3 16:03:40 localhost vmunix: [ 10.222093] shepherd[1]: Service l= oopback 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 wp= a-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-g= pm-1.20.7/sbin/gpm[409]: *** info [daemon/startup.c(136)]: 693 May 3 16:03:46 localhost /gnu/store/3dnww56dsrd6f9pf9p8ll3yawhfp50d8-g= pm-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 start= ed. 696 May 3 16:03:46 localhost shepherd[1]: Service console-font-tty1 has be= en started. 697 May 3 16:03:46 localhost shepherd[1]: Service virtual-terminal has bee= n started. 698 May 3 16:03:46 localhost shepherd[1]: Service term-tty2 has been start= ed. 699 May 3 16:03:46 localhost shepherd[1]: Service console-font-tty2 has be= en started. 700 May 3 16:03:46 localhost shepherd[1]: Service term-tty3 has been start= ed. 701 May 3 16:03:46 localhost shepherd[1]: Service console-font-tty3 has be= en started. 702 May 3 16:03:46 localhost shepherd[1]: Service term-tty4 has been start= ed. 703 May 3 16:03:46 localhost shepherd[1]: Service console-font-tty4 has be= en started. 704 May 3 16:03:46 localhost shepherd[1]: Service term-tty5 has been start= ed. 705 May 3 16:03:46 localhost shepherd[1]: Service console-font-tty5 has be= en started. 706 May 3 16:03:46 localhost shepherd[1]: Service term-tty6 has been start= ed. 707 May 3 16:03:46 localhost shepherd[1]: Service console-font-tty6 has be= en started. 708 May 3 16:03:46 localhost shepherd[1]: Service guix-daemon has been sta= rted. --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri May 03 16:51:44 2019 Received: (at 35550) by debbugs.gnu.org; 3 May 2019 20:51:44 +0000 Received: from localhost ([127.0.0.1]:49761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMf9k-0004n3-48 for submit@debbugs.gnu.org; Fri, 03 May 2019 16:51:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMf9h-0004mq-Eq for 35550@debbugs.gnu.org; Fri, 03 May 2019 16:51:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:32972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMf9b-00086U-Sm; Fri, 03 May 2019 16:51:35 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33020 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hMf9b-0006Zk-0p; Fri, 03 May 2019 16:51:35 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 35550@debbugs.gnu.org Subject: Re: bug#35550: Installer: wpa_supplicant fails to start References: <87sgtv8hcz.fsf@gnu.org> Date: Fri, 03 May 2019 22:51:31 +0200 In-Reply-To: <87sgtv8hcz.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 03 May 2019 21:31:40 +0200") Message-ID: <875zqr8dnw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35550 Cc: Ricardo Wurmus , sirgazil X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > 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 initializ= ed wpa_supplicant > 681 May 3 16:03:40 localhost shepherd[1]: Service wpa-supplicant could n= ot 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 b= e started. > 684 May 3 16:03:40 localhost wpa_supplicant[400]: dbus: Could not reques= t service name: already registered > 685 May 3 16:03:40 localhost wpa_supplicant[400]: Failed to initialize w= pa_supplicant > 686 May 3 16:03:45 localhost shepherd[1]: Service wpa-supplicant could n= ot be started. My guess is that it goes like this: 1. shepherd starts =E2=80=98networking=E2=80=99, which triggers the start= of =E2=80=98wpa-supplicant=E2=80=99 (PID 398), which immediately =E2=80= =9Cfails=E2=80=9D. Thus =E2=80=98networking=E2=80=99 is not started. 2. shepherd continues and starts =E2=80=98wpa-supplicant=E2=80=99 directl= y (PID 400). This time it fails for good; after 5 seconds, since the PID file didn=E2=80=99t show up, shepherd says again that it could not be start= ed. Indeed, by looking at shepherd.conf from: guix gc -R $(guix system build gnu/system/install.scm) | grep shepherd.co= nf one can see that =E2=80=98networking=E2=80=99 comes before =E2=80=98wpa-sup= plicant=E2=80=99 in the expression: (for-each start '(=E2=80=A6 networking =E2=80=A6 wpa-supplicant =E2=80=A6= )) So why is =E2=80=98wpa-supplicant=E2=80=99 marked as failing to start on th= e first attempt? The only reason I can think of is if =E2=80=98read-pid-file=E2=80=99 from (= shepherd service) returns immediately and returns #f instead of a number. That can actually happen if the PID file exists but is empty (or contains garbage). You would expect wpa_supplicant to create its PID file atomically: write it under a different name, then rename(2)=E2=80=A6 but no: --8<---------------cut here---------------start------------->8--- int os_daemonize(const char *pid_file) { #if defined(__uClinux__) || defined(__sun__) return -1; #else /* defined(__uClinux__) || defined(__sun__) */ if (os_daemon(0, 0)) { perror("daemon"); return -1; } if (pid_file) { FILE *f =3D fopen(pid_file, "w"); if (f) { fprintf(f, "%u\n", getpid()); fclose(f); } } return -0; #endif /* defined(__uClinux__) || defined(__sun__) */ } --8<---------------cut here---------------end--------------->8--- So there is a possibility, albeit unlikely, for shepherd to see the PID file after it=E2=80=99s been open but before it=E2=80=99s been written to. = (This problem is not limited to the installer.) I=E2=80=99m not 100% convinced that this is what=E2=80=99s happening there = but that=E2=80=99s the only lead I have. I=E2=80=99m surprised we haven=E2=80=99t seen other = reports before. Thoughts? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri May 03 17:27:57 2019 Received: (at submit) by debbugs.gnu.org; 3 May 2019 21:27:57 +0000 Received: from localhost ([127.0.0.1]:49790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMfin-0005dc-9r for submit@debbugs.gnu.org; Fri, 03 May 2019 17:27:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMfik-0005dN-TE for submit@debbugs.gnu.org; Fri, 03 May 2019 17:27:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:46697) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hMfif-0005e7-Km for submit@debbugs.gnu.org; Fri, 03 May 2019 17:27:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMfic-0003ks-JM for bug-guix@gnu.org; Fri, 03 May 2019 17:27:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMfia-0005ZI-NM for bug-guix@gnu.org; Fri, 03 May 2019 17:27:46 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21345) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hMfiY-0005V1-P1 for bug-guix@gnu.org; Fri, 03 May 2019 17:27:43 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1556918818; cv=none; d=zoho.com; s=zohoarc; b=iD8hbejJxNUSIWUQss7VWwE9pvXmoPGV4cu6knjdu2S/Bww/cTXWjpZNAz+QJgVXBXPcULwynuVL6kVt3B+wFcg08UWu30Xwj+zpIxZxpod/fSNWiFW0bX47OwNrgcf6h7qIkwsZ5qEIMn5/18uZL5Cke4owPf48bnqEwG3vLf0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556918818; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=XjhuAUoW/XgLv8jbSFqKQlGLPZsuhvyIfw+KlStPyVs=; b=jgAD3Pz0JaPn5BLsDQJed5yKBmvGS+ra/XnURq+VlzTk2lxl2jtvaO3H0+vPo99va/ShmwYSZXIOZ7NDcmYwe3wlcQAv/ZFrnn20iDaNuysMuv2q/RZdixD27KbCb312ICslsnlziZFeRQ/L7oJlgyfR0lr9t5FiwV1znSQ7cuc= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1556918818; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=478; bh=XjhuAUoW/XgLv8jbSFqKQlGLPZsuhvyIfw+KlStPyVs=; b=VC8JFSDmD8b3OEO6EJYpQcTmJcIb3WZSHPg0i+e6KKE0TgAnmulTteQi0aQcSnio rbjjo4U3s4gkTVWXFFUHqbTOgRYcSUjep7Tk/UliAHGNdT+3skrg1fqe7n28Nf1FHea o9lJpvNsZy2NryoKPd4jarCbZCFvhQSFynPedINs= Received: from localhost (p54AD4EB5.dip0.t-ipconnect.de [84.173.78.181]) by mx.zohomail.com with SMTPS id 1556918817040312.4777623089183; Fri, 3 May 2019 14:26:57 -0700 (PDT) References: <87sgtv8hcz.fsf@gnu.org> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Installer: wpa_supplicant fails to start In-reply-to: <87sgtv8hcz.fsf@gnu.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 03 May 2019 23:26:52 +0200 Message-ID: <877eb7grfn.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 136.143.188.53 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: sirgazil , Bug Guix X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Ludovic Court=C3=A8s writes: > Ricardo and sirgazil reported on IRC that the =E2=80=98wpa-supplicant=E2= =80=99 would > (sometimes?) fail to start for the in the installation image on their > laptop. What I observed was that the wpa-supplicant *service* would not start and starting it manually would fail because a wpa_supplicant *process* would already be running. Upon killing the stray process the service could be started. --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Fri May 03 23:27:20 2019 Received: (at 35550) by debbugs.gnu.org; 4 May 2019 03:27:20 +0000 Received: from localhost ([127.0.0.1]:50126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMlKZ-0005ZN-T5 for submit@debbugs.gnu.org; Fri, 03 May 2019 23:27:20 -0400 Received: from sender4-pp-o95.zoho.com ([136.143.188.95]:25502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMlKX-0005ZD-E0 for 35550@debbugs.gnu.org; Fri, 03 May 2019 23:27:17 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1556940414; cv=none; d=zoho.com; s=zohoarc; b=NKmyhsB1wr3bX33gqa+MpZ7IMPX8ayLIilaPxMIRlv5LJYK1kPiWp1MyzyvQNnDLtgOd/5dUzC7i/avpyMyy3p/4kiioOWRDTzlhfbdSo3PiAu4PYQ00asU2HMnPoc4GQ4FcKpAPrUEJ7KWjFHUJDldRt1JbOJ3T0KoACYxOqNc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556940414; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=rlvBIYfj6UCKDVc8bEq/KmMAQVaueiiLhq1uOpJcduw=; b=kMA+u5/Pusy6d2TW/tcR+uaryovt7IT6tKSds9aHzHp4paHeogZ2e33hm/4lXRU1leFIlhqG5AEk8M2EBnGw8B4nnaXJvodvEplKHhTMPSWVGbb2YOatjR3k7U8ytdXvZcrQQe1pLPewD/3cRvYBfdMTAnjSznW0/WEN0lojekY= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=sirgazil@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:message-id:in-reply-to:subject:mime-version:content-type:user-agent; b=OT40GXrFjhhhSxc4emGTtryg4DpBklI6df0shri2wmhrRTnnrtilNWEKhgUmjVCouZzvAE3ffFM2 FVusPVyNq3qlQs5zoAiKL6eyDjF/2vEGWeqJPm3LzA/cQAJMmgms DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1556940414; s=default; d=zoho.com; i=sirgazil@zoho.com; h=Date:From:To:Message-Id:In-Reply-To:Subject:MIME-Version:Content-Type; l=1346; bh=rlvBIYfj6UCKDVc8bEq/KmMAQVaueiiLhq1uOpJcduw=; b=QAlSJH810UQV1CUdhm1u+ASg62iuaEAi/1lR9K+gBhB8iJMLlfgSeGInYMrKUrkt PY1tjVD1QeFF4GiF8GqF8NPsJnQH738LbSjhejvjQRcNAXKtRlne1khyx8AOJizZPC2 Q6gclzEsVpHa37DbPvMJ6wGuft3fVYaK5YpICRsM= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1556940408350671.2709158857914; Fri, 3 May 2019 20:26:48 -0700 (PDT) Received: from [181.130.25.222] by mail.zoho.com with HTTP;Fri, 3 May 2019 20:26:48 -0700 (PDT) Date: Fri, 03 May 2019 22:26:48 -0500 From: sirgazil@zoho.com To: "35550" <35550@debbugs.gnu.org> Message-Id: <16a80e1461c.1292821a927951.2710363725930741694@zoho.com> In-Reply-To: Subject: Installer: wpa_supplicant fails to start MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_75937_1880287310.1556940408348" X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35550 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------=_Part_75937_1880287310.1556940408348 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit In my case, "wpa-supplicant" would *always* fail to start (I rebooted and tried the graphical installer around 4 times). Killing "wpa-supplicant" and then running "herd start networking" made it possible for the graphical installer to display the steps where you select Wireless or Wired, and then continue normally. ------=_Part_75937_1880287310.1556940408348 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: 7bit
In my case, "wpa-supplicant" would *always* fail to start (I rebooted and tried the graphical installer around 4 times).
Killing "wpa-supplicant" and then running "herd start networking" made it possible for the graphical installer to display the steps where you select Wireless or Wired, and then continue normally.



------=_Part_75937_1880287310.1556940408348-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 08:43:05 2019 Received: (at control) by debbugs.gnu.org; 4 May 2019 12:43:05 +0000 Received: from localhost ([127.0.0.1]:50537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMu0P-0002Cq-Ej for submit@debbugs.gnu.org; Sat, 04 May 2019 08:43:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMu0O-0002CJ-2p for control@debbugs.gnu.org; Sat, 04 May 2019 08:43:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMu0H-0006kr-5v for control@debbugs.gnu.org; Sat, 04 May 2019 08:42:57 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35576 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hMu0F-00043X-64 for control@debbugs.gnu.org; Sat, 04 May 2019 08:42:57 -0400 Date: Sat, 04 May 2019 14:42:53 +0200 Message-Id: <87sgtu4che.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #35550 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) severity 35550 important From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 08:50:05 2019 Received: (at 35550) by debbugs.gnu.org; 4 May 2019 12:50:05 +0000 Received: from localhost ([127.0.0.1]:50546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMu7B-0004Ta-6c for submit@debbugs.gnu.org; Sat, 04 May 2019 08:50:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMu79-0004T2-UH for 35550@debbugs.gnu.org; Sat, 04 May 2019 08:50:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMu73-0003Cf-Of; Sat, 04 May 2019 08:49:58 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35606 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hMu73-0004Tz-B2; Sat, 04 May 2019 08:49:57 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: sirgazil@zoho.com Subject: Re: bug#35550: Installer: wpa_supplicant fails to start References: <87sgtv8hcz.fsf@gnu.org> <16a80e1461c.1292821a927951.2710363725930741694@zoho.com> Date: Sat, 04 May 2019 14:49:55 +0200 In-Reply-To: <16a80e1461c.1292821a927951.2710363725930741694@zoho.com> (sirgazil@zoho.com's message of "Fri, 03 May 2019 22:26:48 -0500") Message-ID: <87k1f64c5o.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35550 Cc: Ricardo Wurmus , 35550 <35550@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, sirgazil@zoho.com skribis: > In my case, "wpa-supplicant" would *always* fail to start (I rebooted and= tried the graphical installer around 4 times). Could you check whether the sequence of events in /var/log/messages always looks like the snippet I showed? Could you also: 1. Let the installation image boot; 2. Confirm with =E2=80=98herd status wpa-supplicant=E2=80=99 that the =E2= =80=98wpa-supplicant=E2=80=99 service is marked as stopped (failed to start); 3. Show the contents /var/run/wpa_supplicant.pid, and check whether they correspond to the PID of a running =E2=80=98wpa_supplicant=E2=80= =99 process. ? Besides, do you have a Guix(SD) installation, recent or not, that uses wpa_supplicant? If so, does it suffer from the same problem (=E2=80=98wpa-supplicant=E2=80=99 service fails to start)? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 10:08:06 2019 Received: (at 35550) by debbugs.gnu.org; 4 May 2019 14:08:06 +0000 Received: from localhost ([127.0.0.1]:51917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMvKg-0006iF-4S for submit@debbugs.gnu.org; Sat, 04 May 2019 10:08:06 -0400 Received: from pelzflorian.de ([5.45.111.108]:40458 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMvKd-0006hu-Fl for 35550@debbugs.gnu.org; Sat, 04 May 2019 10:08:04 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 4BF9B360038; Sat, 4 May 2019 16:07:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1556978874; bh=My5YrBy2ygWgVc6/qvkfkw7y3tot0jQxnlY1ahGIhIQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=DCSaeRnvb9C6QzGOIHWq/ace6gjLdajJnBDzu7csKl9I/N6XxvoJS42l0/h4Zy3Qg 2cnZ8Cxa6MyZiFftiTNmgPYCNtCACq5rHkXUqBYN/d3t6rJISWOFuLq28RiPPw8r+e xS6xdlFe1qoWq2t5TJc3Bov7aeaK/OF1K/1eq0p0= Date: Sat, 4 May 2019 16:07:54 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#35550: Installer: wpa_supplicant fails to start Message-ID: <20190504140753.6wjgctw6ird7xj2b@pelzflorian.localdomain> References: <87sgtv8hcz.fsf@gnu.org> <16a80e1461c.1292821a927951.2710363725930741694@zoho.com> <87k1f64c5o.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87k1f64c5o.fsf@gnu.org> User-Agent: NeoMutt/20180716 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35550 Cc: sirgazil@zoho.com, 35550 <35550@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sat, May 04, 2019 at 02:49:55PM +0200, Ludovic Courtès wrote: > Hi, > > sirgazil@zoho.com skribis: > > > In my case, "wpa-supplicant" would *always* fail to start (I rebooted and tried the graphical installer around 4 times). > > Could you check whether the sequence of events in /var/log/messages > always looks like the snippet I showed? > So for me it sometimes fails on two different machines. Actually it started failing four times in a row now that I test this. When it fails, I also get On Fri, May 03, 2019 at 09:31:40PM +0200, Ludovic Courtès wrote: > 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. > Could you also: > > 1. Let the installation image boot; > > 2. Confirm with ‘herd status wpa-supplicant’ that the ‘wpa-supplicant’ > service is marked as stopped (failed to start); > $ herd status wpa-supplicant Status of wpa-supplicant: It is stopped. It is enabled. Provides (wpa-supplicant). Requires (user-processes dbus-system loopback syslogd). Conflicts with (). Will be respawned. > 3. Show the contents /var/run/wpa_supplicant.pid, and check whether > they correspond to the PID of a running ‘wpa_supplicant’ process. > There is no such file. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 11:28:17 2019 Received: (at 35550) by debbugs.gnu.org; 4 May 2019 15:28:17 +0000 Received: from localhost ([127.0.0.1]:51995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMwaH-0000H5-13 for submit@debbugs.gnu.org; Sat, 04 May 2019 11:28:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMwaE-0000Gk-PK for 35550@debbugs.gnu.org; Sat, 04 May 2019 11:28:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMwa9-0001ym-CY; Sat, 04 May 2019 11:28:09 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36040 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hMwa7-00052r-74; Sat, 04 May 2019 11:28:07 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 35550@debbugs.gnu.org Subject: Re: bug#35550: Installer: wpa_supplicant fails to start References: <87sgtv8hcz.fsf@gnu.org> <875zqr8dnw.fsf@gnu.org> Date: Sat, 04 May 2019 17:28:04 +0200 In-Reply-To: <875zqr8dnw.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 03 May 2019 22:51:31 +0200") Message-ID: <87a7g22q9n.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35550 Cc: Ricardo Wurmus , sirgazil X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > You would expect wpa_supplicant to create its PID file atomically: write > it under a different name, then rename(2)=E2=80=A6 but no: Shepherd commit 72631752149d000c8c98ae0cc66e0b0c2eda94ef changes =E2=80=98read-pid-file=E2=80=99 to better deal with this. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 11:32:34 2019 Received: (at 35550) by debbugs.gnu.org; 4 May 2019 15:32:34 +0000 Received: from localhost ([127.0.0.1]:52006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMweP-0000Ou-Qs for submit@debbugs.gnu.org; Sat, 04 May 2019 11:32:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49373) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMweN-0000Oh-SF for 35550@debbugs.gnu.org; Sat, 04 May 2019 11:32:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMweI-0003dx-IK; Sat, 04 May 2019 11:32:26 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36052 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hMweH-0002yy-1d; Sat, 04 May 2019 11:32:26 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#35550: Installer: wpa_supplicant fails to start References: <87sgtv8hcz.fsf@gnu.org> <16a80e1461c.1292821a927951.2710363725930741694@zoho.com> <87k1f64c5o.fsf@gnu.org> <20190504140753.6wjgctw6ird7xj2b@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 =?utf-8?Q?Flor=C3=A9al?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 04 May 2019 17:32:23 +0200 In-Reply-To: <20190504140753.6wjgctw6ird7xj2b@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Sat, 4 May 2019 16:07:54 +0200") Message-ID: <877eb62q2g.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35550 Cc: sirgazil@zoho.com, 35550 <35550@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Florian, "pelzflorian (Florian Pelz)" skribis: >> Could you also: >>=20 >> 1. Let the installation image boot; >>=20 >> 2. Confirm with =E2=80=98herd status wpa-supplicant=E2=80=99 that the = =E2=80=98wpa-supplicant=E2=80=99 >> service is marked as stopped (failed to start); >> > > $ herd status wpa-supplicant > Status of wpa-supplicant: > It is stopped. > It is enabled. > Provides (wpa-supplicant). > Requires (user-processes dbus-system loopback syslogd). > Conflicts with (). > Will be respawned. > > > >> 3. Show the contents /var/run/wpa_supplicant.pid, and check whether >> they correspond to the PID of a running =E2=80=98wpa_supplicant=E2= =80=99 process. >> > > There is no such file. At this point, could you also check: 3b. The output of =E2=80=9Cpgrep -fa wpa_supplicant=E2=80=9D. The PID file was probably removed by the second attempt to start the =E2=80=98wpa-supplicant=E2=80=99 service. Could you also try running (as root): while herd restart wpa-supplicant; do : ; done to see the frequency at which the service fails to start? Thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 11:47:55 2019 Received: (at 35550) by debbugs.gnu.org; 4 May 2019 15:47:55 +0000 Received: from localhost ([127.0.0.1]:52022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMwtH-0000mt-9X for submit@debbugs.gnu.org; Sat, 04 May 2019 11:47:55 -0400 Received: from pelzflorian.de ([5.45.111.108]:40614 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMwtE-0000mk-Uv for 35550@debbugs.gnu.org; Sat, 04 May 2019 11:47:54 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 30935360038; Sat, 4 May 2019 17:47:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1556984864; bh=QFfTNGmEluhJP5SSF+XQ2RAlKXSSrWpKzhbCFrkoKvc=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=zBZsYpqTeIrQCg/0MCWfL5z9XDmjAuEEqX7nhGPVNG8qb8l29dk6GZLM6Ac+z9MQW dcKFCffK55XrHVbWZS+fKbk0GEK7krjLvxZuEFNkBHIOuwm4qgmuv0tTiklil/MI+k T7tT/AlNrxx2dn4j5+YRZXbfxSCXNvAesuR1mm7w= Date: Sat, 4 May 2019 17:47:44 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#35550: Installer: wpa_supplicant fails to start Message-ID: <20190504154743.i5sv6spf4jsbxruu@pelzflorian.localdomain> References: <87sgtv8hcz.fsf@gnu.org> <16a80e1461c.1292821a927951.2710363725930741694@zoho.com> <87k1f64c5o.fsf@gnu.org> <20190504140753.6wjgctw6ird7xj2b@pelzflorian.localdomain> <877eb62q2g.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <877eb62q2g.fsf@gnu.org> User-Agent: NeoMutt/20180716 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35550 Cc: sirgazil@zoho.com, 35550 <35550@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sat, May 04, 2019 at 05:32:23PM +0200, Ludovic Courtès wrote: > At this point, could you also check: > > 3b. The output of “pgrep -fa wpa_supplicant”. > root@gnu ~# pgrep -fa wpa_supplicant 481 /gnu/store/ifqy2dr2hbqplv14k50dzprw3k2bz9m9-wpa-supplicant-2.7/sbin/wpa_supplicant -P/var/run/wpa_supplicant.pid -B -s -u > The PID file was probably removed by the second attempt to start the > ‘wpa-supplicant’ service. > > Could you also try running (as root): > > while herd restart wpa-supplicant; do : ; done > > to see the frequency at which the service fails to start? > It displays Service wpa-supplicant is not running. Service wpa-supplicant could not be started. after and again and again every approximately 5 seconds. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 17:14:39 2019 Received: (at 35550) by debbugs.gnu.org; 4 May 2019 21:14:39 +0000 Received: from localhost ([127.0.0.1]:52476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hN1zS-0005U1-Vg for submit@debbugs.gnu.org; Sat, 04 May 2019 17:14:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58135) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hN1zR-0005To-EO for 35550@debbugs.gnu.org; Sat, 04 May 2019 17:14:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hN1zM-0002my-0X; Sat, 04 May 2019 17:14:32 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36700 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hN1zL-0004Tf-7g; Sat, 04 May 2019 17:14:31 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#35550: Installer: wpa_supplicant fails to start References: <87sgtv8hcz.fsf@gnu.org> <16a80e1461c.1292821a927951.2710363725930741694@zoho.com> <87k1f64c5o.fsf@gnu.org> <20190504140753.6wjgctw6ird7xj2b@pelzflorian.localdomain> <877eb62q2g.fsf@gnu.org> <20190504154743.i5sv6spf4jsbxruu@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 =?utf-8?Q?Flor=C3=A9al?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 04 May 2019 23:14:29 +0200 In-Reply-To: <20190504154743.i5sv6spf4jsbxruu@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Sat, 4 May 2019 17:47:44 +0200") Message-ID: <878svl2a8a.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35550 Cc: sirgazil@zoho.com, 35550 <35550@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, "pelzflorian (Florian Pelz)" skribis: > On Sat, May 04, 2019 at 05:32:23PM +0200, Ludovic Court=C3=A8s wrote: [...] >> Could you also try running (as root): >>=20 >> while herd restart wpa-supplicant; do : ; done >>=20 >> to see the frequency at which the service fails to start? >> > > It displays > > Service wpa-supplicant is not running. > Service wpa-supplicant could not be started. Sorry, to be complete, I should have asked you to first kill the =E2=80=9Cdangling=E2=80=9D wpa_supplicant process: pkill -f wpa_supplicant pgrep -fa wpa_supplicant # make sure it=E2=80=99s really dead while herd restart wpa-supplicant; do : ; done Could you try this? TIA, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 17:34:15 2019 Received: (at 35550) by debbugs.gnu.org; 4 May 2019 21:34:15 +0000 Received: from localhost ([127.0.0.1]:52525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hN2IR-00060A-GI for submit@debbugs.gnu.org; Sat, 04 May 2019 17:34:15 -0400 Received: from pelzflorian.de ([5.45.111.108]:41050 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hN2IO-000601-U7 for 35550@debbugs.gnu.org; Sat, 04 May 2019 17:34:14 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 2DB75360038; Sat, 4 May 2019 23:34:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1557005643; bh=UwfAO2vn/fLulyY3T3XfUVSnQ/9v6kdCrP2grGn8FZk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=yhp5VqhxlvDPblu07769xLGmdOns4Y2GvcE48JjDfQu3HhMxwZCgZbugHkywFkXlc ELVKMe3s6FjQueYC43C3RHZBRUx2KyCqSsQcaNvAB5gik+sM16bzQ4YXBCMyhGLEMd AUZePrwcnfEcZfsgYZziMUHsk1f9M9ovQ2OK+2lo= Date: Sat, 4 May 2019 23:34:03 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#35550: Installer: wpa_supplicant fails to start Message-ID: <20190504213402.2pdyieijtpejpi4p@pelzflorian.localdomain> References: <87sgtv8hcz.fsf@gnu.org> <16a80e1461c.1292821a927951.2710363725930741694@zoho.com> <87k1f64c5o.fsf@gnu.org> <20190504140753.6wjgctw6ird7xj2b@pelzflorian.localdomain> <877eb62q2g.fsf@gnu.org> <20190504154743.i5sv6spf4jsbxruu@pelzflorian.localdomain> <878svl2a8a.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <878svl2a8a.fsf@gnu.org> User-Agent: NeoMutt/20180716 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35550 Cc: sirgazil@zoho.com, 35550 <35550@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sat, May 04, 2019 at 11:14:29PM +0200, Ludovic Courtès wrote: > Hi, > > "pelzflorian (Florian Pelz)" skribis: > > > On Sat, May 04, 2019 at 05:32:23PM +0200, Ludovic Courtès wrote: > > [...] > > >> Could you also try running (as root): > >> > >> while herd restart wpa-supplicant; do : ; done > >> > >> to see the frequency at which the service fails to start? > >> > > > > It displays > > > > Service wpa-supplicant is not running. > > Service wpa-supplicant could not be started. > > Sorry, to be complete, I should have asked you to first kill the > “dangling” wpa_supplicant process: > > pkill -f wpa_supplicant > pgrep -fa wpa_supplicant # make sure it’s really dead pgrep does not display anything. > while herd restart wpa-supplicant; do : ; done > > Could you try this? > Now it displays Service wpa-supplicant has been stopped. Service wpa-supplicant has been started. again and again incessantly, one immediately after the other with no time in between. By the way, the network connection only failed sometimes when I tested Guix 1.0.0, but since I started using a Guix disk image from a more recent Guix, wpa-supplicant apparently always fails. Strange. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Sun May 05 12:29:56 2019 Received: (at 35550) by debbugs.gnu.org; 5 May 2019 16:29:57 +0000 Received: from localhost ([127.0.0.1]:54740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNK1U-0000bs-Ki for submit@debbugs.gnu.org; Sun, 05 May 2019 12:29:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNK1S-0000bc-Tv for 35550@debbugs.gnu.org; Sun, 05 May 2019 12:29:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNK1N-0003Fk-J4; Sun, 05 May 2019 12:29:49 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42762 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hNK1N-00062j-0X; Sun, 05 May 2019 12:29:49 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#35550: Installer: wpa_supplicant fails to start References: <87sgtv8hcz.fsf@gnu.org> <16a80e1461c.1292821a927951.2710363725930741694@zoho.com> <87k1f64c5o.fsf@gnu.org> <20190504140753.6wjgctw6ird7xj2b@pelzflorian.localdomain> <877eb62q2g.fsf@gnu.org> <20190504154743.i5sv6spf4jsbxruu@pelzflorian.localdomain> <878svl2a8a.fsf@gnu.org> <20190504213402.2pdyieijtpejpi4p@pelzflorian.localdomain> Date: Sun, 05 May 2019 18:29:46 +0200 In-Reply-To: <20190504213402.2pdyieijtpejpi4p@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Sat, 4 May 2019 23:34:03 +0200") Message-ID: <87lfzkzwxx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35550 Cc: sirgazil@zoho.com, 35550 <35550@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, I=E2=80=99ve been able to test it on the bare metal as well and I confirm: I booted the install image a few times and the =E2=80=98wpa-supplicant=E2=80= =99 service would be stopped every time, with a dangling =E2=80=98wpa_supplicant=E2=80= =99 process running. Given that this seems to be systematic, I=E2=80=99m not sure my P= ID file atomicity hypothesis explains everything. I=E2=80=99ve tried running: pkill wpa_supplicant while herd start wpa-supplicant ; do herd stop wpa-supplicant ; done and that always works (i.e., no =E2=80=9Cfailed to start =E2=80=98wpa-suppl= icant=E2=80=99=E2=80=9D error.) If I run in parallel this: while touch /var/run/wpa_supplicant.pid ; do : ; done then it occasionally =E2=80=9Cfails to start=E2=80=9D, but not very often. To be continued=E2=80=A6 Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun May 05 16:26:13 2019 Received: (at 35550) by debbugs.gnu.org; 5 May 2019 20:26:13 +0000 Received: from localhost ([127.0.0.1]:55001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNNi8-0004Ux-W8 for submit@debbugs.gnu.org; Sun, 05 May 2019 16:26:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNNi7-0004Uk-1s for 35550@debbugs.gnu.org; Sun, 05 May 2019 16:26:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNNi1-0004N7-1c; Sun, 05 May 2019 16:26:05 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=43100 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hNNhz-0008AD-Q1; Sun, 05 May 2019 16:26:04 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 35550@debbugs.gnu.org Subject: Re: bug#35550: Installer: wpa_supplicant fails to start References: <87sgtv8hcz.fsf@gnu.org> <875zqr8dnw.fsf@gnu.org> Date: Sun, 05 May 2019 22:26:01 +0200 In-Reply-To: <875zqr8dnw.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 03 May 2019 22:51:31 +0200") Message-ID: <87zho0y7fq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35550 Cc: Ricardo Wurmus , sirgazil X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > You would expect wpa_supplicant to create its PID file atomically: write > it under a different name, then rename(2)=E2=80=A6 but no: Regarding this PID file atomicity issue, a few other data points: Tor, syslogd (GNU Inetutils), sshd (OpenSSH), and dbus-daemon all do the exact same non-atomic PID file creation as wpa_supplicant. Libdaemon (used by Avahi) does something more fancy: it acquires an exclusive write lock (fcntl with F_SETLKW) on the PID file right after opening it, but since shepherd does not attempt to acquire locks on PID file, it has no effect. systemd and GNU=C2=A0Pies don=E2=80=99t take any precautions while reading = PID files. The assumption seems to be that if the file exists, then it must contain a valid PID. So perhaps the problem we see with =E2=80=98wpa_supplicant=E2=80=99 is else= where. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun May 05 18:21:38 2019 Received: (at 35550) by debbugs.gnu.org; 5 May 2019 22:21:38 +0000 Received: from localhost ([127.0.0.1]:55116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNPVq-00082M-GI for submit@debbugs.gnu.org; Sun, 05 May 2019 18:21:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNPVp-00082A-1X for 35550@debbugs.gnu.org; Sun, 05 May 2019 18:21:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNPVi-0005Ub-8K; Sun, 05 May 2019 18:21:31 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=50432 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hNPVh-00039a-Bi; Sun, 05 May 2019 18:21:29 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 35550@debbugs.gnu.org Subject: Re: bug#35550: Installer: wpa_supplicant fails to start References: <87sgtv8hcz.fsf@gnu.org> <875zqr8dnw.fsf@gnu.org> Date: Mon, 06 May 2019 00:21:26 +0200 In-Reply-To: <875zqr8dnw.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 03 May 2019 22:51:31 +0200") Message-ID: <87k1f4y23d.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35550 Cc: Ricardo Wurmus , sirgazil X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s skribis: > So why is =E2=80=98wpa-supplicant=E2=80=99 marked as failing to start on = the first > attempt? > > The only reason I can think of is if =E2=80=98read-pid-file=E2=80=99 from= (shepherd > service) returns immediately and returns #f instead of a number. That > can actually happen if the PID file exists but is empty (or contains > garbage). I=E2=80=99ve produced an ISO with the patch below and ran it on the bare me= tal to get confirmation (too bad the bug doesn=E2=80=99t show in QEMU :-/). In= deed, =E2=80=98read-pid-file=E2=80=99 for /var/run/wpa_supplicant.pid systematica= lly reads the empty string the first time the =E2=80=98wpa-supplicant=E2=80=99 service is= started. (After that, if we kill the process and try to restart the service, the problem doesn=E2=80=99t show up.) --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/modules/shepherd/service.scm b/modules/shepherd/service.scm index 53437b6..e21492e 100644 --- a/modules/shepherd/service.scm +++ b/modules/shepherd/service.scm @@ -717,9 +717,12 @@ otherwise return the number that was read (a PID)." (let loop () (catch 'system-error (lambda () - (string->number - (string-trim-both - (call-with-input-file file get-string-all)))) + (define str + (call-with-input-file file get-string-all)) + + (local-output (l10n "read-pid-file ~s -> ~s") + file str) + (string->number (string-trim-both str))) (lambda args (let ((errno (system-error-errno args))) (if (= ENOENT errno) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable With the second patch below, I confirm that the =E2=80=98wpa-supplicant=E2= =80=99 starts correctly. We can see in /var/log/messages that =E2=80=98read-pid-file=E2= =80=99 first reads the empty string from /var/run/wpa_supplicant.pid, then tries again, and gets a valid PID on the second attempt. It=E2=80=99s surprising that the timing is always like that, and only on the bare metal, but that=E2=80=99s the way it is. It=E2=80=99d be great if you could do some testing with the patch below. T= hen I guess we=E2=80=99ll push a Shepherd release with this fix. I wonder if this could also explain . Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index dfc3467bf8..e1dd248679 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -188,7 +188,8 @@ and provides a \"top-like\" mode (monitoring).") version ".tar.gz")) (sha256 (base32 - "1ys2w83vm62spr8bx38sccfdpy9fqmj7wfywm5k8ihsy2k61da2i")))) + "1ys2w83vm62spr8bx38sccfdpy9fqmj7wfywm5k8ihsy2k61da2i")) + (patches (search-patches "shepherd-debug.patch")))) (build-system gnu-build-system) (arguments '(#:configure-flags '("--localstatedir=/var"))) diff --git a/gnu/packages/patches/shepherd-debug.patch b/gnu/packages/patches/shepherd-debug.patch new file mode 100644 index 0000000000..2fd97cc578 --- /dev/null +++ b/gnu/packages/patches/shepherd-debug.patch @@ -0,0 +1,43 @@ +diff --git a/modules/shepherd/service.scm b/modules/shepherd/service.scm +index 53437b6..bef8f42 100644 +--- a/modules/shepherd/service.scm ++++ b/modules/shepherd/service.scm +@@ -715,21 +715,28 @@ number. Return #f if FILE was not created or does not contain a number; + otherwise return the number that was read (a PID)." + (define start (current-time)) + (let loop () ++ (define (retry) ++ (and (< (current-time) (+ start max-delay)) ++ (begin ++ ;; FILE does not exist yet, so wait and try again. ++ ;; XXX: Ideally we would yield to the main event loop ++ ;; and/or use inotify. ++ (sleep 1) ++ (loop)))) ++ + (catch 'system-error + (lambda () +- (string->number +- (string-trim-both +- (call-with-input-file file get-string-all)))) ++ (define str ++ (call-with-input-file file get-string-all)) ++ ++ (local-output (l10n "read-pid-file ~s -> ~s") ++ file str) ++ (or (string->number (string-trim-both str)) ++ (retry))) + (lambda args + (let ((errno (system-error-errno args))) + (if (= ENOENT errno) +- (and (< (current-time) (+ start max-delay)) +- (begin +- ;; FILE does not exist yet, so wait and try again. +- ;; XXX: Ideally we would yield to the main event loop +- ;; and/or use inotify. +- (sleep 1) +- (loop))) ++ (retry) + (apply throw args))))))) + + (define* (exec-command command --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 06 15:47:57 2019 Received: (at 35550) by debbugs.gnu.org; 6 May 2019 19:47:57 +0000 Received: from localhost ([127.0.0.1]:57510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNjaf-0008Ts-FC for submit@debbugs.gnu.org; Mon, 06 May 2019 15:47:57 -0400 Received: from pelzflorian.de ([5.45.111.108]:43972 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNjad-0008Tk-9t for 35550@debbugs.gnu.org; Mon, 06 May 2019 15:47:55 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 8E646360038; Mon, 6 May 2019 21:47:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1557172061; bh=qCTwGzpTNH6vbiBFGrVf+fnjVNTQR0+4uVQauZAZXt0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=OF0bl9XaFnq/sTNcFDMrupzSlxO8gREV1pcK3+9TjBW3v2pplsJVXZEoDIHwcBJSB gapmK+Jdv5cfZeRS9fg7KCscx+xduvnLcEaJ4uN+FGXb6QrjGUbHMH90ankp8MaAnE K8Vpv3j3hmgLdlXf6b+lg8Gd8MdvUobKik3B9h8A= Date: Mon, 6 May 2019 21:47:41 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#35550: Installer: wpa_supplicant fails to start Message-ID: <20190506194741.qm7uha4fomsngdga@pelzflorian.localdomain> References: <87sgtv8hcz.fsf@gnu.org> <875zqr8dnw.fsf@gnu.org> <87k1f4y23d.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87k1f4y23d.fsf@gnu.org> User-Agent: NeoMutt/20180716 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35550 Cc: sirgazil , 35550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Mon, May 06, 2019 at 12:21:26AM +0200, Ludovic Courtès wrote: > It’d be great if you could do some testing with the patch below. Then I > guess we’ll push a Shepherd release with this fix. > The second patch (the one for Guix is the only one I have tested) works fine on the system which always failed before since sometime after 1.0. One time wpa-supplicant worked fine but it had an error establishing the internet connection, but I am quite certain it was an unrelated hardware issue. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Mon May 06 16:00:40 2019 Received: (at 35550) by debbugs.gnu.org; 6 May 2019 20:00:41 +0000 Received: from localhost ([127.0.0.1]:57525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNjmy-0000Nj-N8 for submit@debbugs.gnu.org; Mon, 06 May 2019 16:00:40 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:55010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNjmw-0000NY-73 for 35550@debbugs.gnu.org; Mon, 06 May 2019 16:00:39 -0400 Received: from localhost (77.117.168.171.wireless.dyn.drei.com [77.117.168.171]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 27803336140B; Mon, 6 May 2019 22:00:36 +0200 (CEST) Date: Mon, 6 May 2019 22:00:30 +0200 From: Danny Milosavljevic To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Subject: Re: bug#35550: Installer: wpa_supplicant fails to start Message-ID: <20190506220030.4a608b37@scratchpost.org> In-Reply-To: <87k1f4y23d.fsf@gnu.org> References: <87sgtv8hcz.fsf@gnu.org> <875zqr8dnw.fsf@gnu.org> <87k1f4y23d.fsf@gnu.org> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/vVS/qI50eCIkkI2+161ZUoJ"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35550 Cc: sirgazil , 35550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/vVS/qI50eCIkkI2+161ZUoJ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Ludo, what happens when the loop reads the pid file when it contains just half of= a numeral? It won't detect it, right? --Sig_/vVS/qI50eCIkkI2+161ZUoJ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlzQkl4ACgkQ5xo1VCww uqXR2QgAkyT7VO/EanKhg81l0bDe7A0rLjtgoR83/+ijYjHXcqwnKYqsixD+Eh7j 8sbxvvAW6rP0Th+ngbu02ZCxkn0vWmgQdpJGYMOXOUwCo010gK56w0S+LYW4PvYq j3ppUP+x+QZz0AUvuio/GIiMc67ede1PaFpNqKGJdkgqMCX4Gn04xUQwOOILi6tD 8Sj8m6SAvhrmgKVt9+Qu7yjvR+Yd1k+CvZIVafcI9vOTG26P/xg7cnBxpwRne7wE iDhr+rOE0K6++sQf48hl798zeve850Rk1/LZj4EzeJNUJRU5utzPzu8OiuPSysO9 KgkepMfrgi8d26kQ0WG0WG7pETICQQ== =UahM -----END PGP SIGNATURE----- --Sig_/vVS/qI50eCIkkI2+161ZUoJ-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 07 03:54:06 2019 Received: (at 35550) by debbugs.gnu.org; 7 May 2019 07:54:06 +0000 Received: from localhost ([127.0.0.1]:58142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNuvN-0000oI-U1 for submit@debbugs.gnu.org; Tue, 07 May 2019 03:54:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNuvM-0000nj-6H for 35550@debbugs.gnu.org; Tue, 07 May 2019 03:54:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNuvG-0005JX-Ai; Tue, 07 May 2019 03:53:58 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=38474 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hNuvF-0002xZ-Pk; Tue, 07 May 2019 03:53:58 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#35550: Installer: wpa_supplicant fails to start References: <87sgtv8hcz.fsf@gnu.org> <875zqr8dnw.fsf@gnu.org> <87k1f4y23d.fsf@gnu.org> <20190506194741.qm7uha4fomsngdga@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 =?utf-8?Q?Flor=C3=A9al?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 07 May 2019 09:53:54 +0200 In-Reply-To: <20190506194741.qm7uha4fomsngdga@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Mon, 6 May 2019 21:47:41 +0200") Message-ID: <87r29aaeel.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35550 Cc: sirgazil , 35550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Florian, "pelzflorian (Florian Pelz)" skribis: > On Mon, May 06, 2019 at 12:21:26AM +0200, Ludovic Court=C3=A8s wrote: >> It=E2=80=99d be great if you could do some testing with the patch below.= Then I >> guess we=E2=80=99ll push a Shepherd release with this fix. >>=20 > > The second patch (the one for Guix is the only one I have tested) > works fine on the system which always failed before since sometime > after 1.0. > > One time wpa-supplicant worked fine but it had an error establishing > the internet connection, but I am quite certain it was an unrelated > hardware issue. Awesome, thanks for testing. Note that I made similar changes in shepherd, which I=E2=80=99ll probably release as 0.6.1 so we can use it in Guix 1.0.1: https://git.savannah.gnu.org/cgit/shepherd.git/log Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue May 07 04:05:20 2019 Received: (at 35550) by debbugs.gnu.org; 7 May 2019 08:05:20 +0000 Received: from localhost ([127.0.0.1]:58146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNv6G-00018n-1B for submit@debbugs.gnu.org; Tue, 07 May 2019 04:05:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNv6D-00018X-G2 for 35550@debbugs.gnu.org; Tue, 07 May 2019 04:05:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNv67-0006zZ-Kd; Tue, 07 May 2019 04:05:11 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=38480 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hNv66-0007Ea-74; Tue, 07 May 2019 04:05:10 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Danny Milosavljevic Subject: Re: bug#35550: Installer: wpa_supplicant fails to start References: <87sgtv8hcz.fsf@gnu.org> <875zqr8dnw.fsf@gnu.org> <87k1f4y23d.fsf@gnu.org> <20190506220030.4a608b37@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 =?utf-8?Q?Flor=C3=A9al?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 07 May 2019 10:05:08 +0200 In-Reply-To: <20190506220030.4a608b37@scratchpost.org> (Danny Milosavljevic's message of "Mon, 6 May 2019 22:00:30 +0200") Message-ID: <87imumadvv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35550 Cc: sirgazil , 35550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Danny, Danny Milosavljevic skribis: > what happens when the loop reads the pid file when it contains just half = of a > numeral? It won't detect it, right? Correct. I=E2=80=99m proposing the addition below to be on the verrrry safe side. WDYT? The weird thing, as I mentioned earlier, is that systemd and Pies do not protect against truncated PID files, and I couldn=E2=80=99t find any =E2=80=9Cdocumentation=E2=80=9D of the problem on the intertubes. For syst= emd it=E2=80=99s maybe less of a problem since services are started in a cgroup, I think. Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/modules/shepherd/service.scm b/modules/shepherd/service.scm index b937609..ef27d88 100644 --- a/modules/shepherd/service.scm +++ b/modules/shepherd/service.scm @@ -709,10 +709,16 @@ results." set when starting a service." (environ)) -(define* (read-pid-file file #:key (max-delay 5)) +(define* (read-pid-file file #:key (max-delay 5) + (validate-pid? #f)) "Wait for MAX-DELAY seconds for FILE to show up, and read its content as a number. Return #f if FILE was not created or does not contain a number; -otherwise return the number that was read (a PID)." +otherwise return the number that was read (a PID). + +When VALIDATE-PID? is true, succeed if and only if the number that was read is +the PID of an existing process in the current PID namespace. This test cannot +be used if FILE might contain a PID from another PID namespace (i.e., the +daemon writing FILE is running in a separate PID namespace.)" (define start (current-time)) (let loop () @@ -736,11 +742,13 @@ otherwise return the number that was read (a PID)." (try-again)) ((? integer? pid) ;; It's possible, though unlikely, that PID is not a valid PID, for - ;; instance because writes to FILE did not complete. However, we - ;; don't do (kill pid 0) because if the process lives in a separate - ;; PID namespace, then PID is probably invalid in our own - ;; namespace. - pid))) + ;; instance because writes to FILE did not complete. When + ;; VALIDATE-PID? is true, check that PID is valid in the current + ;; PID namespace. + (if (or (not validate-pid?) + (catch-system-error (kill pid 0) #t)) + pid + (try-again))))) (lambda args (let ((errno (system-error-errno args))) (if (= ENOENT errno) @@ -931,7 +939,8 @@ start." environment-variables))) (if pid-file (match (read-pid-file pid-file - #:max-delay pid-file-timeout) + #:max-delay pid-file-timeout + #:validate-pid? #t) (#f (catch-system-error (kill pid SIGTERM)) #f) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed May 08 07:33:30 2019 Received: (at 35550) by debbugs.gnu.org; 8 May 2019 11:33:31 +0000 Received: from localhost ([127.0.0.1]:60467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOKpG-0007gQ-GA for submit@debbugs.gnu.org; Wed, 08 May 2019 07:33:30 -0400 Received: from ns13.heimat.it ([46.4.214.66]:55072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOKpD-0007gA-Mb; Wed, 08 May 2019 07:33:28 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id CC0F8300E8D; Wed, 8 May 2019 11:33:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9ZqF7bMBJ4ML; Wed, 8 May 2019 11:33:02 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.161.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 2DE4B300E26; Wed, 8 May 2019 11:33:02 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette.mug.biscuolo.net [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 7B101300A04; Wed, 8 May 2019 13:33:00 +0200 (CEST) Received: (nullmailer pid 24313 invoked by uid 1000); Wed, 08 May 2019 11:32:59 -0000 From: Giovanni Biscuolo To: "pelzflorian (Florian Pelz)" Subject: Re: bug#35630: graphical install, no network device found (HP EliteDesk 800 G1) In-Reply-To: <20190508093106.amc7wfmltdjxzqhg@pelzflorian.localdomain> Organization: Xelera.eu References: <874l658hmv.fsf@roquette.mug.biscuolo.net> <20190508093106.amc7wfmltdjxzqhg@pelzflorian.localdomain> Date: Wed, 08 May 2019 13:32:59 +0200 Message-ID: <87v9yl6v10.fsf@roquette.mug.biscuolo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35550 Cc: guix-devel@gnu.org, 35630@debbugs.gnu.org, 35550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Florian, thank you for pointing me to the right bug report! I checked the bug reports list via web [1] but did not link wpa-supplicant to my issue since I did not realized that such an issue also affects wired connections "pelzflorian (Florian Pelz)" writes: > I hope this is an instance of , > that is =E2=80=9Cherd status wpa-supplicant=E2=80=9D shows that wpa-suppl= icant is > stopped instead of running? I hope there will be a new release soon > where this is fixed. yes, this is definitely an instance of #35550 I confirm I see the very same wpa_supplicant log messages in /var/log/messages as reported by Sirgazil and pelzflorian the following suggested workaround (in a text console activated via CTRL-ALT-F3) works for me: =2D-8<---------------cut here---------------start------------->8--- pkill wpa_supplicant herd start networking =2D-8<---------------cut here---------------end--------------->8--- after that I was able to restart the "Network interface" installer step (by choosing "Exit" and selecting it again in the proposed dialog) and was able to select the wired interface Thanks! Gio' [1] I'm going to subscribe bug-guix :-) =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlzSvmsACgkQ030Op87M ORKJHg//Vt8TSxusa37j3Y22Pw2xYySCrW/sf9NBwDzoxa7eJKJBxMHeFhEIbSL3 vVe5WQ9eb+ZOeARacPBmWrR/JgLp1RTTtmgToUWmcRhT4gjB0NTt6H4nLonddSXZ Z/2jG/w9yDwBdh6/74Y8kAVJvnld76eRpvLqmFbr3az5BOllXF5Zsk4tRft0SQ9t C1A+cC/Wh19MKtvwQ+guqua9khgeMuCp3IKY9SvpPi5w+WxGAS4NSUQc6i9JC2Dv xSEbMIhCJwHBw3yoZesM1yojYgIb/kXP9cueUtuh7TBQW6cX1rjCTkRNoF5cegUX 230BvqCr17DldU9Ew2VbRw2LwqQZRBqtvkxE29TwecrzHnbHZe1P4emIMHEusnOW Vh87YuCfh6Oxz4o8EaYucHr8C8C3KaiHDyBj/yWmwcs+9sKXcLuIJOtqjrRdOxdL dI2S7ZTMuefkyGPcxILXvaAow+UFnNjzgdHlD98YfRLBxdwadX4S1u9EqeAT5rHa maIxHeO/fIvHp22MAG+wm/aGfndz8yvFIYEam4Xp/ADz1UGj+FVq0tUVrM1Rb02K sDYerjPuRL4PodVxpcC41fl/tn8z/17JoS7/Qmeim3I94JIU+k/hL0Y2u9C8s5Sw fXnMCvLzQyBAJZtKUC65Nt+1CaFB1sblTucVuRQHi7d8rCpeaME= =NmY7 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed May 08 10:32:11 2019 Received: (at 35550) by debbugs.gnu.org; 8 May 2019 14:32:11 +0000 Received: from localhost ([127.0.0.1]:33718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hONcB-0006Wz-5R for submit@debbugs.gnu.org; Wed, 08 May 2019 10:32:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hONc9-0006Wa-II for 35550@debbugs.gnu.org; Wed, 08 May 2019 10:32:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hONc2-0003yB-Ii; Wed, 08 May 2019 10:32:03 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37628 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hONc1-0007lC-MG; Wed, 08 May 2019 10:32:02 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Danny Milosavljevic Subject: Re: bug#35550: Installer: wpa_supplicant fails to start References: <87sgtv8hcz.fsf@gnu.org> <875zqr8dnw.fsf@gnu.org> <87k1f4y23d.fsf@gnu.org> <20190506220030.4a608b37@scratchpost.org> <87imumadvv.fsf@gnu.org> Date: Wed, 08 May 2019 16:32:00 +0200 In-Reply-To: <87imumadvv.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 07 May 2019 10:05:08 +0200") Message-ID: <874l65vwyn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35550 Cc: sirgazil , 35550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > I=E2=80=99m proposing the addition below to be on the verrrry safe side. Pushed as Shepherd commit 1ebea0a6e4c6ff11212eda348072acf9c379e7b2. Unless something goes wrong, I=E2=80=99ll make Shepherd commit fbb9c3fac745552eaf0f354bd0134cca7027bf17 version 0.6.1 in the coming days (well, with an updated NEWS file.) Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed May 08 18:26:10 2019 Received: (at 35550) by debbugs.gnu.org; 8 May 2019 22:26:10 +0000 Received: from localhost ([127.0.0.1]:34220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOV0r-00027Q-VE for submit@debbugs.gnu.org; Wed, 08 May 2019 18:26:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOV0q-00027E-BF for 35550@debbugs.gnu.org; Wed, 08 May 2019 18:26:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOV0k-0007i5-9K; Wed, 08 May 2019 18:26:02 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40698 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hOV0j-0007Os-Fe; Wed, 08 May 2019 18:26:01 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Danny Milosavljevic Subject: Re: bug#35550: Installer: wpa_supplicant fails to start References: <87sgtv8hcz.fsf@gnu.org> <875zqr8dnw.fsf@gnu.org> <87k1f4y23d.fsf@gnu.org> <20190506220030.4a608b37@scratchpost.org> <87imumadvv.fsf@gnu.org> <874l65vwyn.fsf@gnu.org> Date: Thu, 09 May 2019 00:25:59 +0200 In-Reply-To: <874l65vwyn.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 08 May 2019 16:32:00 +0200") Message-ID: <87imuktwg8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35550 Cc: sirgazil , 35550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s skribis: > Ludovic Court=C3=A8s skribis: > >> I=E2=80=99m proposing the addition below to be on the verrrry safe side. > > Pushed as Shepherd commit 1ebea0a6e4c6ff11212eda348072acf9c379e7b2. > > Unless something goes wrong, I=E2=80=99ll make Shepherd commit > fbb9c3fac745552eaf0f354bd0134cca7027bf17 version 0.6.1 in the coming > days (well, with an updated NEWS file.) If you want to re-test that wpa_supplicant does start correctly with the latest Shepherd, you can do so by applying the patch below to Guix. Ludo=E2=80=99. --=-=-= Content-Type: text/x-org Content-Disposition: inline diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index dfc3467bf8..6cabea0fb9 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -181,22 +181,30 @@ and provides a \"top-like\" mode (monitoring).") (define-public shepherd (package (name "shepherd") - (version "0.6.0") + (version "0.6.1pre1") (source (origin - (method url-fetch) - (uri (string-append "mirror://gnu/shepherd/shepherd-" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://git.savannah.gnu.org/git/shepherd.git") + (commit "fbb9c3fac745552eaf0f354bd0134cca7027bf17"))) (sha256 (base32 - "1ys2w83vm62spr8bx38sccfdpy9fqmj7wfywm5k8ihsy2k61da2i")))) + "0w7dx2i04qgykzhz4qir3rxnrdfza3q7kzh5z4mpmgjrp08pfnrn")))) (build-system gnu-build-system) (arguments - '(#:configure-flags '("--localstatedir=/var"))) + '(#:configure-flags '("--localstatedir=/var" + "ac_cv_path_MSGMERGE=true"))) (native-inputs `(("pkg-config" ,pkg-config) ;; This is the Guile we use as a cross-compiler... - ("guile" ,guile-2.2))) + ("guile" ,guile-2.2) + + ("texinfo" ,texinfo) + ("help2man" ,help2man) + ("gettext" ,gnu-gettext) + ("autoconf" ,autoconf) + ("automake" ,automake))) (inputs ;; ... and this is the one that appears in shebangs when cross-compiling. `(("guile" ,guile-2.2) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu May 09 02:46:37 2019 Received: (at 35550) by debbugs.gnu.org; 9 May 2019 06:46:37 +0000 Received: from localhost ([127.0.0.1]:34535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOcpA-0007Su-Tu for submit@debbugs.gnu.org; Thu, 09 May 2019 02:46:37 -0400 Received: from pelzflorian.de ([5.45.111.108]:47492 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOcp7-0007Sg-TZ for 35550@debbugs.gnu.org; Thu, 09 May 2019 02:46:35 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id CBF3E360038; Thu, 9 May 2019 08:46:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1557384373; bh=SslmXv0LaqiI+j6mxSEhRwl5Va6iVEAFUHAEUxP5QnE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Zmfu1XpCnDZHJq1bYu78cjTo7NC7goI7oULknVO1vOruRbF9HKTIONmPdjrW2yw0A 06JQbugHSMXL8MBh8mIfESOVPklvF4XHlAWyXRSCK6NahCi1TSU4aFyww/eNCyLXBa 1ip3lh/LxFcWzT9AroEbMJbvaJkhFaiR55KB3cE0= Date: Thu, 9 May 2019 08:46:13 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#35550: Installer: wpa_supplicant fails to start Message-ID: <20190509064613.cci7yd44toggezln@pelzflorian.localdomain> References: <87sgtv8hcz.fsf@gnu.org> <875zqr8dnw.fsf@gnu.org> <87k1f4y23d.fsf@gnu.org> <20190506220030.4a608b37@scratchpost.org> <87imumadvv.fsf@gnu.org> <874l65vwyn.fsf@gnu.org> <87imuktwg8.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87imuktwg8.fsf@gnu.org> User-Agent: NeoMutt/20180716 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35550 Cc: Danny Milosavljevic , sirgazil , 35550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, May 09, 2019 at 12:25:59AM +0200, Ludovic Courts wrote: > If you want to re-test that wpa_supplicant does start correctly with the > latest Shepherd, you can do so by applying the patch below to Guix. > Works fine too on Macbook and PC (using a non-ISO disk image). Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Thu May 09 06:18:22 2019 Received: (at 35550) by debbugs.gnu.org; 9 May 2019 10:18:22 +0000 Received: from localhost ([127.0.0.1]:34694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOg86-00048M-1c for submit@debbugs.gnu.org; Thu, 09 May 2019 06:18:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOg83-000484-MX for 35550@debbugs.gnu.org; Thu, 09 May 2019 06:18:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOg7y-0006ft-99; Thu, 09 May 2019 06:18:14 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=52772 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hOg7x-0003dp-Qx; Thu, 09 May 2019 06:18:14 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#35550: Installer: wpa_supplicant fails to start References: <87sgtv8hcz.fsf@gnu.org> <875zqr8dnw.fsf@gnu.org> <87k1f4y23d.fsf@gnu.org> <20190506220030.4a608b37@scratchpost.org> <87imumadvv.fsf@gnu.org> <874l65vwyn.fsf@gnu.org> <87imuktwg8.fsf@gnu.org> <20190509064613.cci7yd44toggezln@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 =?utf-8?Q?Flor=C3=A9al?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 09 May 2019 12:18:12 +0200 In-Reply-To: <20190509064613.cci7yd44toggezln@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Thu, 9 May 2019 08:46:13 +0200") Message-ID: <87ef58exsr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35550 Cc: Danny Milosavljevic , sirgazil , 35550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) "pelzflorian (Florian Pelz)" skribis: > On Thu, May 09, 2019 at 12:25:59AM +0200, Ludovic Court=C3=A8s wrote: >> If you want to re-test that wpa_supplicant does start correctly with the >> latest Shepherd, you can do so by applying the patch below to Guix. >>=20 > > Works fine too on Macbook and PC (using a non-ISO disk image). Great, thanks for testing! From debbugs-submit-bounces@debbugs.gnu.org Sat May 11 14:13:35 2019 Received: (at 35550-done) by debbugs.gnu.org; 11 May 2019 18:13:35 +0000 Received: from localhost ([127.0.0.1]:41016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPWV5-0001JC-Dv for submit@debbugs.gnu.org; Sat, 11 May 2019 14:13:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPWV3-0001J0-PE for 35550-done@debbugs.gnu.org; Sat, 11 May 2019 14:13:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPWUy-0000sb-71; Sat, 11 May 2019 14:13:28 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40404 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hPWUx-0004Gy-Ec; Sat, 11 May 2019 14:13:28 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Danny Milosavljevic Subject: Re: bug#35550: Installer: wpa_supplicant fails to start References: <87sgtv8hcz.fsf@gnu.org> <875zqr8dnw.fsf@gnu.org> <87k1f4y23d.fsf@gnu.org> <20190506220030.4a608b37@scratchpost.org> <87imumadvv.fsf@gnu.org> <874l65vwyn.fsf@gnu.org> Date: Sat, 11 May 2019 20:13:25 +0200 In-Reply-To: <874l65vwyn.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 08 May 2019 16:32:00 +0200") Message-ID: <875zqgx3ju.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35550-done Cc: sirgazil , 35550-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > Ludovic Court=C3=A8s skribis: > >> I=E2=80=99m proposing the addition below to be on the verrrry safe side. > > Pushed as Shepherd commit 1ebea0a6e4c6ff11212eda348072acf9c379e7b2. > > Unless something goes wrong, I=E2=80=99ll make Shepherd commit > fbb9c3fac745552eaf0f354bd0134cca7027bf17 version 0.6.1 in the coming > days (well, with an updated NEWS file.) Commit 3b8699f9c2a9f88d44a5320398b4c968c432429d upgrades the Shepherd to 0.6.1, which fixes the PID file race condition we=E2=80=99ve been talking a= bout. Closing! Ludo=E2=80=99. From unknown Sat Sep 06 05:55:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 09 Jun 2019 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator