From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#38653: wpa-supplicant dbus failure leads to networking service failure Date: Thu, 30 Jan 2020 12:44:26 +0100 Message-ID: <87a765p3s5.fsf@devup.no> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38998) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ix8Fr-0002fD-9M for bug-guix@gnu.org; Thu, 30 Jan 2020 06:45:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ix8Fq-0001bL-0k for bug-guix@gnu.org; Thu, 30 Jan 2020 06:45:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57259) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ix8Fp-0001aY-SK for bug-guix@gnu.org; Thu, 30 Jan 2020 06:45:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ix8Fp-0008FI-PL for bug-guix@gnu.org; Thu, 30 Jan 2020 06:45:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Christopher Howard , 38653@debbugs.gnu.org --=-=-= Content-Type: text/plain Christopher, Thanks for the bug report, and sorry for the late response. Christopher Howard writes: > Under this guix commit, wpa_supplicant service fails to initialize, > which takes out networking also. > > ''' > root@eowyn ~# guix describe > Generation 2 Dec 17 2019 08:30:38 (current) > guix 328dd9b > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 328dd9b7c2030dfb66013e12f055b5b449c94007 > ''' > > From /var/log/messages: > > ''' > Dec 17 09:31:29 localhost wpa_supplicant[361]: dbus: Could not request > service name: already registered I suspect what happened is that you are using wpa-supplicant-service-type, and also added 'wpa-supplicant' to the (packages ...) field of your system configuration. The latter will include a D-Bus policy file for "fi.w1.wpa_supplicant1", which wpa-supplicant-service-type also tries to register. As a workaround, you can set (dbus? #f) in wpa-supplicant-configuration, or remove 'wpa-supplicant' from the system packages. If you want wpa-supplicant installed globally, you can use 'wpa-supplicant-minimal' instead. Can you confirm? Not sure how we can make this more robust. The easiest fix is probably to default to (dbus? #f); the only program I know that use the D-Bus interface is NetworkManager, which has its own service in Guix. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4ywZsACgkQoqBt8qM6 VPqh/QgAnUTsxlC3aFTyyYCrfyAdbaDKAVMRF+wlg63scP1L4SNzR07zKawNGY5c mj9Svd6JEchrBC7VsfD3Mp9QwnaBzIfR4uYOnpOI4XAmL3GL+Py9HdPE9bW36Yxx 3tSkcuqqXPw9lQlNbwxUNjHGBxvC4I5kxSmk9D3IPdyy51NAhsQ6jCAdRFSW2i3V LCvuZkcRTGijQu9BvHUBeXboYdm8xTAPJKNjNTZ3yewF+TBdCenCN9Ag25AfEx4J 2Prr2bz5Gp8khe4Df3JcNz0Mk9/X9jmi2oflPis7UKFJnRZ9SyK5NokmCDQ6LFBb 0I7Qx+T0K/dcYvUD+7AQqcBcteaVLg== =WiZs -----END PGP SIGNATURE----- --=-=-=--