From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id HcnrLCJyfmDuVgAAgWs5BA (envelope-from ) for ; Tue, 20 Apr 2021 08:18:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WJGjJyJyfmBESAAA1q6Kng (envelope-from ) for ; Tue, 20 Apr 2021 06:18:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3DD1B1AC81 for ; Tue, 20 Apr 2021 08:18:10 +0200 (CEST) Received: from localhost ([::1]:55230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYji5-0004hX-Cr for larch@yhetil.org; Tue, 20 Apr 2021 02:18:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYjhy-0004hA-PI for guix-patches@gnu.org; Tue, 20 Apr 2021 02:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41217) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYjhy-0003Ai-IR for guix-patches@gnu.org; Tue, 20 Apr 2021 02:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYjhy-0000g0-EF for guix-patches@gnu.org; Tue, 20 Apr 2021 02:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47905] gnu: Add rasdaemon. Resent-From: elaexuotee@wilsonb.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Apr 2021 06:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47905 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Leo Famulari Cc: 47905@debbugs.gnu.org Received: via spool by 47905-submit@debbugs.gnu.org id=B47905.16188994622571 (code B ref 47905); Tue, 20 Apr 2021 06:18:02 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: elaexuotee@wilsonb.com X-ACL-Warn: , elaexuotee--- via Guix-patches From: elaexuotee--- via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618899490; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dY8Sk7o7orYDpoQCLPBWMjV6H4iSJYwlXF93MKIyq+k=; b=GyUgCulZIY41wuLxCLeAXu1sP9Bx+XMJQXF1VqeB+AcNLxmYrwCpQ1ZhpeHdNmqak1RaWv E3y8B8ZllwFelEEinYiEkDz98FnpUnHC+fIy8dUngv3TtDvPhSjWkAQ71nBMu4sFCpV9QL IjtWlE2kdYfQbVF715U0WYXSEsbuISh7zOCr3WM51+XuI1tvLx2KThxG6/6V03Qa1Vvc45 +Iginv566ovqu/0uwYzhEub/ng9Z0GWd0GRs2laZNIRMWpFl3tz4ooREymdaPi54Kc2MSm nYan9tTGnnI0JU1RGexlH5KFRsZVtmkwJ0J+PpkXj1N+MHjbOivhYLHvWm3STQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618899490; a=rsa-sha256; cv=none; b=hw8bDddkUvuzfZBBi+XXLYBcVERVo7y7CZGKcWjoFCz7gcrIdAJPNI6zm3RaLEpowjx05o XPAfzyjE4+jGt1vOrSX1Z/0o56QiHSxKhTKPUsI9EYP6vC7/7rkVJey4Y+aXwqNVRDKJIB xgHd1SknpNqEHmXqR4VOTML7MLhEFU3kFixBEDojKGuW8ES7ss/Emejw0tkZx8hv6HLrQ5 aZRhrGmOaj5QxMMAsrqHLYUzYUEAcism+x6K9wOvtGKZeuaGe6iiVUcj3V4FObGykuLYFn XRXBDzOYXeMHatrliBd0UCGInltFdw/ucCEiWVpTTUb502TIdBA8C+sMXQ9OGw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=gsEE6EW1; dkim=fail ("headers rsa verify failed") header.d=wilsonb.com header.s=201703 header.b=fH5tHGB6; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=gsEE6EW1; dkim=fail ("headers rsa verify failed") header.d=wilsonb.com header.s=201703 header.b=fH5tHGB6; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 3DD1B1AC81 X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: kCk66Guj4CLP 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?