From unknown Tue Jun 17 20:20:52 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#47905 <47905@debbugs.gnu.org> To: bug#47905 <47905@debbugs.gnu.org> Subject: Status: gnu: Add rasdaemon. Reply-To: bug#47905 <47905@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:20:52 +0000 retitle 47905 gnu: Add rasdaemon. reassign 47905 guix-patches submitter 47905 elaexuotee@wilsonb.com severity 47905 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 00:23:52 2021 Received: (at submit) by debbugs.gnu.org; 20 Apr 2021 04:23:52 +0000 Received: from localhost ([127.0.0.1]:52543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYhvL-0003hs-KP for submit@debbugs.gnu.org; Tue, 20 Apr 2021 00:23:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:53764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYhvG-0003hh-7l for submit@debbugs.gnu.org; Tue, 20 Apr 2021 00:23:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYhvG-0000pE-2I for guix-patches@gnu.org; Tue, 20 Apr 2021 00:23:38 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:46441) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYhvC-0007PP-6s for guix-patches@gnu.org; Tue, 20 Apr 2021 00:23:37 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1618892613; h=Content-Type: MIME-Version: Message-Id: Subject: From: To: Date: Sender; bh=RmOwPdUBoD5sgtplAKQj75li8AAfYbC0WD3JUSbhHdk=; b=BZtH9Fwy/DOrL5FQANrelJaSOCmFHyEhrcs4/78qbXJEJqnniGHlW72Z36nPj/I/1PIrwBCt 9oDW6u5hhoQP700KwihFtU4NuVOgRPer6TWh49Z6dtH7xYSY/GDGQxntQ3BoAGbsdWFDoCQZ 6b25a/2rk7zYgbBL5tbUdzAlkTL/StXUx1uNKocJr+2iBgkcPHOOxOgMPUhBwC0WEIdgcgxO hhYNH3A72wXRbutZi4Vdzk3e5n++MfHytjESAiQh8tA1Q6AGy7RJ+P4BCQOzedZaUekUfpHa Tctf3h3nbOaa+3PiO7ylSGNjN0XtN+OXjuHrwva1HU/TuS/No10WuQ== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyI5MmEzMyIsICJndWl4LXBhdGNoZXNAZ251Lm9yZyIsICIwODU0N2EiXQ== Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n01.prod.us-east-1.postgun.com with SMTP id 607e574387ce1fbb56ccb9ec (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Tue, 20 Apr 2021 04:23:31 GMT Received: from localhost (x108155.dynamic.ppp.asahi-net.or.jp [122.249.108.155]) by wilsonb.com (Postfix) with ESMTPSA id 970E4A3269 for ; Tue, 20 Apr 2021 04:23:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1618892609; bh=RmOwPdUBoD5sgtplAKQj75li8AAfYbC0WD3JUSbhHdk=; h=Date:To:From:Subject:From; b=4QTIfG0rhnjXmRTeP7LKbWQWRssIwzpDLcKtKc8MGk7wEtBU68y6rFHuuShhnwwij fqfQ7b4epvSGMuUanyBCYS4iN3g/w/M5XxYj808OGNOO6nv707r16l+BcBkaPf5uaX XwO3jmQWN7nkDye1fiqcJXMCkkfitzZik2+0v4EKU/zMjuVaviIRNExmECOV5g8VBA tYuGMRHyF1LAsxulC6e8HV6kmJ/Do1XWwVjdeoICwSR3M2oSvmCuU3XY8PXkOa7qM6 3uk6pL2Ck7XUt06cVNl3x+sCtGEXSttajjVJoM3et7V5Xun1Ik6aRmkoOB1Fkli63P PSiIY0LsefSsHd3+5KrcIFH0Au+2ZjqPAND7hHWepfZZKwbCVb5IvExn/hN2VLrc8q LV+3CBJiGwaFQ8+cdq16jsIEUb6gDEPaGiuVnoDgi+3aZVS/fIgkFYP8dwSsR+E+jC o77JnxSpxuDXU+gSAJM5ba4ntJUHuWY7pmibdONHZnb6iEjjOVWNZBs/mnggIHaLwJ +DIw9pM/CMfn9zqB47qwn0RSE2FrGRPo5M3uLYEx7p/btUhG6M0o6imCF0a5oNHllp G6x3c8NLo/X+Pf/FrP4QBaRLzawlgh/4aQ+z2xL+ss9jzkSSIjMceEX1+B8aATbwQ3 yQ9SuvufQmiZBbTGXeyCawPE= Date: Tue, 20 Apr 2021 13:24:37 +0900 To: guix-patches@gnu.org From: elaexuotee@wilsonb.com Subject: gnu: Add rasdaemon. Message-Id: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> User-Agent: mblaze/1.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_743bcd69150b553b6c7dd9f5_=_" Received-SPF: pass client-ip=69.72.42.5; envelope-from=bounce+686de0.08547a-guix-patches=gnu.org@mg.wilsonb.com; helo=m42-5.mailgun.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is a multipart message in MIME format. ------_=_743bcd69150b553b6c7dd9f5_=_ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This is my first patch to gnu/services (and by inclusion doc/guix.texi), so= please scrutinize with abandon! I did all the standard sanity checks for the package definition (guix lint,= etc/indent-code.el, guix build --check); however, I wasn't sure about the service, so the sanity checks were limited to testing in a vm. Cheers! ------_=_743bcd69150b553b6c7dd9f5_=_ Content-Disposition: attachment; filename=0001-gnu-Add-rasdaemon.patch Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable =46rom 1d4e60a9578d3572bf1caff11d0b17e4bc8f1ea9 Mon Sep 17 00:00:00 2001 =46rom: "B. Wilson" =44ate: Tue, 20 Apr 2021 11:49:26 +0900 =53ubject: [PATCH] gnu: Add rasdaemon. =54o: guix-patches@gnu.org =0A* gnu/packages/linux.scm (rasdaemon): New variable. =2A gnu/services/linux.scm (rasdaemon-configuration) =20 (rasdaemon-configuration?, rasdaemon-configuration-record?) =20 (rasdaemon-service-type): New variables. =2A doc/guix.texi (Linux Services): Document it. =2D-- =20doc/guix.texi | 29 +++++++++++++++++++++++++ =20gnu/packages/linux.scm | 45 ++++++++++++++++++++++++++++++++++++++ =20gnu/services/linux.scm | 49 ++++++++++++++++++++++++++++++++++++++++++ =203 files changed, 123 insertions(+) =0Adiff --git a/doc/guix.texi b/doc/guix.texi =69ndex 58bcfbdbb5..73479b8fcf 100644 =2D-- a/doc/guix.texi =2B++ b/doc/guix.texi =40@ -88,6 +88,7 @@ Copyright @copyright{} 2020 John Soo@* =20Copyright @copyright{} 2020 Jonathan Brielmaier@* =20Copyright @copyright{} 2020 Edgar Vincent@* =20Copyright @copyright{} 2021 Maxime Devos@* =2BCopyright @copyright{} 2021 B. Wilson@* =20= =20Permission is granted to copy, distribute and/or modify this document =20under the terms of the GNU Free Documentation License, Version 1.3 or =40@ -31457,6 +31458,34 @@ parameters, can be done as follow: =20@end lisp =20@end deffn =20= =2B@cindex rasdaemon =2B@cindex Platform Reliability, Availability and Serviceability daemon =2B@subsubheading Rasdaemon Service =2B =2BThe Rasdaemon service provides a monitor for Platform Reliability, =2BAvailability, and Serviceability (RAS) events in the Linux kernel. =2B =2B@defvr {Scheme Variable} rasdaemon-service-type =2BService type for the @command{rasdaemon} service. It accepts a =2B@code{rasdaemon-configuration} object. Instantiating like =2B =2B@lisp =2B(service rasdaemon-service-type) =2B@end lisp =2B =2Bwill load with a default configuration. =2B@end defvr =2B =2B@deftp {Data Type} rasdaemon-configuration =2BThe data type representing the configuration of @command{rasdaemon}. =2B =2B@table @asis =2B@item @code{record?} (default: @code{#f}) =2BA boolean indicating whether to record the events in an SQLite database.= =20 The =2Bdatabase location is hard-coded to @file{/var/lib/rasdaemon/ras-mc_event= =2Edb}. =2B@end table =2B@end deftp =2B =20@cindex zram =20@cindex compressed swap =20@cindex Compressed RAM-based block devices =64iff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm =69ndex 1ea9d80834..fe464bcc8e 100644 =2D-- a/gnu/packages/linux.scm =2B++ b/gnu/packages/linux.scm =40@ -53,6 +53,7 @@ =20;;; Copyright =C2=A9 2020 Zhu Zihao =20;;; Copyright =C2=A9 2020 David Dashyan =20;;; Copyright =C2=A9 2020 pukkamustard =2B;;; Copyright =C2=A9 2021 B. Wilson =20;;; =20;;; This file is part of GNU Guix. =20;;; =40@ -130,6 +131,7 @@ =20 #:use-module (gnu packages sdl) =20 #:use-module (gnu packages serialization) =20 #:use-module (gnu packages slang) =2B #:use-module (gnu packages sqlite) =20 #:use-module (gnu packages texinfo) =20 #:use-module (gnu packages tls) =20 #:use-module (gnu packages valgrind) =40@ -8037,3 +8039,46 @@ kernel side implementation.") =20read-only file system optimized for resource-scarce devices. This packa= =67e =20provides user-space tools for creating EROFS file systems.") =20 (license license:gpl2+))) =2B =2B(define-public rasdaemon =2B (package =2B (name "rasdaemon") =2B (version "0.6.6") =2B (source =2B (origin =2B (method git-fetch) =2B (uri (git-reference =2B (url "https://github.com/mchehab/rasdaemon") =2B (commit (string-append "v" version)))) =2B (file-name (git-file-name name version)) =2B (sha256 =2B (base32 "13g39x19lfjf9izdcb0nlyfjrgpliivhv4nw3ndgyzi59l3yqc0v"))= =29) =2B (native-inputs `(("autoconf" ,autoconf) =2B ("automake" ,automake) =2B ("libtool" ,libtool))) =2B (inputs `(("sqlite" ,sqlite))) =2B (arguments =2B `(#:configure-flags '("--enable-all" =2B "--localstatedir=3D/var") =2B #:phases =2B (modify-phases %standard-phases =2B (add-before 'configure 'munge-autotools =2B (lambda _ =2B ;; For some reason upstream forces sysconfdir=3D/etc. This= =20results =2B ;; in EPERM during the install phase. Removing the offendi= =6Eg =2B ;; line lets sysconfdir correctly pick up DESTDIR. =2B (substitute* "configure.ac" =2B (("^test .* sysconfdir=3D/etc\n$") "")) =2B ;; Upstream tries to create /var/lib/rasdaemon at install t= =69me. =2B ;; This results in EPERM on guix. Instead, the service sho= =75ld =2B ;; create this at activation time. =2B (substitute* "Makefile.am" =2B (("^\\s*\\$\\(install_sh\\) -d .*@RASSTATEDIR@.*$") "")))= =29))) =2B (build-system gnu-build-system) =2B (home-page "https://github.com/mchehab/rasdaemon") =2B (synopsis "Platform Reliability, Availability and Serviceability too= =6Cs") =2B (description "The @code{rasdaemon} program is a daemon which monitor= =73 the =2Bplatform Reliablity, Availability and Serviceability (RAS) reports from = =74he =2BLinux kernel trace events. These trace events are logged in =2B/sys/kernel/debug/tracing, reporting them via syslog/journald.") =2B (license license:gpl2+))) =64iff --git a/gnu/services/linux.scm b/gnu/services/linux.scm =69ndex 340b330030..01723efc07 100644 =2D-- a/gnu/services/linux.scm =2B++ b/gnu/services/linux.scm =40@ -3,6 +3,7 @@ =20;;; Copyright =C2=A9 2020 Brice Waegeneire =20;;; Copyright =C2=A9 2020 Efraim Flashner =20;;; Copyright =C2=A9 2021 raid5atemyhomework =2B;;; Copyright =C2=A9 2021 B. Wilson =20;;; =20;;; This file is part of GNU Guix. =20;;; =40@ -47,6 +48,11 @@ =20= =20 kernel-module-loader-service-type =20= =2B rasdaemon-configuration =2B rasdaemon-configuration? =2B rasdaemon-configuration-record? =2B rasdaemon-service-type =2B =20 zram-device-configuration =20 zram-device-configuration? =20 zram-device-configuration-size =40@ -188,6 +194,49 @@ representation." =20 (extend append) =20 (default-value '()))) =20= =2B=0C =2B;;; =2B;;; Reliability, Availability, and Servicability (RAS) daemon =2B;;; =2B =2B(define-record-type* =2B rasdaemon-configuration make-rasdaemon-configuration =2B rasdaemon-configuration? =2B (record? rasdaemon-configuration-record? (default #f))) =2B =2B(define (rasdaemon-configuration->command-line-args config) =2B "Translate to its command line arguments =2B representation" =2B (let ((record? (rasdaemon-configuration-record? config))) =2B `(,(file-append rasdaemon "/sbin/rasdaemon") =2B "--foreground" ,@(if record? '("--record") '())))) =2B =2B(define (rasdaemon-activation config) =2B (let ((record? (rasdaemon-configuration-record? config)) =2B (rasdaemon-dir "/var/lib/rasdaemon")) =2B (with-imported-modules '((guix build utils)) =2B #~(if #$record? (mkdir-p #$rasdaemon-dir))))) =2B =2B(define (rasdaemon-shepherd-service config) =2B (shepherd-service =2B (documentation "Run rasdaemon") =2B (provision '(rasdaemon)) =2B (start #~(make-forkexec-constructor =2B '#$(rasdaemon-configuration->command-line-args config) =2B #:log-file "/var/log/rasdaemon.log")) =2B (stop #~(make-kill-destructor)))) =2B =2B(define rasdaemon-service-type =2B (service-type =2B (name 'rasdaemon) =2B (default-value (rasdaemon-configuration)) =2B (extensions =2B (list (service-extension shepherd-root-service-type =2B (compose list rasdaemon-shepherd-service)) =2B (service-extension activation-service-type rasdaemon-activatio= =6E))) =2B (compose concatenate) =2B (description "Run @command{rasdaemon}, the RAS monitor"))) =2B =20=0C =20;;; =20;;; Kernel module loader. =2D-=20 =32.31.1 =0A= ------_=_743bcd69150b553b6c7dd9f5_=_-- From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 01:04:58 2021 Received: (at submit) by debbugs.gnu.org; 20 Apr 2021 05:04:58 +0000 Received: from localhost ([127.0.0.1]:52608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYiZG-0006z8-Gj for submit@debbugs.gnu.org; Tue, 20 Apr 2021 01:04:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:33886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYiZC-0006yy-0U for submit@debbugs.gnu.org; Tue, 20 Apr 2021 01:04:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYiZB-0006ZW-Rx for guix-patches@gnu.org; Tue, 20 Apr 2021 01:04:53 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:43621) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYiZA-000864-Ak for guix-patches@gnu.org; Tue, 20 Apr 2021 01:04:53 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 7414C28FB; Tue, 20 Apr 2021 01:04:50 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 20 Apr 2021 01:04:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=E/DzO35+GR0Bbv7jpF+Ewq4X s82vlu6xRkkSGTwVn2Y=; b=sdeux1wpbRFS8GWRgkIQAZ2ef94dIyQnDwExEMnG 7vb//LohOyYgxtfJCvOOhMTvY9oUTVfjPcwNB675WyDS+eurKe508JxzYxhZzIm1 u3Gf8AyKkvpqBdUXwgxwBSAsBlwjSgRU26RyLCI2W4XxN1nxGGMTD7v+MY+U7MRZ dWs= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=E/DzO3 5+GR0Bbv7jpF+Ewq4Xs82vlu6xRkkSGTwVn2Y=; b=WfcbUuj8EXVsRVFilJ14zg ZNs9dcYg+kE+PQJtZ6ROfE8SOKbTbQ8XYyJCZUfoquYhkRGhrrmjahSFt3R6wq1k Yx5SgWkXCa+iSkeeC2nwOJVRTnka/ILi3elQ5IoixGGuka3RDi0Uw5pxsz6u1cTP lzFInIH8bN+GbUiogeBtxHSd5DRZ320ngROpR7xnK3bK+V319+D6fuqAwNx4S4Ki R/s+Fr91iZhPytzWgkQ6scvk9WZxGU79xQ72GztGyvdzH0m4JdopiwiFAuaJQZ+d dGrLbOjT+XgiMtRRcQFcQDqJgjIYIKzpLtahOqrzfeuPhNU3DViHTyJ2J2j574iQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddthedgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeeukeektdffvddtudegjeegtdevhfeufeeivdejiedtieegtdevjedvjeehffev gfenucfkphepuddttddruddurdduieelrdduudeknecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 894C3108005B; Tue, 20 Apr 2021 01:04:49 -0400 (EDT) Date: Tue, 20 Apr 2021 01:04:48 -0400 From: Leo Famulari To: elaexuotee--- via Guix-patches via Subject: Re: [bug#47905] gnu: Add rasdaemon. Message-ID: References: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> Received-SPF: pass client-ip=64.147.123.19; envelope-from=leo@famulari.name; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 47905@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) On Tue, Apr 20, 2021 at 01:24:37PM +0900, elaexuotee--- via Guix-patches via wrote: > This is my first patch to gnu/services (and by inclusion doc/guix.texi), so > please scrutinize with abandon! > > I did all the standard sanity checks for the package definition (guix lint, > etc/indent-code.el, guix build --check); however, I wasn't sure about the > service, so the sanity checks were limited to testing in a vm. Thanks for letting us know how you tested it. That's really valuable for reviewers. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 01:07:40 2021 Received: (at 47905) by debbugs.gnu.org; 20 Apr 2021 05:07:40 +0000 Received: from localhost ([127.0.0.1]:52616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYibs-00079Z-Ca for submit@debbugs.gnu.org; Tue, 20 Apr 2021 01:07:40 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:54165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYibr-00079K-8f for 47905@debbugs.gnu.org; Tue, 20 Apr 2021 01:07:39 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 8D528234D; Tue, 20 Apr 2021 01:07:33 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 20 Apr 2021 01:07:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=jXEnfAGkMbjPxzztkhQ0t2U+ ChVfu5QL+7euYQ7fZ4k=; b=iDp1bKp1gxdoFdw+5PKl+Kns8SCteaCqhHZfW3ri DtdHBqmXGYqoRcJHuN3pW32IBDM/l4/BFRpWPj817SvjHc7PYNOUw5VhNnRECdoS y7MXUCNse6m7L4PTe0kde3083FR1IKqVtFwk6SzID30HGm/RCrPpditf/iKLWBGV frg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=jXEnfA GkMbjPxzztkhQ0t2U+ChVfu5QL+7euYQ7fZ4k=; b=l/7eWBszAnBnoOeu2K4av8 sBgAMww8twCRP4XhkYvX9IInH6zrA/Y/wRRrWKNN/9A8AUPY7kIlSBPkL26qhMa6 0TsrlrqEFf3ylR1nTVaZRKThfb3NDxxywvmEUpEq0IiEXSQahao73LMNEcpMqzcM npbDWf20ESBdT8JGTvXuEjDxkTAVx3HitxAhJRoOiE/VDGTJ2FqsaiyrYJ7ePcmW PC8XOo51LnI+7rl1WTJuuNSGY7+MaWV0gIoF0dIlgQehDOULtWEkMOUNETybBq6U pmibkRYQ0/u2BRszu7mFTuqUlkBNMfc44veGpNX1cqHMGMp9T6KLYWa794gNrk8g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddthedgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepueekkedtffdvtddugeejgedtvefhue efiedvjeeitdeigedtveejvdejheffvefgnecukfhppedutddtrdduuddrudeiledruddu keenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvg hosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id A68991080063; Tue, 20 Apr 2021 01:07:32 -0400 (EDT) Date: Tue, 20 Apr 2021 01:07:31 -0400 From: Leo Famulari To: elaexuotee@wilsonb.com Subject: Re: [bug#47905] gnu: Add rasdaemon. Message-ID: References: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47905 Cc: 47905@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Apr 20, 2021 at 01:24:37PM +0900, elaexuotee--- via Guix-patches via wrote: > +(define-public rasdaemon Overall LGTM. > + (license license:gpl2+))) I checked the license headers of the ras-*.c files. Some of them are GPL2+, and some are GPL2 only. I think that we should mark it GPL2 only, based on that. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 01:31:04 2021 Received: (at 47905) by debbugs.gnu.org; 20 Apr 2021 05:31:04 +0000 Received: from localhost ([127.0.0.1]:52724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYiyW-0007xq-9r for submit@debbugs.gnu.org; Tue, 20 Apr 2021 01:31:04 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:42213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYiyS-0007xJ-FN for 47905@debbugs.gnu.org; Tue, 20 Apr 2021 01:31:03 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 5CF103C29; Tue, 20 Apr 2021 01:30:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 20 Apr 2021 01:30:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=nR5jtjMvjEpGXbIEJPvKCgCk z+d6DW/6eWEh8DTN59I=; b=c9rSNucIMny/YCNl2W+Mmc7rSd7rVudGN+SETglK L3SqH03XDC1T1tvj1GjJrCrdsCwK1LNJQtE4aGTHSO6Ee7USpG0oOw0qUnQpRgz0 lf5si7TIEVlhG4uK6yVObNQF4RI1/kpkEdR7uqJKAatabsZYte90Wz2hyy92tI4q dJ8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=nR5jtj MvjEpGXbIEJPvKCgCkz+d6DW/6eWEh8DTN59I=; b=ePHNbOPB36+mAWETT3NxUn tUauwP3pqoiCBQ6TpDmPATaW2lwjd597QctkeB3SoNvO35/E9jzrXhCOtMY4GfxZ wHZD+OE3PG0W9trgwEGQd7BH5k4Z1WykRGBuWbgdUffis6m/vs97sMw4707IRF/l lGB5O6n2SYO0PWWWKxtWOGc9sMFy3BFTCPQY9OvwSoIUXh+KppkjF3rsugBe3rZg 9npXbvmETQZ1BpaC3Vu4OohqnA4jcBbG3N7AROT3cW2DjNl3fKlqQiqLQZYskNdH GB7P5xMPZWsdXLmCYyBa3F33cjLAvTSUuz39drDG3eeDEkybRFd+ihbSwNUQfW0w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddthedgleejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepueekkedtffdvtddugeejgedtvefhue efiedvjeeitdeigedtveejvdejheffvefgnecukfhppedutddtrdduuddrudeiledruddu keenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvg hosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 4B6A61080063; Tue, 20 Apr 2021 01:30:53 -0400 (EDT) Date: Tue, 20 Apr 2021 01:30:51 -0400 From: Leo Famulari To: elaexuotee@wilsonb.com Subject: Re: [bug#47905] gnu: Add rasdaemon. Message-ID: References: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47905 Cc: 47905@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Apr 20, 2021 at 01:24:37PM +0900, elaexuotee--- via Guix-patches via wrote: > * doc/guix.texi (Linux Services): Document it. It could be added to Monitoring Services instead. Although, RAS is Linux-only, so I leave that decision up to you. > +@cindex rasdaemon > +@cindex Platform Reliability, Availability and Serviceability daemon > +@subsubheading Rasdaemon Service > + > +The Rasdaemon service provides a monitor for Platform Reliability, > +Availability, and Serviceability (RAS) events in the Linux kernel. It would be nice to link to some upstream documentation of RAS, as we do for the documentation of the Zram Device Service. I think it could also be improved with addition of one or two sentences about how to make use of the service. As logging appears to be disabled by default, how are users expected to learn of the events monitored by rasdaemon? After writing that, I looked at rasdaemon-shepherd-service and see that it keeps a log file. Is that the same data as the optional SQLite database, but unstructured? Overall, the docs should clarify this :) From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 01:33:31 2021 Received: (at 47905) by debbugs.gnu.org; 20 Apr 2021 05:33:31 +0000 Received: from localhost ([127.0.0.1]:52729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYj0s-00081V-NC for submit@debbugs.gnu.org; Tue, 20 Apr 2021 01:33:30 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:46581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYj0r-00081G-NY for 47905@debbugs.gnu.org; Tue, 20 Apr 2021 01:33:30 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id CCA6B2BDD; Tue, 20 Apr 2021 01:33:23 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 20 Apr 2021 01:33:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=MIfurqbl5sp1ef2eqBrLPa/a X1hdcKAOsQeMIEXxssk=; b=yrUw8IA72VqhFHrgvtzwT/ZbGcoF8k2uedfqZKNK AX2AZdQvs/qcj00NytsGCMm3ZHvEZ6VOUisXtWjU/mYoQhjVzNltBGG989iHXWHz v598lLnbPH4XkYyB6jx3VN/k0ABrmIzEgUV0UUUUbci+zP7CaB83XhKh6MQrOfPI ZEw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=MIfurq bl5sp1ef2eqBrLPa/aX1hdcKAOsQeMIEXxssk=; b=gSffmmjLmTyu3jKB2k2abH 9RNgGbgsQauDl+Z177/AOIweu1f4aprm6hzUU3D95NBkWBQy2fT9T2FYveSAzV4j bie/5W+477+yi2ieN6YvIf7kZhi/OgLv3RvM7elgefXUUhZAh/WORR6ZDmDCbQc3 JFSat8pm4JAPKa4itDrFP2r5oLqjdWraHy5nZPrXXWKp8/pWGCR0B0Hnais9DerL mhRfC0IWGcM2H46L5HNEraFDn05vMvb7GDwdANrNFsbJW9fpR2x48VxL2rNtFQsg T8/cvM/FxBwpJTqpHqmVagdod+1Jk+ISEjsJuf+GufglOQgUBPD+doqpfy7nO+kg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddthedgleejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepueekkedtffdvtddugeejgedtvefhue efiedvjeeitdeigedtveejvdejheffvefgnecukfhppedutddtrdduuddrudeiledruddu keenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvg hosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id F323B24005E; Tue, 20 Apr 2021 01:33:22 -0400 (EDT) Date: Tue, 20 Apr 2021 01:33:21 -0400 From: Leo Famulari To: elaexuotee@wilsonb.com Subject: Re: [bug#47905] gnu: Add rasdaemon. Message-ID: References: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47905 Cc: 47905@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Apr 20, 2021 at 01:24:37PM +0900, elaexuotee--- via Guix-patches via wrote: > +;;; > +;;; Reliability, Availability, and Servicability (RAS) daemon Typo -------------------------------> Serviceability Otherwise, this LGTM. I'm no expert on Guix services but this one seems simple and straightforward. You mentioned that you tested in a VM. What should I look for in the VM to verify that the service is working? From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 01:53:57 2021 Received: (at 47905) by debbugs.gnu.org; 20 Apr 2021 05:53:57 +0000 Received: from localhost ([127.0.0.1]:52741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYjKe-0008VU-Ns for submit@debbugs.gnu.org; Tue, 20 Apr 2021 01:53:57 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:36069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYjKZ-0008VD-AQ for 47905@debbugs.gnu.org; Tue, 20 Apr 2021 01:53:55 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1618898031; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-Id: In-Reply-To: References: Subject: From: Cc: To: Date: Sender; bh=xcbBvYhPrZnR2juOsiIW82mTCrDsqtWJyU+NLtO7Ro4=; b=jlaEJqtH7niBmDFCRdVIjgzwr33xXi/sRUNvpRQj5YoUNfX6espdtSvwbzl+Xc03BbZ12WUa 9IycB4vVxvf0y64admRdM9yHqWiqO6CnKYz6pvh7XLLfImjnRGFmKICxMqt1OYopqrC7Ldo1 ZhuzQo8/dUpInO9GYVTmG5vihH5TYW/8thVqwWDtPPct9nFeyb+Ty9TE9N5PNf41pbfDOn6R PNq3y+Os44wqtKLpP2hXeF6fOlRoyDarSBoSX7/qc6QLAVdPsJqFp++e4RB+4q5EtohsJs/o 6iROUs45trJxp9wbJW8Y37w7SA48lO+Dr1wKS9XIpCTumhSlkiL0uw== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyI1NGFiNSIsICI0NzkwNUBkZWJidWdzLmdudS5vcmciLCAiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n07.prod.us-west-2.postgun.com with SMTP id 607e6c692cc44d3aeaf033a3 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Tue, 20 Apr 2021 05:53:45 GMT Received: from localhost (x108155.dynamic.ppp.asahi-net.or.jp [122.249.108.155]) by wilsonb.com (Postfix) with ESMTPSA id A4FE3A326E; Tue, 20 Apr 2021 05:53:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1618898023; bh=xcbBvYhPrZnR2juOsiIW82mTCrDsqtWJyU+NLtO7Ro4=; h=Date:To:Cc:From:Subject:References:In-Reply-To:From; b=n5pmUxvd90XBCGy+Lqb+Ca5EPshwSHjSg+WdknDATGrnV0GLonkRsD1zYcdzE/Sp2 bGuV+9h8b7+JlllLEuL0kYHHQozProkRlOwOs8AN13Exh4KKSklRcoP4cc8JflwBVA yWU5MOmwi2TYpQA3U8sh1TQsB9YjwUfpAjykdP/glHYDpKC69/kzB85CjbytOB4vc3 WyZ20MH74KLftO9IlH/wG78fwMw1Xb0DX2F3/ppm1i9vaHSMapnnbzfhL1oYvM3nOV 8j4e0cD4CrBZ0h5Hf1tSej8XgOywwvgG2MqlMzTIdOf64nfzC2PFHGr6IHF6DiRpZU +y2eEtSm+ms1B+oWZOJyHEkMg33a6tEuGhf/ZDjxWNS9qlBiwK2JEDeKnCFJcirJh+ IwFcqx1AL1tkN2Os4Xx3gkMUdTnWxFZn8IGOQ0BAuJXfjTKPXmqvYHJR59dnHDCvZ3 SpEkWyIIIQtqgG7ZShehlLxuzBuWcne4V2TLXGQ7Suaz1/N9irLghToRyKeSqkbIAm TmWi94QzOaSevOGxdyHqXDQaCu5qyVfzuj6GgJLjNzZqGVThwzVygBLRSIm5RuiseV QvU4BjrfpFw/0Fyqa0EARxkuMhB+QNlbRXUQVQ5FnGThTytcirxpeQWFfElSGDMclg bHZJA2xwDGcCMMYttzG1OSaE= Date: Tue, 20 Apr 2021 14:54:49 +0900 To: Leo Famulari From: elaexuotee@wilsonb.com Subject: Re: [bug#47905] gnu: Add rasdaemon. References: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> In-Reply-To: Message-Id: <3R38A8AKFTHYA.2KFNX2D2XIN4U@wilsonb.com> User-Agent: mblaze/1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47905 Cc: 47905@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Leo Famulari wrote: > On Tue, Apr 20, 2021 at 01:24:37PM +0900, elaexuotee--- via Guix-patches = via wrote: > > +(define-public rasdaemon >=20 > Overall LGTM. >=20 > > + (license license:gpl2+))) >=20 > I checked the license headers of the ras-*.c files. >=20 > Some of them are GPL2+, and some are GPL2 only. I think that we should > mark it GPL2 only, based on that. Oh! Thanks. Nice catch. This is not the first time I have missed license details, so I looked for some method to find all licenses in a project: $ licensecheck --recursive --machine . | awk -F$'\t' '{print $2}' | sor= t -u FSF All Permissive License GNU Lesser General Public License (v2.1) GPL (v2 or later) GPL (v2 or later) (with incorrect FSF address) GPL (v2) UNKNOWN The `FSF All Permissive License' just comes from the INSTALL file. In gene= ral, I'm aware that we can include multiple licenses, so the above output would = look like: (license `(,license:fsf-free ,license:lgpl2.1 ,license:gpl2 ,license:gp= l2+)) However, legally-speaking, was is the correct approach here? From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 02:17:42 2021 Received: (at 47905) by debbugs.gnu.org; 20 Apr 2021 06:17:42 +0000 Received: from localhost ([127.0.0.1]:52763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYjhe-0000fP-Ff for submit@debbugs.gnu.org; Tue, 20 Apr 2021 02:17:42 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:44020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYjhZ-0000f7-OG for 47905@debbugs.gnu.org; Tue, 20 Apr 2021 02:17:41 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1618899460; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-Id: In-Reply-To: References: From: Subject: Cc: To: Date: Sender; bh=dY8Sk7o7orYDpoQCLPBWMjV6H4iSJYwlXF93MKIyq+k=; b=gsEE6EW14WnFR4Wet4qMRmp3Wk6QEB3+ZqTIDyaVgE0xywTeE9ni6V+jtKeL9DVj2o5pYGNm AZdfAVJ3J1/288x8goR75PF8LxHPh57YPaGA6VXvR7bv93+88DNn/O3C4gUZX2qQjOV2uUkJ neHXXbK9rnuA5/lUQB2/BIeVx+aWImP8TF4rSwVBX8UBI2Die8z1uGQDN3vDPC20RgCjSGG2 tVXzIZTzWjVmszbSgbRAY3+x+yER7DT1G4L9XU3+OzqjxK9rq+soprt8G5x4nTH5IlJLfP3T 7xC8C/Lq4nwrRXRnutsyOE7Xgt6aXZY0N++1rv7TwRn6EWQOe/+N4A== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyI1NGFiNSIsICI0NzkwNUBkZWJidWdzLmdudS5vcmciLCAiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n05.prod.us-east-1.postgun.com with SMTP id 607e71edc39407c32753d5ae (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Tue, 20 Apr 2021 06:17:17 GMT Received: from localhost (x108155.dynamic.ppp.asahi-net.or.jp [122.249.108.155]) by wilsonb.com (Postfix) with ESMTPSA id B6F73A3279; Tue, 20 Apr 2021 06:17:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1618899434; bh=dY8Sk7o7orYDpoQCLPBWMjV6H4iSJYwlXF93MKIyq+k=; h=Date:To:Cc:Subject:From:References:In-Reply-To:From; b=fH5tHGB6yuY68i5/SdZ+j3sRb150TszkK79X6GBTFjblqJyqZeUaNkwy3gRY/Q+mw BANdIwksOPkWXy/+1L7SRinjtmc8y4X63ujSecAGSM+9gJWBFGy+pzOg61bSBVup7k UXwYK7G3tGlcYshM6eEhtRDCdVAEbtxaqevsfe3mVF68nDwXnwR68A2fuVFF4TngD/ jZU+8AZFN0tIdzXfKJStHI2bMncc9F7cO97u3YBk3FldtWfYUFuOl2a/IHDXvI16It G07N0AjQEQWdXD/85dmXMS6hcy4m7/e/ffhflc2scdJNwf0iV1na9M7vrI8Wg2nxc1 +AhX9v+CGNd539FD3q6h5LV713YSumZpE37Ap+3kfLunYkpskeVMaLv7UfEJbGYU8W Z+ETiwNPZYw12hV/ryZVIwnT2qBWmB5obSiEaj2JR2yz2povZuzDhMMCDwhp0hE/+1 RDW5bqxXCNdL7z2C0HomYsvgOsx5UBKyh0yXiTlpmn8Dvx6MNb3xh+hKd6xOe3pIxj 3oOBc1SI7yV3/pC8kOueaEHsvJBO+1sfHM9eWWavArDbnLOYR2G/LzXjLmywThUi6u c/D6oeJvcLV7xy05Z3hEJuzhcWQaKFsUawSjIuOG601uZw510iD+OdUwIa5A9D5n+S U0PpClvcglWR4153gShdS8IQ= Date: Tue, 20 Apr 2021 15:18:19 +0900 To: Leo Famulari Subject: Re: [bug#47905] gnu: Add rasdaemon. From: elaexuotee@wilsonb.com References: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> In-Reply-To: Message-Id: <34JN11C25VTZ1.320NQPANZ7JNY@wilsonb.com> User-Agent: mblaze/1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47905 Cc: 47905@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Leo Famulari wrote: > On Tue, Apr 20, 2021 at 01:24:37PM +0900, elaexuotee--- via Guix-patches = via wrote: > > * doc/guix.texi (Linux Services): Document it. >=20 > It could be added to Monitoring Services instead. Although, RAS is > Linux-only, so I leave that decision up to you. Hrm. Monitoring Services does make sense. Kind of a tough call. Will give it more thought but probably keep in Linux since anyone wanting this service probably knows exactly what they are looking for. > It would be nice to link to some upstream documentation of RAS, as we do > for the documentation of the Zram Device Service. >=20 > I think it could also be improved with addition of one or two sentences > about how to make use of the service. As logging appears to be disabled > by default, how are users expected to learn of the events monitored by > rasdaemon? >=20 > After writing that, I looked at rasdaemon-shepherd-service and see that > it keeps a log file. Is that the same data as the optional SQLite > database, but unstructured? >=20 > Overall, the docs should clarify this :) Agreed. My documentation was lazy. Will improve. Thanks for the specific= pointers. About the sqlite db, I honestly don't know much about how it compares to th= e logs. From a cursory glance at the code it looks basically like what you s= aid, a structured rendering of the logs. Will make some kind of note about this= =2E Speaking of, the log output looks like "rasdaemon: ", so it's prob= ably just as good to put this in the syslog rather than a dedicated file. How c= an one do that? From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 02:22:24 2021 Received: (at 47905) by debbugs.gnu.org; 20 Apr 2021 06:22:25 +0000 Received: from localhost ([127.0.0.1]:52773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYjmC-0000mo-F7 for submit@debbugs.gnu.org; Tue, 20 Apr 2021 02:22:24 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:62936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYjm9-0000ma-J2 for 47905@debbugs.gnu.org; Tue, 20 Apr 2021 02:22:22 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1618899741; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-Id: In-Reply-To: References: From: Subject: Cc: To: Date: Sender; bh=EplllNwt7T3RcC1AGbc5UV8pLPOoidBPSVd9wR+VYBk=; b=lpPWCKxAolajHkwB5nLnkPygBtlUahVhMqv1dnMNVolzJIj6+OFfZY5m2ByHe/J9RP+161+r CbC2dx+xiQ/qu0LlSEzqXe9JMDI+nX/cqmtRZLFX+o3dE377lPbsHFX+n0eTEIhZ0I0UvoSj dxT9zhrEkeXsxSlIyTbiq/n1MXJyONKskAMZspgVnfR4su/7Y8Yi9nQMz/mi+mcAB+bwT3L4 iR8RMTY7EmM5zZJtPrT3wbPjOqPxiNdS3sEkRNXKPTnZMGtuMgtvaNDuZImbN2/Vzyx5nLt8 ZPX2XxxMAXJswAXQfXziQFBzsh/ySOgYOZFccBvvoBzLs19MPJJFfA== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyI1NGFiNSIsICI0NzkwNUBkZWJidWdzLmdudS5vcmciLCAiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n05.prod.us-west-2.postgun.com with SMTP id 607e7313febcffa80f14258e (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Tue, 20 Apr 2021 06:22:11 GMT Received: from localhost (x108155.dynamic.ppp.asahi-net.or.jp [122.249.108.155]) by wilsonb.com (Postfix) with ESMTPSA id E0116A3279; Tue, 20 Apr 2021 06:22:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1618899729; bh=EplllNwt7T3RcC1AGbc5UV8pLPOoidBPSVd9wR+VYBk=; h=Date:To:Cc:Subject:From:References:In-Reply-To:From; b=ilDfQmeN5ev/+3Wcs6NA4R8Oie+umtGtc5kw5WsmfDvRwuqnX3+YXIgvelqrjaJiY eOhnisI8EPp7FUYnQDFVmagW1pcPfdbIJ5+MjauwZEucvToy9ZG1WMy0sZktecqVDA t7rRvPDQOLJ3YfvUsEYTU4c0RtigCakvT37M27vXIYJm2LoIb1ASp+2hjlzxtr3nL2 3okvFgrGXInbKTsmr2/3ODzgUblHQ5Gh/s7iiaeg+i5hgrzCtGGbj+J4I7DyDRnH6/ JU4MpN7KBAzStuSIuuURAyFsQPCRL6+LF6EaeZe886M0mxK69aw8YQmTuXU4+mPzas c9M5m0iqx0iKnhl+cU48LtcE6JbvDYY/SBx4wKfLfQpt29a7slmAiZLwMVVZxfF+91 pdpxaxhYNWwAIOzbPSCVwtowLZ/5suyZ8ytOAnWqk5RVo5V6PEJ4jdiu/ac055eSL7 obrlBUelP/1/8s017Pxg1rGkBC2TIpc8LuIhExMWM1nksqLn2i8G89ePtCUm0POsuJ 4rCUk7NIazx6z9saOogYOKWyP00W/8T3O5Qv+k6FgIP+n23sBvwfBQhOHGIJl0T3mo Y8mcU9ELu28T83ma7jIJj5278VQ+myZEYQaWLHTSiWPWfG3ozeOuOsSkZ8MjIsH+Ad Q5YQleFBUc9flCXaQuQfbsjM= Date: Tue, 20 Apr 2021 15:23:14 +0900 To: Leo Famulari Subject: Re: [bug#47905] gnu: Add rasdaemon. From: elaexuotee@wilsonb.com References: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> In-Reply-To: Message-Id: <3Q5HNQGY1NQ09.3MHSB1ZWFZQNX@wilsonb.com> User-Agent: mblaze/1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47905 Cc: 47905@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Leo Famulari wrote: > On Tue, Apr 20, 2021 at 01:24:37PM +0900, elaexuotee--- via Guix-patches = via wrote: > > +;;; > > +;;; Reliability, Availability, and Servicability (RAS) daemon >=20 > Typo -------------------------------> Serviceability >=20 > Otherwise, this LGTM. I'm no expert on Guix services but this one seems > simple and straightforward. >=20 > You mentioned that you tested in a VM. What should I look for in the VM > to verify that the service is working? Ah, good catch. Just check that the daemon is running and log/database files exist. For a non-broken system, the sqlite database will just contain a few empty tables= and the logs will just notify you that the various monitors are active: $ herd status rasdaemon $ pgrep -a rasdaemon $ cat /var/log/rasdaemon $ sqlite3 /var/lib/rasdaemon/ras-mc_event.db I honestly don't know a lot about RAS, yet, so that's the extent of what I = can easily probe. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 03:10:42 2021 Received: (at 47905) by debbugs.gnu.org; 20 Apr 2021 07:10:42 +0000 Received: from localhost ([127.0.0.1]:52811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYkWo-0001y8-C9 for submit@debbugs.gnu.org; Tue, 20 Apr 2021 03:10:42 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:26420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYkWh-0001xk-NC for 47905@debbugs.gnu.org; Tue, 20 Apr 2021 03:10:33 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1618902630; h=Content-Type: MIME-Version: Message-Id: In-Reply-To: References: From: Subject: Cc: To: Date: Sender; bh=XnWWuuFkO8a097tKLIU6vDrz7bLQ0+kS0UgWsILWBvE=; b=ECIfgnhcKMC2pwC+XMseyEwX5ONuvFZa+wISv0uXRmpUu/ni1D7GM9sHPiWsV9A0rzqmM+Fg w3r8z5E84X50eTWUKUJW4xWpzTMKQ13Btx572DQJ9e9KPD0+UCygQIXklyVVku5p7aH6I6N+ M5QacgVATgszPe+a4Kiz7E0clrSLA9BwDs9dkE0E0Lj/Y7lWe/ZCZ0JFjRz+ft9sDmyZg8BO xBhY309XpsKu9IhwVJA1fO9j1N31eNGeJ/QtY5esx6eTLzdEwxmI2lZ7E7zYj0ubt20rHUhL Q87O523mmYa5dx3Vt0MCnsi1Ro9b2lita9NFaY1QrhGA8OHOLtK2uQ== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyI1NGFiNSIsICI0NzkwNUBkZWJidWdzLmdudS5vcmciLCAiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n04.prod.us-west-2.postgun.com with SMTP id 607e7e412cc44d3aea24563a (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Tue, 20 Apr 2021 07:09:53 GMT Received: from localhost (x108155.dynamic.ppp.asahi-net.or.jp [122.249.108.155]) by wilsonb.com (Postfix) with ESMTPSA id AB3E3A3279; Tue, 20 Apr 2021 07:09:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1618902591; bh=XnWWuuFkO8a097tKLIU6vDrz7bLQ0+kS0UgWsILWBvE=; h=Date:To:Cc:Subject:From:References:In-Reply-To:From; b=zRrTQyRtsDubpAr9y7cckzQlRsdrgIOEq2R6Os2ezwKRICtByG401Nf71Ip4/LQTY uWpLQiVwtawmI/10LnRToUq6hhSwjuESUq5mndKJqMfErVfF6Pom08RGrs3kqRcll7 NiOqnSSGvmrwR8iJzToO0vOEni+4wQBDHghmvLwyrHllYUVSHPMXTOGzdg/wCPrGqL zYXDr3ltH7R/O6j0AIcBeKqngDL2LQqQb61itKpM4QTMahyQa5ztBc46rC4IG4bYkI YLXBgNH7P8HhGFnGTG5cFE/VHLULH+Ui6vSFsrferPqPBxH31h/vnqglrhIA+0ZcdJ qklXc8nLzCuhy/VYxCeBcn4+Y3SJxxy2e/HhirarSAeShfuROK79EdaF9sZocOP0UE I3XyZZHeET16lMY4JsG2BFfyrWRABjmfQHwOcziEWYa8CRUguIIHJ4cCDw1RDv17ce 0YZNq/UjjtT9vhzxiEjSane+r5G8LJ6OXjfJoAXUIEi3tdqjU0epuf27ZufYpXlsE7 9sTWenKOjnc5XYZ3GnL/3vMO1wMG4oMMi4CKWr+rIa3moLKaiMckaC4asPWY49kQG1 RK8Jy3YzL3PAASwnBIKauTOmHxXyz/8lU+cGs1FBj98O1328ddYOgTT/W2kfYz+UcW paFgZQvm+GIx+3vC0b0E7QiI= Date: Tue, 20 Apr 2021 16:10:54 +0900 To: Leo Famulari Subject: Re: [bug#47905] gnu: Add rasdaemon. From: elaexuotee@wilsonb.com References: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> In-Reply-To: Message-Id: <34GOUL165TOWY.3FR9YU3I80NFA@wilsonb.com> User-Agent: mblaze/1.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_5a8f3dfa734c8170578339de_=_" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47905 Cc: 47905@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multipart message in MIME format. ------_=_5a8f3dfa734c8170578339de_=_ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This patch updates the license field to contain lgpl2.1, gpl2, and gpl2+. I also added a lot to the docs. Upstream docs are pretty sparse, so I most= ly just pilfered from the Linux kernel admin-guide explanation of RAS. At the= end of the explanation, I include a URL to that guide directly. ------_=_5a8f3dfa734c8170578339de_=_ Content-Disposition: attachment; filename=0001-gnu-Add-rasdaemon.patch Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable =46rom dc8bdf692d3802f87aa5b13a244771e1707c1a1a Mon Sep 17 00:00:00 2001 =46rom: "B. Wilson" =44ate: Tue, 20 Apr 2021 11:49:26 +0900 =53ubject: [PATCH] gnu: Add rasdaemon. =54o: guix-patches@gnu.org =0A* gnu/packages/linux.scm (rasdaemon): New variable. =2A gnu/services/linux.scm (rasdaemon-configuration) =20 (rasdaemon-configuration?, rasdaemon-configuration-record?) =20 (rasdaemon-service-type): New variables. =2A doc/guix.texi (Linux Services): Document it. =2D-- =20doc/guix.texi | 81 ++++++++++++++++++++++++++++++++++++++++++ =20gnu/packages/linux.scm | 45 +++++++++++++++++++++++ =20gnu/services/linux.scm | 49 +++++++++++++++++++++++++ =203 files changed, 175 insertions(+) =0Adiff --git a/doc/guix.texi b/doc/guix.texi =69ndex 58bcfbdbb5..a80ad02223 100644 =2D-- a/doc/guix.texi =2B++ b/doc/guix.texi =40@ -88,6 +88,7 @@ Copyright @copyright{} 2020 John Soo@* =20Copyright @copyright{} 2020 Jonathan Brielmaier@* =20Copyright @copyright{} 2020 Edgar Vincent@* =20Copyright @copyright{} 2021 Maxime Devos@* =2BCopyright @copyright{} 2021 B. Wilson@* =20= =20Permission is granted to copy, distribute and/or modify this document =20under the terms of the GNU Free Documentation License, Version 1.3 or =40@ -31457,6 +31458,86 @@ parameters, can be done as follow: =20@end lisp =20@end deffn =20= =2B@cindex rasdaemon =2B@cindex Platform Reliability, Availability and Serviceability daemon =2B@subsubheading Rasdaemon Service =2B =2BThe Rasdaemon service provides a daemon which monitors the platform Reli= =61blity, =2BAvailability and Serviceability (RAS) reports from the Linux kernel trac= =65 =2Bevents, logging them in @file{/var/log/rasdaemon.log}. =2B =2BReliability, Availability and Serviceability is a concept used on server= =73 meant =2Bto measure their robustness. =2B =2B@strong{Relability} is the probability that a system will produce correc= =74 =2Boutputs: =2B =2B@itemize @bullet =2B@item Generally measured as Mean Time Between Failures (MTBF), and =2B@item Enhanced by features that help to avoid, detect and repair hardwar= =65. =2Bfaults =2B@end itemize =2B =2B@strong{Availability} is the probability that a system is operational at= =20a =2Bgiven time: =2B =2B@itemize @bullet =2B@item Generally measured as a percentage of downtime per a period of tim= =65, and =2B@item Often uses mechanisms to detect and correct hardware faults in run= =74ime. =2B@end itemize =2B =2B@strong{Serviceability} is the simplicity and speed with which a system = =63an be =2Brepaired or maintained: =2B =2B@itemize @bullet =2B@item Generally measured on Mean Time Between Repair (MTBR). =2B@end itemize =2B =2B =2BAmong the monitoring measures, the most usual ones include: =2B =2B@itemize @bullet =2B@item CPU =E2=80=93 detect errors at instruction execution and at L1/L2/= =4C3 caches; =2B@item Memory =E2=80=93 add error correction logic (ECC) to detect and co= =72rect errors; =2B@item I/O =E2=80=93 add CRC checksums for transferred data; =2B@item Storage =E2=80=93 RAID, journal file systems, checksums, Self-Moni= =74oring, =2BAnalysis and Reporting Technology (SMART). =2B@end itemize =2B =2BBy monitoring the number of occurrences of error detections, it is possi= =62le to =2Bidentify if the probability of hardware errors is increasing, and, on su= =63h =2Bcase, do a preventive maintenance to replace a degraded component while = =74hose =2Berrors are correctable. =2B =2BFor detailed information about the types of error events gathered and ho= =77 to =2Bmake sense of them, see the kernel administrator's guide at =2B@url{https://www.kernel.org/doc/html/latest/admin-guide/ras.html}. =2B =2B@defvr {Scheme Variable} rasdaemon-service-type =2BService type for the @command{rasdaemon} service. It accepts a =2B@code{rasdaemon-configuration} object. Instantiating like =2B =2B@lisp =2B(service rasdaemon-service-type) =2B@end lisp =2B =2Bwill load with a default configuration, which monitors all events and lo= =67s to =2B@file{/var/log/rasdaemon.log}. =2B@end defvr =2B =2B@deftp {Data Type} rasdaemon-configuration =2BThe data type representing the configuration of @command{rasdaemon}. =2B =2B@table @asis =2B@item @code{record?} (default: @code{#f}) =2B =2BA boolean indicating whether to record the events in an SQLite database.= =20 This =2Bprovides a more structured access to the information contained in the lo= =67 file. =2BThe database location is hard-coded to @file{/var/lib/rasdaemon/ras-mc_e= =76ent.db}. =2B =2B@end table =2B@end deftp =2B =20@cindex zram =20@cindex compressed swap =20@cindex Compressed RAM-based block devices =64iff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm =69ndex 1ea9d80834..0384ae03df 100644 =2D-- a/gnu/packages/linux.scm =2B++ b/gnu/packages/linux.scm =40@ -53,6 +53,7 @@ =20;;; Copyright =C2=A9 2020 Zhu Zihao =20;;; Copyright =C2=A9 2020 David Dashyan =20;;; Copyright =C2=A9 2020 pukkamustard =2B;;; Copyright =C2=A9 2021 B. Wilson =20;;; =20;;; This file is part of GNU Guix. =20;;; =40@ -130,6 +131,7 @@ =20 #:use-module (gnu packages sdl) =20 #:use-module (gnu packages serialization) =20 #:use-module (gnu packages slang) =2B #:use-module (gnu packages sqlite) =20 #:use-module (gnu packages texinfo) =20 #:use-module (gnu packages tls) =20 #:use-module (gnu packages valgrind) =40@ -8037,3 +8039,46 @@ kernel side implementation.") =20read-only file system optimized for resource-scarce devices. This packa= =67e =20provides user-space tools for creating EROFS file systems.") =20 (license license:gpl2+))) =2B =2B(define-public rasdaemon =2B (package =2B (name "rasdaemon") =2B (version "0.6.6") =2B (source =2B (origin =2B (method git-fetch) =2B (uri (git-reference =2B (url "https://github.com/mchehab/rasdaemon") =2B (commit (string-append "v" version)))) =2B (file-name (git-file-name name version)) =2B (sha256 =2B (base32 "13g39x19lfjf9izdcb0nlyfjrgpliivhv4nw3ndgyzi59l3yqc0v"))= =29) =2B (native-inputs `(("autoconf" ,autoconf) =2B ("automake" ,automake) =2B ("libtool" ,libtool))) =2B (inputs `(("sqlite" ,sqlite))) =2B (arguments =2B `(#:configure-flags '("--enable-all" =2B "--localstatedir=3D/var") =2B #:phases =2B (modify-phases %standard-phases =2B (add-before 'configure 'munge-autotools =2B (lambda _ =2B ;; For some reason upstream forces sysconfdir=3D/etc. This= =20results =2B ;; in EPERM during the install phase. Removing the offendi= =6Eg =2B ;; line lets sysconfdir correctly pick up DESTDIR. =2B (substitute* "configure.ac" =2B (("^test .* sysconfdir=3D/etc\n$") "")) =2B ;; Upstream tries to create /var/lib/rasdaemon at install t= =69me. =2B ;; This results in EPERM on guix. Instead, the service sho= =75ld =2B ;; create this at activation time. =2B (substitute* "Makefile.am" =2B (("^\\s*\\$\\(install_sh\\) -d .*@RASSTATEDIR@.*$") "")))= =29))) =2B (build-system gnu-build-system) =2B (home-page "https://github.com/mchehab/rasdaemon") =2B (synopsis "Platform Reliability, Availability and Serviceability too= =6Cs") =2B (description "The @code{rasdaemon} program is a daemon which monitor= =73 the =2Bplatform Reliablity, Availability and Serviceability (RAS) reports from = =74he =2BLinux kernel trace events. These trace events are logged in =2B/sys/kernel/debug/tracing, reporting them via syslog/journald.") =2B (license (list license:gpl2 license:gpl2+ license:lgpl2.1)))) =64iff --git a/gnu/services/linux.scm b/gnu/services/linux.scm =69ndex 340b330030..5ecc9bdf25 100644 =2D-- a/gnu/services/linux.scm =2B++ b/gnu/services/linux.scm =40@ -3,6 +3,7 @@ =20;;; Copyright =C2=A9 2020 Brice Waegeneire =20;;; Copyright =C2=A9 2020 Efraim Flashner =20;;; Copyright =C2=A9 2021 raid5atemyhomework =2B;;; Copyright =C2=A9 2021 B. Wilson =20;;; =20;;; This file is part of GNU Guix. =20;;; =40@ -47,6 +48,11 @@ =20= =20 kernel-module-loader-service-type =20= =2B rasdaemon-configuration =2B rasdaemon-configuration? =2B rasdaemon-configuration-record? =2B rasdaemon-service-type =2B =20 zram-device-configuration =20 zram-device-configuration? =20 zram-device-configuration-size =40@ -188,6 +194,49 @@ representation." =20 (extend append) =20 (default-value '()))) =20= =2B=0C =2B;;; =2B;;; Reliability, Availability, and Serviceability (RAS) daemon =2B;;; =2B =2B(define-record-type* =2B rasdaemon-configuration make-rasdaemon-configuration =2B rasdaemon-configuration? =2B (record? rasdaemon-configuration-record? (default #f))) =2B =2B(define (rasdaemon-configuration->command-line-args config) =2B "Translate to its command line arguments =2B representation" =2B (let ((record? (rasdaemon-configuration-record? config))) =2B `(,(file-append rasdaemon "/sbin/rasdaemon") =2B "--foreground" ,@(if record? '("--record") '())))) =2B =2B(define (rasdaemon-activation config) =2B (let ((record? (rasdaemon-configuration-record? config)) =2B (rasdaemon-dir "/var/lib/rasdaemon")) =2B (with-imported-modules '((guix build utils)) =2B #~(if #$record? (mkdir-p #$rasdaemon-dir))))) =2B =2B(define (rasdaemon-shepherd-service config) =2B (shepherd-service =2B (documentation "Run rasdaemon") =2B (provision '(rasdaemon)) =2B (start #~(make-forkexec-constructor =2B '#$(rasdaemon-configuration->command-line-args config) =2B #:log-file "/var/log/rasdaemon.log")) =2B (stop #~(make-kill-destructor)))) =2B =2B(define rasdaemon-service-type =2B (service-type =2B (name 'rasdaemon) =2B (default-value (rasdaemon-configuration)) =2B (extensions =2B (list (service-extension shepherd-root-service-type =2B (compose list rasdaemon-shepherd-service)) =2B (service-extension activation-service-type rasdaemon-activatio= =6E))) =2B (compose concatenate) =2B (description "Run @command{rasdaemon}, the RAS monitor"))) =2B =20=0C =20;;; =20;;; Kernel module loader. =2D-=20 =32.31.1 =0A= ------_=_5a8f3dfa734c8170578339de_=_-- From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 12:08:58 2021 Received: (at 47905) by debbugs.gnu.org; 20 Apr 2021 16:08:59 +0000 Received: from localhost ([127.0.0.1]:55814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYsvq-0007qV-KW for submit@debbugs.gnu.org; Tue, 20 Apr 2021 12:08:58 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:42159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYsvn-0007qH-Oc for 47905@debbugs.gnu.org; Tue, 20 Apr 2021 12:08:56 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 8E5F05C008C; Tue, 20 Apr 2021 12:08:50 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 20 Apr 2021 12:08:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=mesmtp; bh=95UAdKyO3Ua5OWJ9K0Sr3kfB7CN3jj+ngEGvKA+pTIk=; b=LRdgOHjJzgVo m7VRXYZR6XdoXMzDJjQFi4D1aQv4ruWjpSjDHQHlXARwozGc34rkLZR+P4PTFSrh mIE0A4HSyzJfOYkYxRQ93XYeu9hrD/IoKTqI1tUf0gWYTbaR9XMlL2LfH1SgcXwB 7Ab1QkPCyugCBtmwo9heVyl2BMdropw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=95UAdKyO3Ua5OWJ9K0Sr3kfB7CN3jj+ngEGvKA+pT Ik=; b=O0Wu8c/Ew0sveQePMi1homB5+44LlecmVcvR3fn+h/gD8a81nTQ8GJTPj RIuXpZsq/BbcLcR5k4XFt9uJ1K0C4Ql+umJmi8z0ofVg2eMjoeRN9wDaRm34MQcZ TESiIqDKEPwSmql9cCoVBo/RTyhl8wlDznWjmzjoueWNGvG3zUtceRDKA3eCH4D8 ceJ/Ze202GM0u60D8Mbkqkl6wlL22OA8OU7jFR7YB3YbO9xnif6YPjb8xhUyADkH CRkm/Dbemoxrrlq9+pTseOz9CA/a4OBdt33qWli0h1u/uA/GywIaVwx2JwObc86f BNmg59PCzp7hC8Ehq9Q9XkMCKtKFQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtiedguddttdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtugfgjgesth ekredttddtjeenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhu lhgrrhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepgfduffettedtkeekudfhgfefgf eifeegueeitedujeffleeiudeuieffgfdugfdunecuffhomhgrihhnpehgnhhurdhorhhg necukfhppedutddtrdduuddrudeiledruddukeenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 1BB7E1080066; Tue, 20 Apr 2021 12:08:50 -0400 (EDT) Date: Tue, 20 Apr 2021 12:08:48 -0400 From: Leo Famulari To: elaexuotee@wilsonb.com Subject: Re: [bug#47905] gnu: Add rasdaemon. Message-ID: References: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> <3R38A8AKFTHYA.2KFNX2D2XIN4U@wilsonb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3R38A8AKFTHYA.2KFNX2D2XIN4U@wilsonb.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47905 Cc: 47905@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Apr 20, 2021 at 02:54:49PM +0900, elaexuotee@wilsonb.com wrote: > The `FSF All Permissive License' just comes from the INSTALL file. In general, > I'm aware that we can include multiple licenses, so the above output would look > like: > > (license `(,license:fsf-free ,license:lgpl2.1 ,license:gpl2 ,license:gpl2+)) > > However, legally-speaking, was is the correct approach here? Overall, the program is distributed under the GPL version 2, based on COPYING (whether or not "later versions" are allowed depends on license headers of individual files). Some components may have other licenses, but I'd say the whole thing — the "program" as we use it — is GPL 2. In general, we redistribute the program under a single license, so that is what the license field should say. Maybe if there is some really valuable component that can be used under a different license, we can add a code comment about it. But, I don't think it's helpful to list the licenses of files such as INSTALL, nor is it unusual that they have a different license than the whole. I would refer to this page for more advice about the GPL: https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility I'm not a legal expert, and my understanding is that none of this stuff is really "settled" or "well understood" legally — that would require extensive and repeated litigation, at least in the USA, which has not occurred. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 12:19:52 2021 Received: (at 47905) by debbugs.gnu.org; 20 Apr 2021 16:19:52 +0000 Received: from localhost ([127.0.0.1]:55834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYt6O-00087g-CZ for submit@debbugs.gnu.org; Tue, 20 Apr 2021 12:19:52 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:58275) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYt6M-00087T-5w for 47905@debbugs.gnu.org; Tue, 20 Apr 2021 12:19:50 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 233AB5C0357; Tue, 20 Apr 2021 12:19:45 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 20 Apr 2021 12:19:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=mesmtp; bh=AW8yZVJcU0qfOIzhzVpJ8e9R5QKr+t2ucy5a0nMM49k=; b=oCz1BNHEfQA3 cUOY8WWmRrSZwin+M2iQzoTNZLK4tC9iMMdLIeu5XOui+7mOexnvBCpDGTzgquxm I/BAUJhC6KN5eOzvUNlM+ePyW0x3BEh74djrAf6rAiCieFi/mzRslsXLbpl0uiN0 DZXLxjIJYuPAckUXwFonWCGzZG9WkpE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=AW8yZVJcU0qfOIzhzVpJ8e9R5QKr+t2ucy5a0nMM4 9k=; b=e8XAabCLao7jYvdpwnQx2Gq8qr/5xPKWFp1nt3aNbQ2trI/bOk0UkgF4n NWhLZCphJdhwHIdGCytlgNSG8SkHRi6oBptbWlTzDf6bfcogOMn2h8/WH5OZPJXn Pp4ZtY2Pjsk9WYK3OzjLTWteE3Ahoxd9rQLBGivFZCLePDkvir5kjKBy2w/gh9dM 6rnOrWHPO+EvETvdayyQY29PVdzSvmrWNY6qIVXAqDwDvRadPr4ZDe6BYm2W0XF+ iBA1hQkQOJKsS7OFUvDNSJzEX+87k0GDouU3sgdgR79AkFGjtaqcsn5m1eZ4Krnn qbLD39KtsSNGunqG7X4Rulahoq5MA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtiedguddtvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtugfgjgesth ekredttddtjeenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhu lhgrrhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepgeejgeeghedtudfgffdutddvff efffejkeffffevffehgedvvdeutdffkeejjeejnecukfhppedutddtrdduuddrudeiledr uddukeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id D5440240057; Tue, 20 Apr 2021 12:19:44 -0400 (EDT) Date: Tue, 20 Apr 2021 12:19:43 -0400 From: Leo Famulari To: elaexuotee@wilsonb.com Subject: Re: [bug#47905] gnu: Add rasdaemon. Message-ID: References: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> <34JN11C25VTZ1.320NQPANZ7JNY@wilsonb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <34JN11C25VTZ1.320NQPANZ7JNY@wilsonb.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47905 Cc: 47905@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Apr 20, 2021 at 03:18:19PM +0900, elaexuotee@wilsonb.com wrote: > Speaking of, the log output looks like "rasdaemon: ", so it's probably > just as good to put this in the syslog rather than a dedicated file. How can > one do that? I poked around in the existing services, and it seems that the service daemons themselves have the ability to log to syslog, based upon their own configuration. For example, the OpenSSH service 'requires' syslogd, but only in terms of making sure that syslogd is running before sshd starts. I don't see any extension of the syslog service. (I could be wrong — services are my weak point) So, I guess that rasdaemon needs to learn how to find and use syslog, if it hasn't yet. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 12:20:13 2021 Received: (at 47905) by debbugs.gnu.org; 20 Apr 2021 16:20:14 +0000 Received: from localhost ([127.0.0.1]:55839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYt6j-00088p-MJ for submit@debbugs.gnu.org; Tue, 20 Apr 2021 12:20:13 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:59775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYt6h-00088W-Gr for 47905@debbugs.gnu.org; Tue, 20 Apr 2021 12:20:11 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 69D155C0309; Tue, 20 Apr 2021 12:20:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 20 Apr 2021 12:20:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=VXbsE1OkOAa1ew/JbDDtf1Dd uzpY8liV7JChfOxBmPQ=; b=0TC0PmCZzh/3RsVxH/2a4Ab3uaC78nrwJhEf24Sv MviJfl6sKr7AUv4n6ZAfFlDwyAWb9B3/QUClYWgU9Lh7HuWQ9OX9mlPLYKUMRC8H hewQaOM9mjfq5IHLUSgRAnyIpr/57I3I8ZytfIAVtXxXv2Z3ee2vCx42OPUWMhh2 lLI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=VXbsE1 OkOAa1ew/JbDDtf1DduzpY8liV7JChfOxBmPQ=; b=fRLPJ5bwqZzxPiohbkm/hr Dy4JY4n25nR4klyNnmOWqnjVlBFQ7ULivPnXDwVOl7GOk2nj+hPCo02wo/Ds2H+r 7zg5yzc2nQFMAVZ4pVlrpe3Gn+545CtPNDV2D6TNHVncpseLwnO54Kda7y9WNI0B 3qtyOQs8Hqrh4NFqb1cjjRhPPprq0aqn1yhel/SqqJ2jGI1DrvVYb8BDI1cOAghu TX7OciWIwXW7bt2IqjMSggsT8bZW6U0A9guEna43hyoqvB72u89rOg7PAa3IJy1O 2xnp9tvbNnazaiLf6TW1wOt2HSRqRVUW+x9kmXAKG9CdGNC9I1NAOCRvqK5lRoiA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtiedguddtvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttd ertddttddvnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhl rghrihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeeukeektdffvddtudegjeegtdevhf eufeeivdejiedtieegtdevjedvjeehffevgfenucfkphepuddttddruddurdduieelrddu udeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplh gvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 55E1024005A; Tue, 20 Apr 2021 12:20:06 -0400 (EDT) Date: Tue, 20 Apr 2021 12:20:04 -0400 From: Leo Famulari To: elaexuotee@wilsonb.com Subject: Re: [bug#47905] gnu: Add rasdaemon. Message-ID: References: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> <3Q5HNQGY1NQ09.3MHSB1ZWFZQNX@wilsonb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3Q5HNQGY1NQ09.3MHSB1ZWFZQNX@wilsonb.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47905 Cc: 47905@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Apr 20, 2021 at 03:23:14PM +0900, elaexuotee@wilsonb.com wrote: > Just check that the daemon is running and log/database files exist. For a > non-broken system, the sqlite database will just contain a few empty tables and > the logs will just notify you that the various monitors are active: > > $ herd status rasdaemon > $ pgrep -a rasdaemon > $ cat /var/log/rasdaemon > $ sqlite3 /var/lib/rasdaemon/ras-mc_event.db > > I honestly don't know a lot about RAS, yet, so that's the extent of what I can > easily probe. Thanks, I'll try it out. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 12:23:31 2021 Received: (at 47905) by debbugs.gnu.org; 20 Apr 2021 16:23:32 +0000 Received: from localhost ([127.0.0.1]:55844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYt9p-0008Dx-6k for submit@debbugs.gnu.org; Tue, 20 Apr 2021 12:23:31 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:54179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYt9o-0008Dl-BN for 47905@debbugs.gnu.org; Tue, 20 Apr 2021 12:23:24 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 3C1A15C0317; Tue, 20 Apr 2021 12:23:19 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 20 Apr 2021 12:23:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=4Z9YXupkLgX9cnPdoNiJZE2N 0+kP6qbbYxHG6ChiMPw=; b=hXxT3gxVvJ/H+UyZ7osOYkiZmJkuGQenxFK6/CiS JLrUL283fTd4ku+NcUrsZFhqGhhZaShCaWzkwL6B8fuwBICz9ST9342MZfa6/08S MCV95YSR/9nZvzr9oT/z2AO7howZtNhUfJMBvGELYn/VMVVK9mvuozzQuEPDMPzL BLE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=4Z9YXu pkLgX9cnPdoNiJZE2N0+kP6qbbYxHG6ChiMPw=; b=oV9nhXJGUsCqXi+d5Be2gz fAwUgmYpUSw8IOugsdAQxszIVbsoeAuD3MFppRs+SbAwFZQ52rYfzL5Nr4cLH4Sr BcTzG0rvjDaK9TUopamAFjmAzum1iPGNIYMk1AlthRJvH6pr5pqcm/cR+1ijHtfd apGEma+xsi3GKJEfxojBLP0Qs+h69jGu5uKlf7P3ggKP99rbeLxdbgviXQCO8ZTq ZdSGI7oNi0x8gFjPYxRrns4UZ3MDuQzSlrxnXAwayE+3xakqnsqW9r3jwqoQCJp/ c/J47vnYoO/I8P7P5pFjoyl6xmUszG54f2iOdbLf94XFjViRixmJlxnZ0tcENulA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtiedguddtvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttd ertddttddvnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhl rghrihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpedvvddugefffeeitddthfefvdeuhf fgkeeikeegkeevteeghfeftefggeeuudffieenucffohhmrghinhepghhnuhdrohhrghen ucfkphepuddttddruddurdduieelrdduudeknecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 3A8641080063; Tue, 20 Apr 2021 12:23:18 -0400 (EDT) Date: Tue, 20 Apr 2021 12:23:16 -0400 From: Leo Famulari To: elaexuotee@wilsonb.com Subject: Re: [bug#47905] gnu: Add rasdaemon. Message-ID: References: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> <34GOUL165TOWY.3FR9YU3I80NFA@wilsonb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <34GOUL165TOWY.3FR9YU3I80NFA@wilsonb.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47905 Cc: 47905@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Apr 20, 2021 at 04:10:54PM +0900, elaexuotee@wilsonb.com wrote: > This patch updates the license field to contain lgpl2.1, gpl2, and gpl2+. As mentioned in a previous reply, it should contain only gpl2 [0], unless upstream has explicitly given us a license to distribute rasdaemon under the other licenses. [0] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=47905#35 From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 22 06:00:56 2021 Received: (at 47905) by debbugs.gnu.org; 22 Apr 2021 10:00:57 +0000 Received: from localhost ([127.0.0.1]:32803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZW8e-0005CN-Bu for submit@debbugs.gnu.org; Thu, 22 Apr 2021 06:00:56 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:19877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZW8W-0005C1-Rt for 47905@debbugs.gnu.org; Thu, 22 Apr 2021 06:00:47 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1619085644; h=Content-Type: MIME-Version: Message-Id: In-Reply-To: References: From: Subject: Cc: To: Date: Sender; bh=bq+KolXwfbu5btDynqn9x5DVwlc+obGFd5vq3efkii0=; b=48dD+lQi+Kz9L4pTESz13OxDs2vYh0VQwuWo+IMrISYJhxOEL2QqA1aM0L1ZCpvi7epJNyV/ MZZZfrTB20EQLZZIYHQ5hjXotw9Mj49SR5PichSY9539OApTs16DZr7nc3NORBAU4AQJzTg1 hiy+VYGNNsmSvSew03lBa39+jstDulNmJsMK0kG4Ft2nCqcB2JADyEaBT6zMH1lt3us0a+ww CBgWjz5VN91LJ0pXuNeMSWnX2d+a/n4OehLqJGDqWwvuzxPJ4ESbbMXtkVa6jG9YPav8EPp8 wAI6NKCbUbrghvX5ZbsuP06jEg+XBn6z7BlAQi48cRkcuvgzSY90gw== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyI1NGFiNSIsICI0NzkwNUBkZWJidWdzLmdudS5vcmciLCAiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n06.prod.us-west-2.postgun.com with SMTP id 60814926febcffa80f48f794 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Thu, 22 Apr 2021 10:00:05 GMT Received: from localhost (x096178.dynamic.ppp.asahi-net.or.jp [122.249.96.178]) by wilsonb.com (Postfix) with ESMTPSA id 1E3D0A328B; Thu, 22 Apr 2021 10:00:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1619085603; bh=bq+KolXwfbu5btDynqn9x5DVwlc+obGFd5vq3efkii0=; h=Date:To:Cc:Subject:From:References:In-Reply-To:From; b=TbUasbWdvvmXyappGOwQlB0qbeXyrPDYojr0mz3z5ej13pSuea0If8C5RfDi62L13 zbgSA1DfWvpiWrDSZomfQUQlvUQLHG0vDOrKx/Rq+on0JRzgQiwGAAq/wuef7F2qdZ 9CJlBA8Sg3tzyHNcAJ9YcQPp0LCxC0CEVpYeixlvjAWz89Dn6PbGVHUp39TaUr13Vp SWwldO37J+TmfSQo2VeNlsFNIQx8DYdRhiwhG6YZ/d60s7jC5LhJQdDq1/43vNzJAm O7RDvzAJ1w56NvSSeP/8HfDSyLJYnwxLPB5WHPOL3TEh1rRduYjC0ZdIqD+9j7JRv0 aSknZvUE6ECAVz15T/Pxe0SlFVM8/H+m77pl94RBT8r/oLtzDlUWB6qK7TrkbAoBJP zT/C6B6g6itMhKcfQlXTfPvxbYb4NttWvS3x8DZUfx9gCQp85P8S6kr5vCa8A0Z7NP KLh1v6hOkn9MzW37jf9HjgWUvlJGzvlIFx8zRmUo0B/MPQYCh9YNWMiHGFPG4W5wj8 v5tYooVn8AxcjaAZjUpiQTXT3rh2CCKvch9UlseWf30BHNn3o9Cxntt5OQN4SfqUBP +as5PI8gUVdPlPVVq4n5KQQF95BF+iqpXNZ+chNMF2Z4uSaX/hW0DJ+Eiq4dZrHHn2 7/iyWF/YIICW4HQSXy9VZR8U= Date: Thu, 22 Apr 2021 19:01:20 +0900 To: Leo Famulari Subject: Re: [bug#47905] gnu: Add rasdaemon. From: elaexuotee@wilsonb.com References: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> <34GOUL165TOWY.3FR9YU3I80NFA@wilsonb.com> In-Reply-To: Message-Id: <377TR65TD6KJY.2JY05ANZ7375P@wilsonb.com> User-Agent: mblaze/1.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_0d33e8e03f6f767c601c41e7_=_" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47905 Cc: 47905@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multipart message in MIME format. ------_=_0d33e8e03f6f767c601c41e7_=_ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Leo Famulari wrote: > On Tue, Apr 20, 2021 at 04:10:54PM +0900, elaexuotee@wilsonb.com wrote: > > This patch updates the license field to contain lgpl2.1, gpl2, and gpl2= +. >=20 > As mentioned in a previous reply, it should contain only gpl2 [0], unless= > upstream has explicitly given us a license to distribute rasdaemon under > the other licenses. >=20 > [0] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D47905#35 Fixed! Thanks for holding my hand on this. That above link cleared up a l= ot of lingering questions I had. Anyway, in addition to the license fix, I also noticed that the daemon automatically logs to syslogd, so I stripped out /var/log/rasdaemon.log, including the references in the documentation. Let me know what you think. Cheers! ------_=_0d33e8e03f6f767c601c41e7_=_ Content-Disposition: attachment; filename=0001-gnu-Add-rasdaemon.patch Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable =46rom d31cb88e5c34cc0b650ff181ebb6a0d85d045f9d Mon Sep 17 00:00:00 2001 =46rom: "B. Wilson" =44ate: Tue, 20 Apr 2021 11:49:26 +0900 =53ubject: [PATCH] gnu: Add rasdaemon. =54o: guix-patches@gnu.org =0A* gnu/packages/linux.scm (rasdaemon): New variable. =2A gnu/services/linux.scm (rasdaemon-configuration) =20 (rasdaemon-configuration?, rasdaemon-configuration-record?) =20 (rasdaemon-service-type): New variables. =2A doc/guix.texi (Linux Services): Document it. =2D-- =20doc/guix.texi | 81 ++++++++++++++++++++++++++++++++++++++++++ =20gnu/packages/linux.scm | 45 +++++++++++++++++++++++ =20gnu/services/linux.scm | 49 +++++++++++++++++++++++++ =203 files changed, 175 insertions(+) =0Adiff --git a/doc/guix.texi b/doc/guix.texi =69ndex 58bcfbdbb5..72be2a1367 100644 =2D-- a/doc/guix.texi =2B++ b/doc/guix.texi =40@ -88,6 +88,7 @@ Copyright @copyright{} 2020 John Soo@* =20Copyright @copyright{} 2020 Jonathan Brielmaier@* =20Copyright @copyright{} 2020 Edgar Vincent@* =20Copyright @copyright{} 2021 Maxime Devos@* =2BCopyright @copyright{} 2021 B. Wilson@* =20= =20Permission is granted to copy, distribute and/or modify this document =20under the terms of the GNU Free Documentation License, Version 1.3 or =40@ -31457,6 +31458,86 @@ parameters, can be done as follow: =20@end lisp =20@end deffn =20= =2B@cindex rasdaemon =2B@cindex Platform Reliability, Availability and Serviceability daemon =2B@subsubheading Rasdaemon Service =2B =2BThe Rasdaemon service provides a daemon which monitors the platform Reli= =61blity, =2BAvailability and Serviceability (RAS) reports from the Linux kernel trac= =65 =2Bevents, logging them to syslogd. =2B =2BReliability, Availability and Serviceability is a concept used on server= =73 meant =2Bto measure their robustness. =2B =2B@strong{Relability} is the probability that a system will produce correc= =74 =2Boutputs: =2B =2B@itemize @bullet =2B@item Generally measured as Mean Time Between Failures (MTBF), and =2B@item Enhanced by features that help to avoid, detect and repair hardwar= =65. =2Bfaults =2B@end itemize =2B =2B@strong{Availability} is the probability that a system is operational at= =20a =2Bgiven time: =2B =2B@itemize @bullet =2B@item Generally measured as a percentage of downtime per a period of tim= =65, and =2B@item Often uses mechanisms to detect and correct hardware faults in run= =74ime. =2B@end itemize =2B =2B@strong{Serviceability} is the simplicity and speed with which a system = =63an be =2Brepaired or maintained: =2B =2B@itemize @bullet =2B@item Generally measured on Mean Time Between Repair (MTBR). =2B@end itemize =2B =2B =2BAmong the monitoring measures, the most usual ones include: =2B =2B@itemize @bullet =2B@item CPU =E2=80=93 detect errors at instruction execution and at L1/L2/= =4C3 caches; =2B@item Memory =E2=80=93 add error correction logic (ECC) to detect and co= =72rect errors; =2B@item I/O =E2=80=93 add CRC checksums for transferred data; =2B@item Storage =E2=80=93 RAID, journal file systems, checksums, Self-Moni= =74oring, =2BAnalysis and Reporting Technology (SMART). =2B@end itemize =2B =2BBy monitoring the number of occurrences of error detections, it is possi= =62le to =2Bidentify if the probability of hardware errors is increasing, and, on su= =63h =2Bcase, do a preventive maintenance to replace a degraded component while = =74hose =2Berrors are correctable. =2B =2BFor detailed information about the types of error events gathered and ho= =77 to =2Bmake sense of them, see the kernel administrator's guide at =2B@url{https://www.kernel.org/doc/html/latest/admin-guide/ras.html}. =2B =2B@defvr {Scheme Variable} rasdaemon-service-type =2BService type for the @command{rasdaemon} service. It accepts a =2B@code{rasdaemon-configuration} object. Instantiating like =2B =2B@lisp =2B(service rasdaemon-service-type) =2B@end lisp =2B =2Bwill load with a default configuration, which monitors all events and lo= =67s to =2Bsyslogd. =2B@end defvr =2B =2B@deftp {Data Type} rasdaemon-configuration =2BThe data type representing the configuration of @command{rasdaemon}. =2B =2B@table @asis =2B@item @code{record?} (default: @code{#f}) =2B =2BA boolean indicating whether to record the events in an SQLite database.= =20 This =2Bprovides a more structured access to the information contained in the lo= =67 file. =2BThe database location is hard-coded to @file{/var/lib/rasdaemon/ras-mc_e= =76ent.db}. =2B =2B@end table =2B@end deftp =2B =20@cindex zram =20@cindex compressed swap =20@cindex Compressed RAM-based block devices =64iff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm =69ndex 1ea9d80834..3685debb38 100644 =2D-- a/gnu/packages/linux.scm =2B++ b/gnu/packages/linux.scm =40@ -53,6 +53,7 @@ =20;;; Copyright =C2=A9 2020 Zhu Zihao =20;;; Copyright =C2=A9 2020 David Dashyan =20;;; Copyright =C2=A9 2020 pukkamustard =2B;;; Copyright =C2=A9 2021 B. Wilson =20;;; =20;;; This file is part of GNU Guix. =20;;; =40@ -130,6 +131,7 @@ =20 #:use-module (gnu packages sdl) =20 #:use-module (gnu packages serialization) =20 #:use-module (gnu packages slang) =2B #:use-module (gnu packages sqlite) =20 #:use-module (gnu packages texinfo) =20 #:use-module (gnu packages tls) =20 #:use-module (gnu packages valgrind) =40@ -8037,3 +8039,46 @@ kernel side implementation.") =20read-only file system optimized for resource-scarce devices. This packa= =67e =20provides user-space tools for creating EROFS file systems.") =20 (license license:gpl2+))) =2B =2B(define-public rasdaemon =2B (package =2B (name "rasdaemon") =2B (version "0.6.6") =2B (source =2B (origin =2B (method git-fetch) =2B (uri (git-reference =2B (url "https://github.com/mchehab/rasdaemon") =2B (commit (string-append "v" version)))) =2B (file-name (git-file-name name version)) =2B (sha256 =2B (base32 "13g39x19lfjf9izdcb0nlyfjrgpliivhv4nw3ndgyzi59l3yqc0v"))= =29) =2B (native-inputs `(("autoconf" ,autoconf) =2B ("automake" ,automake) =2B ("libtool" ,libtool))) =2B (inputs `(("sqlite" ,sqlite))) =2B (arguments =2B `(#:configure-flags '("--enable-all" =2B "--localstatedir=3D/var") =2B #:phases =2B (modify-phases %standard-phases =2B (add-before 'configure 'munge-autotools =2B (lambda _ =2B ;; For some reason upstream forces sysconfdir=3D/etc. This= =20results =2B ;; in EPERM during the install phase. Removing the offendi= =6Eg =2B ;; line lets sysconfdir correctly pick up DESTDIR. =2B (substitute* "configure.ac" =2B (("^test .* sysconfdir=3D/etc\n$") "")) =2B ;; Upstream tries to create /var/lib/rasdaemon at install t= =69me. =2B ;; This results in EPERM on guix. Instead, the service sho= =75ld =2B ;; create this at activation time. =2B (substitute* "Makefile.am" =2B (("^\\s*\\$\\(install_sh\\) -d .*@RASSTATEDIR@.*$") "")))= =29))) =2B (build-system gnu-build-system) =2B (home-page "https://github.com/mchehab/rasdaemon") =2B (synopsis "Platform Reliability, Availability and Serviceability too= =6Cs") =2B (description "The @code{rasdaemon} program is a daemon which monitor= =73 the =2Bplatform Reliablity, Availability and Serviceability (RAS) reports from = =74he =2BLinux kernel trace events. These trace events are logged in =2B/sys/kernel/debug/tracing, reporting them via syslog/journald.") =2B (license license:gpl2))) =64iff --git a/gnu/services/linux.scm b/gnu/services/linux.scm =69ndex 340b330030..2eb02ac5a3 100644 =2D-- a/gnu/services/linux.scm =2B++ b/gnu/services/linux.scm =40@ -3,6 +3,7 @@ =20;;; Copyright =C2=A9 2020 Brice Waegeneire =20;;; Copyright =C2=A9 2020 Efraim Flashner =20;;; Copyright =C2=A9 2021 raid5atemyhomework =2B;;; Copyright =C2=A9 2021 B. Wilson =20;;; =20;;; This file is part of GNU Guix. =20;;; =40@ -47,6 +48,11 @@ =20= =20 kernel-module-loader-service-type =20= =2B rasdaemon-configuration =2B rasdaemon-configuration? =2B rasdaemon-configuration-record? =2B rasdaemon-service-type =2B =20 zram-device-configuration =20 zram-device-configuration? =20 zram-device-configuration-size =40@ -188,6 +194,49 @@ representation." =20 (extend append) =20 (default-value '()))) =20= =2B=0C =2B;;; =2B;;; Reliability, Availability, and Serviceability (RAS) daemon =2B;;; =2B =2B(define-record-type* =2B rasdaemon-configuration make-rasdaemon-configuration =2B rasdaemon-configuration? =2B (record? rasdaemon-configuration-record? (default #f))) =2B =2B(define (rasdaemon-configuration->command-line-args config) =2B "Translate to its command line arguments =2B representation" =2B (let ((record? (rasdaemon-configuration-record? config))) =2B `(,(file-append rasdaemon "/sbin/rasdaemon") =2B "--foreground" ,@(if record? '("--record") '())))) =2B =2B(define (rasdaemon-activation config) =2B (let ((record? (rasdaemon-configuration-record? config)) =2B (rasdaemon-dir "/var/lib/rasdaemon")) =2B (with-imported-modules '((guix build utils)) =2B #~(if #$record? (mkdir-p #$rasdaemon-dir))))) =2B =2B(define (rasdaemon-shepherd-service config) =2B (shepherd-service =2B (documentation "Run rasdaemon") =2B (provision '(rasdaemon)) =2B (requirement '(syslogd)) =2B (start #~(make-forkexec-constructor =2B '#$(rasdaemon-configuration->command-line-args config))) =2B (stop #~(make-kill-destructor)))) =2B =2B(define rasdaemon-service-type =2B (service-type =2B (name 'rasdaemon) =2B (default-value (rasdaemon-configuration)) =2B (extensions =2B (list (service-extension shepherd-root-service-type =2B (compose list rasdaemon-shepherd-service)) =2B (service-extension activation-service-type rasdaemon-activatio= =6E))) =2B (compose concatenate) =2B (description "Run @command{rasdaemon}, the RAS monitor"))) =2B =20=0C =20;;; =20;;; Kernel module loader. =2D-=20 =32.31.1 =0A= ------_=_0d33e8e03f6f767c601c41e7_=_-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 24 12:34:11 2021 Received: (at 47905-done) by debbugs.gnu.org; 24 Apr 2021 16:34:11 +0000 Received: from localhost ([127.0.0.1]:41354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laLER-0001P5-CB for submit@debbugs.gnu.org; Sat, 24 Apr 2021 12:34:11 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:47505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laLEN-0001OS-1f for 47905-done@debbugs.gnu.org; Sat, 24 Apr 2021 12:34:09 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 01B1FDAA; Sat, 24 Apr 2021 12:33:59 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sat, 24 Apr 2021 12:34:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=XmocqNH3Zi/64F4IK68WfeDW fmUOVk6ux1l9h5HUt+M=; b=BKhYP6QeI1YBM8mbjupUVXI4J45kpOlN/QIxVMfF MtNaejQ121yjKpn3Rfos/G31BW2HZTgC4yDZ0GERDrUlOwRBScG7mHDqxMPTPqRn CDtjvPgSMsmNCG02Gt5nBRLZcfQgqOml93VxJDm5V2M2skyal42IyOV3INleHsPV EIs= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=XmocqN H3Zi/64F4IK68WfeDWfmUOVk6ux1l9h5HUt+M=; b=AFpDkJnBQ8AC6KbJUJtiec QTnOOse2VfJXF1R2KF8f5mU2E8il1eDk56defez7V9uQ73bXK7C3kPrRtHFD9Mj3 vrH57wjDPH+GjdmaaLGatGL1VROeqlJyngI/SZcoMPjoFGOnA6xtHULim8VWuYi3 iJbUW7Jd502nTKC5H7SFH64xmIr6sY24fQLusoN+wyKveIUAP0edfk3l99GMg7GN 0QL+xL1658Pcdgy/7E+GPasXWNwrQm3fI5TgKxmhcCUek+yyL67OxRrLEqCwmfA9 bUwSylU46/OVnbJDH3RIc9x87C2IigqCKOPUoEv3P5U/GE3vWfV39jl5oHxWFHGg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddugedguddtgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtd erredttdejnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhl rghrihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeeigffhfeeftdffkeevkedttdeike efffeltdfgveekkeetueeftdefhfeghfekfeenucfkphepuddttddruddurdduieelrddu udeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplh gvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 1BC771080057; Sat, 24 Apr 2021 12:33:59 -0400 (EDT) Date: Sat, 24 Apr 2021 12:33:56 -0400 From: Leo Famulari To: elaexuotee@wilsonb.com Subject: Re: [bug#47905] gnu: Add rasdaemon. Message-ID: References: <31MWDEN7Q9XOV.2001N5J6G4U9K@wilsonb.com> <34GOUL165TOWY.3FR9YU3I80NFA@wilsonb.com> <377TR65TD6KJY.2JY05ANZ7375P@wilsonb.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QXVQr5Fgx9KCZ/7o" Content-Disposition: inline In-Reply-To: <377TR65TD6KJY.2JY05ANZ7375P@wilsonb.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47905-done Cc: 47905-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --QXVQr5Fgx9KCZ/7o Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 22, 2021 at 07:01:20PM +0900, elaexuotee@wilsonb.com wrote: > Fixed! Thanks for holding my hand on this. That above link cleared up a= lot > of lingering questions I had. You're welcome! My goal is help contributors keep learning until they are sending patches that pass code review on the first try, and they feel confident to start reviewing patches, too. Based on this submission, I think you are more than knowledgeable enough to review some patches :) > Let me know what you think. > From d31cb88e5c34cc0b650ff181ebb6a0d85d045f9d Mon Sep 17 00:00:00 2001 > From: "B. Wilson" > Date: Tue, 20 Apr 2021 11:49:26 +0900 > Subject: [PATCH] gnu: Add rasdaemon. > To: guix-patches@gnu.org >=20 > * gnu/packages/linux.scm (rasdaemon): New variable. > * gnu/services/linux.scm (rasdaemon-configuration) > (rasdaemon-configuration?, rasdaemon-configuration-record?) > (rasdaemon-service-type): New variables. > * doc/guix.texi (Linux Services): Document it. It's good! I pushed as 2c93df3d11bf8ceeb5c203416a2533cf32275e1a after splitting it into two commits: one for the package, and one for the service and its documentation. By the way, you might ask upstream about fixing the issues in their build scripts =E2=80=94 the ones you fixed in the 'munge-autotools' phase. I think most distros will need to do similar fixes. --QXVQr5Fgx9KCZ/7o Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAmCESHQACgkQJkb6MLrK fwgSPRAAooeaCgqZEY/NVaEroGd52Ac4+J5aQoqnYSP+G5scXlpqaWoM+hblQlYS 0Qdmt3aRrVag2Asp21PIuiJjt0U3VIsJMm/zoOFn+f1+SVCFEDxXYo7DJ0oFBogM rsuXYZJ7M4Wbmz0tXW+k5HZvB063UtMAi+5A+IkoYfYHYOAtdI/wBr0kMsmex5Qf VY8TP4CIlBNHLd0qQa83au58GlY3gcBAuGgO5A8b8VAAgjdIURYAJRanOdpjoN9Q xqzArH7+Wqg1T+hfsj6W4zp3dYus5jd7Vh9gghuJkccMzjRJfV58KQTPEnHF3PUZ fuRm24910uZ4pJttKMJDISekxxEJB0nW2ikd0VQuu8ZIjFyuo8Yb0v+wuYVBD1WE m9Ou+m0ZSBslMrvLXQXHBDTDGLCW+WteArn7Zv8qQQH/p2r4zcq7NI5MsmnuCTsi QV7ogqw6MfVYlcGLg29hLbZnHdiwrZm50M5IHZmfitJI4Ps9nUOCDOZPHFyY+TbF gXq5uVYRM3qHMN+czptmR3F0SVrkQm4H2rZYxM9ZAn00d2G6IpTZFdS6ynXUVZlM nNJiPp+gRqSSfHZQqD1KuK62awk3rlF1Gw/attMjufUw5Ce5N4BKNgD88SKFskGt t/BF9NeX+BiEN//tER7ooqVf5DOiOytylWP6qeNoJ/bHbwAVL40= =zS6I -----END PGP SIGNATURE----- --QXVQr5Fgx9KCZ/7o-- From unknown Tue Jun 17 20:20:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 23 May 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator