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: Tue, 14 Apr 2020 00:25:34 +0200 Message-ID: <8736972fc1.fsf@gnu.org> References: <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> <871rorgvk8.fsf@gnu.org> <20200413181415.6pgj63zcew3bkkma@pelzflorian.localdomain> <20200413215646.wduvdya6rqhr4h4r@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46846) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO7Wl-0006Rd-BG for bug-guix@gnu.org; Mon, 13 Apr 2020 18:26:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO7Wk-0006md-D9 for bug-guix@gnu.org; Mon, 13 Apr 2020 18:26:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49477) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jO7Wk-0006mZ-A8 for bug-guix@gnu.org; Mon, 13 Apr 2020 18:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jO7Wk-0005YY-72 for bug-guix@gnu.org; Mon, 13 Apr 2020 18:26:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20200413215646.wduvdya6rqhr4h4r@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Mon, 13 Apr 2020 23:56:46 +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 "pelzflorian (Florian Pelz)" skribis: > Here is the only trace file in /. Argh, I just realized that the patch I sent you would actually keep using the same file name for strace, even when dbus-daemon restarts. :-/ Apologies for the mistake. The attached patch should do the right thing: it will append the dbus-daemon PID to /dbus.trace. If you could test it, that=E2=80=99d be great. I guess I=E2=80=99ll owe yo= u a couple of beverages of your choice when we meet in real life! 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..7f506a16c5 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,12 @@ 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" "/dbus.trace" + "-s" "500" "-ff" + (string-append #$dbus "/bin/dbus-daemon") "--nofork" "--system" "--syslog-only") #:pid-file "/var/run/dbus/pid")) (stop #~(make-kill-destructor))))))) --=-=-=--