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 19:11:19 +0200 Message-ID: <871rorgvk8.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> <87wo6jjzh6.fsf@gnu.org> <20200413150347.kaapjhmdwbhkij7t@pelzflorian.localdomain> <20200413155202.rjmnp4v2vnrpq3vc@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40533) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO2ct-0006Q7-3i for bug-guix@gnu.org; Mon, 13 Apr 2020 13:12:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO2cr-0006Vx-Tw for bug-guix@gnu.org; Mon, 13 Apr 2020 13:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49116) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jO2cr-0006Vr-R8 for bug-guix@gnu.org; Mon, 13 Apr 2020 13:12:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jO2cr-0006J7-Lz for bug-guix@gnu.org; Mon, 13 Apr 2020 13:12:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20200413155202.rjmnp4v2vnrpq3vc@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Mon, 13 Apr 2020 17:52:02 +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, It seems to me that the connman.service patch papers over the actual problem: "pelzflorian (Florian Pelz)" skribis: > Apr 13 17:21:29 localhost vmunix: [ 56.102520] shepherd[1]: Service uve= safb has been started. > Apr 13 17:21:33 localhost shepherd[1]: Service dbus-system could not be s= tarted.=20 > Apr 13 17:21:33 localhost shepherd[1]: Service networking depends on dbus= -system.=20 > Apr 13 17:21:33 localhost shepherd[1]: Service networking could not be st= arted.=20 [...] > Apr 13 17:21:38 localhost shepherd[1]: Service dbus-system could not be s= tarted.=20 > Apr 13 17:21:43 localhost shepherd[1]: Service dbus-system could not be s= tarted.=20 > Apr 13 17:21:43 localhost shepherd[1]: Service wpa-supplicant depends on = dbus-system.=20 > Apr 13 17:21:43 localhost shepherd[1]: Service wpa-supplicant could not b= e started.=20 > Apr 13 17:21:43 localhost shepherd[1]: Service loopback has been started.= =20 [...] > Apr 13 17:21:55 localhost shepherd[1]: Service dbus-system could not be s= tarted.=20 > Apr 13 17:21:55 localhost shepherd[1]: Service term-tty1 depends on dbus-= system.=20 > Apr 13 17:21:55 localhost shepherd[1]: Service term-tty1 could not be sta= rted.=20 > Apr 13 17:21:55 localhost shepherd[1]: Service console-font-tty1 depends = on term-tty1.=20 > Apr 13 17:21:55 localhost shepherd[1]: Service console-font-tty1 could no= t be started.=20 > Apr 13 17:21:55 localhost shepherd[1]: Service host-name has been started= .=20 [...] > Apr 13 17:22:20 localhost shepherd[1]: Service console-font-tty2 has been= started.=20 > Apr 13 17:22:20 localhost shepherd[1]: Service host-name has been started= .=20 > Apr 13 17:22:20 localhost shepherd[1]: Service term-tty3 has been started= .=20 > Apr 13 17:22:20 localhost shepherd[1]: Service console-font-tty3 has been= started.=20 > Apr 13 17:22:20 localhost shepherd[1]: Service host-name has been started= .=20 > Apr 13 17:22:20 localhost shepherd[1]: Service term-tty4 has been started= .=20 > Apr 13 17:22:20 localhost shepherd[1]: Service console-font-tty4 has been= started.=20 > Apr 13 17:22:20 localhost shepherd[1]: Service host-name has been started= .=20 > Apr 13 17:22:20 localhost shepherd[1]: Service term-tty5 has been started= .=20 > Apr 13 17:22:20 localhost shepherd[1]: Service console-font-tty5 has been= started.=20 > Apr 13 17:22:20 localhost shepherd[1]: Service host-name has been started= .=20 > Apr 13 17:22:20 localhost shepherd[1]: Service term-tty6 has been started= .=20 > Apr 13 17:22:20 localhost shepherd[1]: Service console-font-tty6 has been= started.=20 > Apr 13 17:22:20 localhost shepherd[1]: Service guix-daemon has been start= ed.=20 > Apr 13 17:22:21 localhost shepherd[1]: Service dbus-system has been start= ed.=20 > Apr 13 17:22:21 localhost shepherd[1]: Service term-tty1 has been started= .=20 In my VM, =E2=80=98dbus-system=E2=80=99 starts just fine the first time, bu= t I also noticed that =E2=80=98host-name=E2=80=99 is started before =E2=80=98dbus-sy= stem=E2=80=99. So, could you move away the connman.service patch and try instead the attached patch. It=E2=80=99ll create /dbus.trace.* files, which should all= ow us to see how dbus-daemon stopped. TIA! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/services/dbus.scm b/gnu/services/dbus.scm index 7b3c8100e2..a291ac402e 100644 --- a/gnu/services/dbus.scm +++ b/gnu/services/dbus.scm @@ -25,6 +25,7 @@ #:use-module ((gnu packages glib) #:select (dbus)) #:use-module (gnu packages polkit) #:use-module (gnu packages admin) + #:use-module (gnu packages linux) #:use-module (guix gexp) #:use-module ((guix packages) #:select (package-name)) #:use-module (guix records) @@ -186,9 +187,15 @@ includes the @code{etc/dbus-1/system.d} directories of each package listed in (list (shepherd-service (documentation "Run the D-Bus system daemon.") (provision '(dbus-system)) - (requirement '(user-processes syslogd)) + (requirement '(user-processes syslogd)) ;<- add 'host-name' and/or 'nscd' (start #~(make-forkexec-constructor - (list (string-append #$dbus "/bin/dbus-daemon") + (list #$(file-append strace "/bin/strace") + "-o" + (let ((t (gettimeofday))) + (format #f "/dbus.trace.~a.~a" + (car t) (cdr t))) + "-s" "500" "-f" + (string-append #$dbus "/bin/dbus-daemon") "--nofork" "--system" "--syslog-only") #:pid-file "/var/run/dbus/pid")) (stop #~(make-kill-destructor))))))) --=-=-=--