From unknown Thu Jun 19 14:14: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#50325 <50325@debbugs.gnu.org> To: bug#50325 <50325@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add fatrace. Reply-To: bug#50325 <50325@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:14:52 +0000 retitle 50325 [PATCH] gnu: Add fatrace. reassign 50325 guix-patches submitter 50325 Rapha=C3=ABl M=C3=A9lotte severity 50325 normal tag 50325 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 15:05:53 2021 Received: (at submit) by debbugs.gnu.org; 1 Sep 2021 19:05:53 +0000 Received: from localhost ([127.0.0.1]:39018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLVYS-0008EM-PV for submit@debbugs.gnu.org; Wed, 01 Sep 2021 15:05:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:38330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLVYH-0008Dd-Bf for submit@debbugs.gnu.org; Wed, 01 Sep 2021 15:05:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLVYF-0007yr-QP for guix-patches@gnu.org; Wed, 01 Sep 2021 15:05:37 -0400 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:41540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLVY8-0007zT-St for guix-patches@gnu.org; Wed, 01 Sep 2021 15:05:33 -0400 Received: by mail-ed1-x529.google.com with SMTP id eb14so386587edb.8 for ; Wed, 01 Sep 2021 12:05:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mind.be; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fyXmUZhxE6o4xVr6/7XSPtyXRj6mm69fnstIxn7dwQk=; b=MLb7VzcoEdx9YrBH41EPzA/em1j00wVNsp+vrlnOT7W63hZ4B3xpDnQoXkOOWkn/y6 Tic6qeIzXRsnKT+9DUjm1DdcAresi40At/Suj9+ToAIvH8+iXlZGy10CryiKN0bcNDFM NPajsOzghtXQdRBGosHeDnJHG9PMxaDahBq1It4dofHze+oc24uje6WY5eSX85Wb64oQ QBPO9iJMLqSBxgMEo/bX7FnahZssI8tgnyz0cfrdhytuHaFnhyONu0k7ZbwUQDDMHuyr fGW4SbCfV792xEpWZRg2Tv+tMYufoDToHVnKChurPGFenMEmioRa/zPD4iHYxHrk7esD ZO8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fyXmUZhxE6o4xVr6/7XSPtyXRj6mm69fnstIxn7dwQk=; b=kQ9WWuP8OtVQkj1VMX3eCuTn8WzyO2oqyqwjn3UTxfeHU8eSYnNukhZZK78NKq9Ebe ANa7TGjWbAtaLw4bTeZeMs3/Fxik4rOdVkzBSG3fLc8+0R4xpNvk30SlGwIg2c6VkHQm x34lm3s6YXq6La6mbLGA+bcH5SmnIznSHJ0At536t+oqsUSZo3+3etGsfxKcL7kCmLGU rtuHyUmNRDr2UKQBmiInUq2bvwukzgSefcTUaJ5iWy0LNL7Exbvsx62Rb22z5GBZoZzG J4sAYDt/CSL0o8zzQAt5fMzfIdYN8rjyeKSO2/PuTkzXJbKDbcUfLIfbwmHMqzUrSsuB O1/w== X-Gm-Message-State: AOAM533oKWQ4ngt7JWUCNbBZlxkFdV6WLQApr3H/gFp3YW1Dez3CZKXA 3SNii/ZBH1viX6lSbwv1RCpilSsHjvzWtkwp X-Google-Smtp-Source: ABdhPJxuUIq/ZahpMSBTIoi8xsgIhFSdT92K7naStxu3QxUG3cr3A7jB2HTlZbbri5uAhQC8aWxdIA== X-Received: by 2002:aa7:c685:: with SMTP id n5mr1114054edq.27.1630523121958; Wed, 01 Sep 2021 12:05:21 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:6bfb:d00:7eb0:c2ff:fef4:f493]) by smtp.gmail.com with ESMTPSA id s18sm307482ejh.12.2021.09.01.12.05.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 12:05:21 -0700 (PDT) From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= To: guix-patches@gnu.org Subject: [PATCH] gnu: Add fatrace. Date: Wed, 1 Sep 2021 21:04:36 +0200 Message-Id: <20210901190436.13571-1-raphael.melotte@mind.be> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=raphael.melotte@essensium.com; helo=mail-ed1-x529.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= 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.1 (--) * gnu/packages/monitoring.scm (fatrace): New variable. --- gnu/packages/monitoring.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm index d2aef0eaab..87df0fa634 100644 --- a/gnu/packages/monitoring.scm +++ b/gnu/packages/monitoring.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2020 Lars-Dominik Braun ;;; Copyright © 2021 Marius Bakke ;;; Copyright © 2021 Stefan Reichör +;;; Copyright © 2021 Raphaël Mélotte ;;; ;;; This file is part of GNU Guix. ;;; @@ -650,3 +651,30 @@ LAN, if wanted, and clients can switch between multiple hosts on the network. Hostscope features a bridge to Influx DB. So Grafana can be used to visualize the recorded data over time.") (license license:gpl3+))) + +(define-public fatrace + (package + (name "fatrace") + (version "0.16.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/martinpitt/fatrace") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1bxz6v1z0icp716jnv3knjyqp8bv6xnkz8gqd8z3g2b6yxj5xff3")))) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (delete 'configure) + ;; there are no tests to execute: + (delete 'check)) + #:make-flags + (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)))) + (synopsis "File access events monitor") + (description "Utility to report system wide file access events.") + (home-page "https://github.com/martinpitt/fatrace") + (license license:gpl3+))) -- 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 16:10:53 2021 Received: (at 50325) by debbugs.gnu.org; 1 Sep 2021 20:10:53 +0000 Received: from localhost ([127.0.0.1]:39069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLWZR-0001Ux-4P for submit@debbugs.gnu.org; Wed, 01 Sep 2021 16:10:53 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:41122 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLWZO-0001Uh-4a for 50325@debbugs.gnu.org; Wed, 01 Sep 2021 16:10:51 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1630527040; bh=6T+SgofbVvX9R3wE2f+nOGghWqzY2y4vRjkhCoQZ1OY=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=sHqcHn41EOz3N3PeXjqBKNwRnclu+WQarXjBA0sb8/Uks84h4Wxu12v5S3/p6dtL8 aWHjsqbncKKaZkZS/cxEM/I9am119sYMnfzF+iFNuzv6LT9dfYJxwMe9wZuMidVG/w 8Lq0+crXPbxvGse5HV0meB5QiMSqNPFX6uf8Wjwo= To: =?utf-8?Q?Rapha=C3=ABl_M=C3=A9lotte?= , 50325@debbugs.gnu.org Subject: Re: [bug#50325] [PATCH] gnu: Add fatrace. In-Reply-To: <20210901190436.13571-1-raphael.melotte@mind.be> References: <20210901190436.13571-1-raphael.melotte@mind.be> Date: Wed, 01 Sep 2021 22:10:36 +0200 Message-ID: <87czpsjbur.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, Sep 01 2021, Raphaël Mélotte wrote: > * gnu/packages/monitoring.scm (fatrace): New variable. > --- > gnu/packages/monitoring.scm | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/gnu/packages/monitori [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps X-Debbugs-Envelope-To: 50325 Cc: =?utf-8?Q?Rapha=C3=ABl_M=C3=A9lotte?= 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.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, Sep 01 2021, Raphaël Mélotte wrote: > * gnu/packages/monitoring.scm (fatrace): New variable. > --- > gnu/packages/monitoring.scm | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/gnu/packages/monitori [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, Sep 01 2021, Rapha=C3=ABl M=C3=A9lotte wrote: > * gnu/packages/monitoring.scm (fatrace): New variable. > --- > gnu/packages/monitoring.scm | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm > index d2aef0eaab..87df0fa634 100644 > --- a/gnu/packages/monitoring.scm > +++ b/gnu/packages/monitoring.scm > @@ -9,6 +9,7 @@ > ;;; Copyright =C2=A9 2020 Lars-Dominik Braun > ;;; Copyright =C2=A9 2021 Marius Bakke > ;;; Copyright =C2=A9 2021 Stefan Reich=C3=B6r > +;;; Copyright =C2=A9 2021 Rapha=C3=ABl M=C3=A9lotte > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -650,3 +651,30 @@ LAN, if wanted, and clients can switch between multi= ple hosts on the network. > Hostscope features a bridge to Influx DB. So Grafana can be used to vis= ualize > the recorded data over time.") > (license license:gpl3+))) > + > +(define-public fatrace > + (package > + (name "fatrace") > + (version "0.16.3") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/martinpitt/fatrace") > + (commit version))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "1bxz6v1z0icp716jnv3knjyqp8bv6xnkz8gqd8z3g2b6yxj5xff3"))= )) > + (build-system gnu-build-system) > + (arguments > + `(#:phases (modify-phases %standard-phases Nit: The =E2=80=98modify-phases=E2=80=99 form is usually on a separate line: (arguments `(#:phases (modify-phases %standard-phases ...))) =20=20=20=20=20=20 > + (delete 'configure) > + ;; there are no tests to execute: > + (delete 'check)) Are you sure about that? There is a test/ directory in the Git repo. > + #:make-flags > + (list (string-append "CC=3D" ,(cc-for-target)) > + (string-append "PREFIX=3D" %output)))) > + (synopsis "File access events monitor") > + (description "Utility to report system wide file access events.") The description should be a complete sentence; maybe (based on the README) This package provides a utility to report system wide file access events from all running processes. Its main purpose is to find processes which keep waking up the disk unnecessarily and thus prevent some power saving. The package builds fine. :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmEv3jwVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x58SIP/1YA8Zxrpwrq5GeKdbBqWv0Yfmv2 sPxEGwHedmVBxBzsikDeTND/0Vv6cXwVipbc4hEFkUghtkJE201SW/QtqXL7Tc6R g402T+9nIQe0qtUPvf2ncids24l3Nu8CPCcs5PgkQGuYxsK8Kj8SHIR0GJLaFXws /qeRpw/QOmlIuIywB8GgUpNhAZ0NupF334ELaNXqcM9rEG47x3Wumqi5VUcjQ/bJ DssmB1AQfirN5gYTe0Pi4A7CTTa3mH/mBwWseIYHUTAllMep1w/mB2BYubikfBI2 jAjjy/6CbnwGSncl+LRlbfvsYTPFVqwGgvUo7hsoDNoPz1eeVhFilSEVDie1kssS GxEibSdAqUyqWL6rT15RckTN5m+hHzQpaA81gJdZtVGxC+ShWrQNiKmLK8QSHPGW hjHGzsxiz9etXUc99MNOLQlOoAhbS7ah4IfUb/+lhaym+fPzu8V9qqHxXkjYi33W nnPP/jXVknN5PLeyb40cKI075nP7VHimjxgPIqlv9g8Wfr6aDFO5aUdhRzfdi29d BTV6b74CF+NjDsFrIuc2I3lfPwKhKRx7LwkBDBMx9wEk2Vl+fsuYXjqqqmTJlbRQ tMfuedD+ZvFdUOCVnSx3PchGGJ/nkvpHPKRlowHw5KEQYt4pSO+cWcKvhyBg2H1x KeNS6vpKoI3HvVGn =fDcg -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 16:34:59 2021 Received: (at 50325) by debbugs.gnu.org; 1 Sep 2021 20:34:59 +0000 Received: from localhost ([127.0.0.1]:39076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLWwl-00028R-8R for submit@debbugs.gnu.org; Wed, 01 Sep 2021 16:34:59 -0400 Received: from mail-ej1-f49.google.com ([209.85.218.49]:33286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLWwi-00028D-Lc for 50325@debbugs.gnu.org; Wed, 01 Sep 2021 16:34:58 -0400 Received: by mail-ej1-f49.google.com with SMTP id x11so2039825ejv.0 for <50325@debbugs.gnu.org>; Wed, 01 Sep 2021 13:34:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mind.be; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=BETaTQZcF3E/ESqWtwMNozLrFG8NX6hFO3pBdpXQpMQ=; b=fcEwkpa+bzG97b0vDXaQIPkUooX1/2hR1vORgI8YtNTHsuAHl4BbCwE+65+/oKlgxi JuX9+frXF27rUzGl16yN6Vq27W0iJTWkwgAmr9zOa6CPrURHwJvLkpvB27fH3lC1ta2l 4NIEgrirBnuzpbQfpo+w7/YuTkD9dPWvdJmLUIpmtnW9e7xzP2pHUoPBvUA3qraFp22u gg5QRscH0dy6X0mrHPZgNfUwVrsCJDK4DbJLVXydaw5nhayFvokVkZtOwBUylFGRgt34 uD52COK/O25GjcGvDqPvlU1cerU3evBEUo3k9nR9STV+vi9oVvGCW5QHgzlnU5mV/aht vg8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=BETaTQZcF3E/ESqWtwMNozLrFG8NX6hFO3pBdpXQpMQ=; b=dDHBm7xHYeyp+MICsiy6nAaevPFc/SoUg/aMU1FmyTkikuCILhexp0qxRKKp22uawy V0u0cB9JRN5W98s+lSeyw3wIGPbK1tcNCqf/2/9PcKc0Rw8d9sJOtMIrJvj04ibZXLJ/ zn/9XvCTDpiajnngU/WPHo7aSWo2MgrHcFGBClRRV/2oqNCef5D3hJg4jfHO2WJ/aTeT OciPoSTOp2YN/XP2JOxJ2HhXon4vBWK9LsD/nrSbgZuvyGpYYM6tzcf1Z0oEZP/3M5A4 2efDhIHHVcqMsSLR49sOgVxFVQhaK9QsEcrNN8sOFPJ2LiRmDIZR0z6i5a+0CLjaeBMe j2nQ== X-Gm-Message-State: AOAM53360LzodGN4fiAZhIREH+dgGDP+OwLuCAeuTZkrwvK7K4YF+Mg/ TI7/BFZJ1UC2cnPk1+c8NZ+UhwEBFkO4KEI5 X-Google-Smtp-Source: ABdhPJwOMN9LYqNzivQSs2b5x6pFqC09pQNB30rdw1zb4iepJebr1huAH5x6tOfpP2d6QoxUDmnDrg== X-Received: by 2002:a17:906:6bc5:: with SMTP id t5mr1495515ejs.340.1630528490668; Wed, 01 Sep 2021 13:34:50 -0700 (PDT) Received: from [192.168.1.45] (5.26-130-109.adsl-dyn.isp.belgacom.be. [109.130.26.5]) by smtp.gmail.com with ESMTPSA id r27sm375082edb.66.2021.09.01.13.34.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Sep 2021 13:34:50 -0700 (PDT) Subject: Re: [bug#50325] [PATCH] gnu: Add fatrace. To: Xinglu Chen , 50325@debbugs.gnu.org References: <20210901190436.13571-1-raphael.melotte@mind.be> <87czpsjbur.fsf@yoctocell.xyz> From: =?UTF-8?B?UmFwaGHDq2wgTcOpbG90dGU=?= Message-ID: <6cc5c0d1-8deb-8855-d7bf-4c20a0aa7ef7@mind.be> Date: Wed, 1 Sep 2021 22:34:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <87czpsjbur.fsf@yoctocell.xyz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 50325 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.8 (/) Thanks for the review! On 9/1/21 10:10 PM, Xinglu Chen wrote: > On Wed, Sep 01 2021, Raphaël Mélotte wrote: > >> * gnu/packages/monitoring.scm (fatrace): New variable. >> --- >> gnu/packages/monitoring.scm | 28 ++++++++++++++++++++++++++++ >> 1 file changed, 28 insertions(+) >> >> diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm >> index d2aef0eaab..87df0fa634 100644 >> --- a/gnu/packages/monitoring.scm >> +++ b/gnu/packages/monitoring.scm >> @@ -9,6 +9,7 @@ >> ;;; Copyright © 2020 Lars-Dominik Braun >> ;;; Copyright © 2021 Marius Bakke >> ;;; Copyright © 2021 Stefan Reichör >> +;;; Copyright © 2021 Raphaël Mélotte >> ;;; >> ;;; This file is part of GNU Guix. >> ;;; >> @@ -650,3 +651,30 @@ LAN, if wanted, and clients can switch between multiple hosts on the network. >> Hostscope features a bridge to Influx DB. So Grafana can be used to visualize >> the recorded data over time.") >> (license license:gpl3+))) >> + >> +(define-public fatrace >> + (package >> + (name "fatrace") >> + (version "0.16.3") >> + (source (origin >> + (method git-fetch) >> + (uri (git-reference >> + (url "https://github.com/martinpitt/fatrace") >> + (commit version))) >> + (file-name (git-file-name name version)) >> + (sha256 >> + (base32 >> + "1bxz6v1z0icp716jnv3knjyqp8bv6xnkz8gqd8z3g2b6yxj5xff3")))) >> + (build-system gnu-build-system) >> + (arguments >> + `(#:phases (modify-phases %standard-phases > > Nit: The ‘modify-phases’ form is usually on a separate line: > > (arguments > `(#:phases > (modify-phases %standard-phases > ...))) > Ok, I'll change it. >> + (delete 'configure) >> + ;; there are no tests to execute: >> + (delete 'check)) > > Are you sure about that? There is a test/ directory in the Git repo. Indeed, the comment is incorrect. That said the tests need to run as root, have no make target, and need write access to /etc so I think we can't run them anyway (at least not as-is). > >> + #:make-flags >> + (list (string-append "CC=" ,(cc-for-target)) >> + (string-append "PREFIX=" %output)))) >> + (synopsis "File access events monitor") >> + (description "Utility to report system wide file access events.") > > The description should be a complete sentence; maybe (based on the README) > > This package provides a utility to report system wide file access > events from all running processes. Its main purpose is to find > processes which keep waking up the disk unnecessarily and thus prevent > some power saving. > Ok, I'll update it. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 16:44:29 2021 Received: (at 50325) by debbugs.gnu.org; 1 Sep 2021 20:44:29 +0000 Received: from localhost ([127.0.0.1]:39089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLX5x-0002Nb-E7 for submit@debbugs.gnu.org; Wed, 01 Sep 2021 16:44:29 -0400 Received: from mail-ed1-f42.google.com ([209.85.208.42]:39898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLX5v-0002NP-Dp for 50325@debbugs.gnu.org; Wed, 01 Sep 2021 16:44:27 -0400 Received: by mail-ed1-f42.google.com with SMTP id r7so795057edd.6 for <50325@debbugs.gnu.org>; Wed, 01 Sep 2021 13:44:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mind.be; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FafC6n428iQjN8Fipwmb+FTpk/DaxJezYV6UvDT+K8c=; b=ODk1QiBUM6mVCndjtbPp0EmEO3yjM/nJXb+SiA5AoH0C+/Ga3DISRPIs/oApYdn1AX 9DDhUItkyMMGYZsveh/CQHyV+d/eEsQ3I2ntTTjmDFgT67uahE8hYhT2Q6JV3x00ddGH zpVqpEWrsS0zkYf1K+dcTOC5nZ66ZKeHMWmRCfq4PQNwnQz5BT/IFiEWO17uA3kKaviL crso7a5C8ClYWzsHHLUaPA1UdzU5aPyLgWbxRadvVF3efZfhJsnkTgOKH8Ee1yKPHQWz 4oG8zLnyus6kHtTStuoxGdDFYbWly8nuZEMXEgxq5RWKFoi5nOXp9E3Jd4yI0V3zM64r 4oZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FafC6n428iQjN8Fipwmb+FTpk/DaxJezYV6UvDT+K8c=; b=g900Zy4ZPVyp8StYoGF6flk853TNK+X/PI6NIKMrK/rFaNHKyOhONgPFhvInwhZFAy Yer/+G8lHRfKqGlpYsL2kPJK1aju/Tz9/IzS17OAVFk5VVEX8ifuC2p+29Al5SvZDSJQ 7xOHktYFP5RcxPpaCsHs9h/VKfs5COCok6VnsROqO8pa3THk5NyTCowfQqhtTo0iwJ2g p7YgdCrqqf4Fg8VrbEkLCioPBKAMx+qOMIrJ70e1gy4VgnL0DcZwGFVCllvEUvTdPy5J KWM/HkAHZW82O1YG2D1T1uFHzVoBClYUpOYZOoNhKcLgahZr2JcWIzviKqQ9BmWAwdHF fRKg== X-Gm-Message-State: AOAM531tDSLdTWcxKXEW8HAacWLtrRXVgIqEtPCQ6BtS3844VWda/G0L lCQp+hVXyOflTfpKqA3KpBxa2bn5r8ex7Dav X-Google-Smtp-Source: ABdhPJxnzwfxu60YNzKdBHwOESi0r3pJtwH8pQUMz0Tn5+vrZRQJLHzVSsN5f9AQu6mxGU6IFJHBHA== X-Received: by 2002:a05:6402:1642:: with SMTP id s2mr1469269edx.135.1630529061393; Wed, 01 Sep 2021 13:44:21 -0700 (PDT) Received: from localhost.localdomain (5.26-130-109.adsl-dyn.isp.belgacom.be. [109.130.26.5]) by smtp.gmail.com with ESMTPSA id b3sm387678ejb.7.2021.09.01.13.44.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 13:44:20 -0700 (PDT) From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= To: 50325@debbugs.gnu.org Subject: [PATCH v2] gnu: Add fatrace. Date: Wed, 1 Sep 2021 22:43:35 +0200 Message-Id: <20210901204335.17131-1-raphael.melotte@mind.be> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 50325 Cc: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= 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.8 (/) * gnu/packages/monitoring.scm (fatrace): New variable. --- Changes v1 -> v2 (all suggested by Xinglu Chen): - put modify-phases on its own line. - update the description. - fix the comment for the check phase. gnu/packages/monitoring.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm index d2aef0eaab..46dea5eeb8 100644 --- a/gnu/packages/monitoring.scm +++ b/gnu/packages/monitoring.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2020 Lars-Dominik Braun ;;; Copyright © 2021 Marius Bakke ;;; Copyright © 2021 Stefan Reichör +;;; Copyright © 2021 Raphaël Mélotte ;;; ;;; This file is part of GNU Guix. ;;; @@ -650,3 +651,35 @@ LAN, if wanted, and clients can switch between multiple hosts on the network. Hostscope features a bridge to Influx DB. So Grafana can be used to visualize the recorded data over time.") (license license:gpl3+))) + +(define-public fatrace + (package + (name "fatrace") + (version "0.16.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/martinpitt/fatrace") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1bxz6v1z0icp716jnv3knjyqp8bv6xnkz8gqd8z3g2b6yxj5xff3")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure) + ;; tests need root to run as root, + ;; and there is no make target for them: + (delete 'check)) + #:make-flags + (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)))) + (synopsis "File access events monitor") + (description "This package provides a utility to report system wide file +access events from all running processes. Its main purpose is to find +processes which keep waking up the disk unnecessarily and thus prevent some +power saving.") + (home-page "https://github.com/martinpitt/fatrace") + (license license:gpl3+))) -- 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 02 16:03:02 2021 Received: (at 50325) by debbugs.gnu.org; 2 Sep 2021 20:03:02 +0000 Received: from localhost ([127.0.0.1]:42120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLsvO-0004EW-CK for submit@debbugs.gnu.org; Thu, 02 Sep 2021 16:03:02 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:42124 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLsvI-0004Dw-SO for 50325@debbugs.gnu.org; Thu, 02 Sep 2021 16:03:01 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1630612967; bh=Fz+v7N1BWK46G8oS3OBH1pIoQIEqWyB8W7DFHxWsFhE=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=nD78zcp4+F6FU5Uyqm1a8L/Ke6npEeCkeQEnD1PyO3xDZZayMunQsbHA5DTbYHwEg qFoSUmqR9VRwtyjgxfjmZWa8ruCQpR6xPdIZ61Pz8w3inxx5vzA3mqzRP8qrFcnSgG /MpQHaWQNd3GPyLQ1hnyTmCRycpTE0jUeJ8QrolU= To: =?utf-8?Q?Rapha=C3=ABl_M=C3=A9lotte?= , 50325@debbugs.gnu.org Subject: Re: [bug#50325] [PATCH v2] gnu: Add fatrace. In-Reply-To: <20210901204335.17131-1-raphael.melotte@mind.be> References: <20210901190436.13571-1-raphael.melotte@mind.be> <20210901204335.17131-1-raphael.melotte@mind.be> Date: Thu, 02 Sep 2021 22:02:45 +0200 Message-ID: <871r66kaoq.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, Sep 01 2021, Raphaël Mélotte wrote: > * gnu/packages/monitoring.scm (fatrace): New variable. > --- > Changes v1 -> v2 (all suggested by Xinglu Chen): > - put modify-phases on its own line. > - update the description. > - fix the comment [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps X-Debbugs-Envelope-To: 50325 Cc: =?utf-8?Q?Rapha=C3=ABl_M=C3=A9lotte?= 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.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, Sep 01 2021, Raphaël Mélotte wrote: > * gnu/packages/monitoring.scm (fatrace): New variable. > --- > Changes v1 -> v2 (all suggested by Xinglu Chen): > - put modify-phases on its own line. > - update the description. > - fix the comment [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, Sep 01 2021, Rapha=C3=ABl M=C3=A9lotte wrote: > * gnu/packages/monitoring.scm (fatrace): New variable. > --- > Changes v1 -> v2 (all suggested by Xinglu Chen): > - put modify-phases on its own line. > - update the description. > - fix the comment for the check phase. LGTM! I don=E2=80=99t have commit access though. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmExLeUVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5D5MP/A0wF08iYJdNz28j0x91KURbUy8U EtOf7DUdN1tk1Obg12Es8a7jvKcegxHMQ7TBFhmLbYVmwfK/NkaQv6peK2MqaRlv aISPqtJBJSbKGjvA0IxHeipi9zyxJLRg4O2NnweTYI3Gi5jFwv3n7CpiWL0kTA/J imeQgpq13vkt3/rucLNncRf3dzddHFEKSeIVgk69eUXGTQSC+m+zXGXPHHmN2xvW W2AKspqHLagxXHxoFVXYOnjSL+WVePJ7GsL8hcaAIzhje0oRZ5FM5MdF8KEex/2Y UJyqh3gCDIppwGHYqdtZ1GMyFArLuVfiH4b+C/Yl8rUc0rgkUnvvVxoqHo9hTcxq 55BvmHNIbTcDUOJqEDuo+D5FghkjgP80gEGRLtJ9RD20D3OAbyLRFmeXAJFXjN4K SHYyA1Ud+0kx/CeZwGeqbmeoeQroaRTV2bjKNXPrckDh8xg8HSukQqCsxaXew6Ka BchzU0iOsaaNakW133NBuuGyqgbZDv79mZ/Zzh+owUGRcwLPfzG/108tnz+ev/cl 5Io+Fgk+ODJN3TTsywm3gunnK1U6745p67Yrc/uFogn16izUFKqRtDwGDSJGJZ7A JQ95L8cgSZUoTIfTHGDWU8Yz61S9LlCLbm16gQjX+HRMMRY1Htdj5YtYm8grzvZ/ K66YebwW8KISdPAd =U1hR -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 03 16:18:00 2021 Received: (at 50325-done) by debbugs.gnu.org; 3 Sep 2021 20:18:00 +0000 Received: from localhost ([127.0.0.1]:45943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMFdQ-00081p-N8 for submit@debbugs.gnu.org; Fri, 03 Sep 2021 16:18:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMFdP-00081Y-Pi for 50325-done@debbugs.gnu.org; Fri, 03 Sep 2021 16:18:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58140) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMFdI-0006j6-OD; Fri, 03 Sep 2021 16:17:52 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48858 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMFdG-0003sg-VE; Fri, 03 Sep 2021 16:17:52 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: =?utf-8?Q?Rapha=C3=ABl_M=C3=A9lotte?= Subject: Re: bug#50325: [PATCH] gnu: Add fatrace. References: <20210901190436.13571-1-raphael.melotte@mind.be> <20210901204335.17131-1-raphael.melotte@mind.be> Date: Fri, 03 Sep 2021 22:17:49 +0200 In-Reply-To: <20210901204335.17131-1-raphael.melotte@mind.be> (=?utf-8?Q?=22Rapha=C3=ABl=09M=C3=A9lotte=22's?= message of "Wed, 1 Sep 2021 22:43:35 +0200") Message-ID: <87pmtpza4y.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50325-done Cc: 50325-done@debbugs.gnu.org, Xinglu Chen 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: -3.3 (---) Hi, Rapha=C3=ABl M=C3=A9lotte skribis: > * gnu/packages/monitoring.scm (fatrace): New variable. Applied. Thank you, and thanks Xinglu for the review! Ludo=E2=80=99. From unknown Thu Jun 19 14:14: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: Sat, 02 Oct 2021 11:24:05 +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