From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#40572: installer networking: Connman detects no technologies on Acer Aspire Date: Mon, 13 Apr 2020 15:18:29 +0200 Message-ID: <87wo6jjzh6.fsf@gnu.org> References: <878sj1qcw7.fsf@gnu.org> <20200412120918.bcl5yc37f4fq2gzr@pelzflorian.localdomain> <87wo6klr2u.fsf@gmail.com> <20200412151454.m5xsma6ckltoqsb5@pelzflorian.localdomain> <87v9m4hafw.fsf@gmail.com> <20200412184329.itthwjjjwprhhhbg@pelzflorian.localdomain> <87blnvmzub.fsf@gnu.org> <20200413115721.mjdrelwvrdvhm7zc@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42206) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNyzP-0003Yc-LV for bug-guix@gnu.org; Mon, 13 Apr 2020 09:19:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNyzO-0008Q2-Ge for bug-guix@gnu.org; Mon, 13 Apr 2020 09:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47828) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jNyzO-0008Pw-Dq for bug-guix@gnu.org; Mon, 13 Apr 2020 09:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jNyzO-0008Ky-9Y for bug-guix@gnu.org; Mon, 13 Apr 2020 09:19:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20200413115721.mjdrelwvrdvhm7zc@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Mon, 13 Apr 2020 13:57:21 +0200") 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: "pelzflorian (Florian Pelz)" Cc: 40572@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Florian, (+Cc: Mathieu, who=E2=80=99s probably more familiar with Connman.) "pelzflorian (Florian Pelz)" skribis: > Nothing. However, by now I burned a new image to DVD with the > attached patch. But I realize my mistake now; due to dbus-daemon > eventually starting after networking failed, the logs are lost. I don=E2=80=99t think so, because currently shepherd opens #:log-file in ap= pend mode. So I believe everything is there. Nothing caught my eye in the log (but there=E2=80=99s a lot of stuff in the= re), except (but I don=E2=80=99t know if it=E2=80=99s relevant): 229: 0x7f98cd08d400: 1586778311.080442 [connection.c(2626):bus_transactio= n_send_error_reply] Sending error reply org.freedesktop.DBus.Error.ServiceU= nknown "The name net.connman was not provided by any .service files" And indeed, there=E2=80=99s no =E2=80=98.service=E2=80=99 file for that: --8<---------------cut here---------------start------------->8--- $ find $(guix build connman) -name \*.service /gnu/store/vclzrvbxac8ipc8g1ncq5gjjj8gdvxw3-connman-1.38/share/dbus-1/syste= m-services/net.connman.vpn.service --8<---------------cut here---------------end--------------->8--- The attach patch changes connman so that =E2=80=98net.connman.service=E2=80= =99 is installed. Does it make any difference? Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable diff --git a/gnu/packages/connman.scm b/gnu/packages/connman.scm index 5f17a0ea95..4a5c4e6d3c 100644 --- a/gnu/packages/connman.scm +++ b/gnu/packages/connman.scm @@ -4,6 +4,7 @@ ;;; Copyright =C2=A9 2017 Cl=C3=A9ment Lassieur ;;; Copyright =C2=A9 2017 Ricardo Wurmus ;;; Copyright =C2=A9 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice +;;; Copyright =C2=A9 2020 Ludovic Court=C3=A8s ;;; ;;; This file is part of GNU Guix. ;;; @@ -50,8 +51,18 @@ (method url-fetch) (uri (string-append "mirror://kernel.org/linux/network/connman/" "connman-" version ".tar.xz")) - (sha256 - (base32 "0awkqigvhwwxiapw0x6yd4whl465ka8a4al0v2pcqy9ggjlsqc6b")))) + (sha256 + (base32 "0awkqigvhwwxiapw0x6yd4whl465ka8a4al0v2pcqy9ggjlsqc6b")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Install the D-Bus 'net.connman.service' file. Note that we= 're + ;; patching something that is within an "if VPN", but that's OK + ;; since we build VPN support. + (substitute* "Makefile.in" + (("dbusservice_DATA =3D") + "dbusservice_DATA =3D src/net.connman.service ")) + #t)))) (build-system gnu-build-system) (arguments `(#:configure-flags --=-=-=--