From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewWFc-00062d-6R for guix-patches@gnu.org; Thu, 15 Mar 2018 13:01:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ewWFS-0004Ti-S5 for guix-patches@gnu.org; Thu, 15 Mar 2018 13:01:12 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55681) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ewWFS-0004TS-Mk for guix-patches@gnu.org; Thu, 15 Mar 2018 13:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ewWFS-0002em-5v for guix-patches@gnu.org; Thu, 15 Mar 2018 13:01:02 -0400 Subject: bug#30498: [PATCH 0/3] Log to syslog whenever possible Resent-To: guix-patches@gnu.org Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87371ea2jj.fsf@gnu.org> <20180307110454.17110-1-ludo@gnu.org> Date: Thu, 15 Mar 2018 18:00:11 +0100 In-Reply-To: <20180307110454.17110-1-ludo@gnu.org> ("Ludovic \=\?utf-8\?Q\?Cou\?\= \=\?utf-8\?Q\?rt\=C3\=A8s\=22's\?\= message of "Wed, 7 Mar 2018 12:04:51 +0100") Message-ID: <87h8phtgtg.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30498-done@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s skribis: > Turn 'log-output-port' into a parameter. > Simplify 'make-shepherd-output-port'. > Use syslog for logging when running as root. Pushed! For the record, this can be tested on GuixSD by running =E2=80=9Cmake dist= =E2=80=9D in the Shepherd and then applying something like the patch below in Guix: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index ad31bc498..04cb69e1b 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -47,6 +47,7 @@ #:use-module (guix build-system perl) #:use-module (guix build-system python) #:use-module (guix build-system trivial) + #:use-module (guix gexp) #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages check) @@ -159,16 +160,8 @@ and provides a \"top-like\" mode (monitoring).") (define-public shepherd (package (name "shepherd") - (version "0.3.2") - (source (origin - (method url-fetch) - (uri (string-append "ftp://alpha.gnu.org/gnu/dmd/shepherd-" - version ".tar.gz")) - (sha256 - (base32 - "174q1qg7yg6w1hfvlfv720hr6hid4h5xzw15y3ycfpspllzldhcb")) - (patches (search-patches "shepherd-close-fds.patch" - "shepherd-herd-status-sorted.patch")))) + (version "0.3.3") + (source (local-file "/data/src/shepherd/shepherd-0.3.2.tar.gz")) (build-system gnu-build-system) (arguments '(#:configure-flags '("--localstatedir=/var"))) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 DQpMdWRv4oCZLg0K --=-=-=--