From unknown Sun Aug 17 01:22:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64775: /run should be cleaned on boot Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 21 Jul 2023 19:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 64775@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168996746211908 (code B ref -1); Fri, 21 Jul 2023 19:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jul 2023 19:24:22 +0000 Received: from localhost ([127.0.0.1]:34902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMvji-000360-8N for submit@debbugs.gnu.org; Fri, 21 Jul 2023 15:24:22 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMvjd-00035k-9s for submit@debbugs.gnu.org; Fri, 21 Jul 2023 15:24:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMvjX-0007qR-SO for bug-guix@gnu.org; Fri, 21 Jul 2023 15:24:11 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMvjS-00033O-Dj for bug-guix@gnu.org; Fri, 21 Jul 2023 15:24:11 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 15C351AD10 for ; Fri, 21 Jul 2023 12:23:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1689967438; bh=+8cLa4+N4SlS7Lb0k0kYSeqN/QeSsKmQEK0WJeAXlRE=; h=From:To:Subject:Date:From; b=jDHpk6pI3qPtrd+S/qWKAESVSoYju8/bliY36H4qRoRcfA2VtgouQ0jWJQzy9uq7W yg1lVasq88zQlc6bzoNpSZDsZUabF1Zth8s4cqGm8f3FpCP9RvpAKMv/1gggd4ijte Oiko2UYfJrSZHA1lLAkX5KBPAW3guU814pUMOiFSkCpRNar+2UBl+rFQLlT2Upx1Ms OruwM/GAtgbSaoBSVkrwhwR3M+Pku3PekJnncFEtG2zGbaF/fyiBA/Xvq5lmOS5m3I DHPViMLahRorwLLNNjbRh3K1+UkLFGbD42pQAs1Im33cXFXvb3ALPy/M33sSJG20oh Dr6PcyX31zHgQ== From: Vagrant Cascadian Date: Fri, 21 Jul 2023 12:23:54 -0700 Message-ID: <878rb9ysol.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) 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 (-) --=-=-= Content-Type: text/plain So, if there are files sitting around in /run, they do not get cleaned up unless it is something guix is already aware of (e.g. /run/setuid-programs). I noticed this when experimenting with: https://issues.guix.gnu.org/61462 Add support for file capabilities(7) Even after a reboot, the leftovers from that experimental patchset were still present in /run... While I know that Guix does not really follow the FHS in most respects, maybe the intention of /run defined there should still be respected? https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html 3.15. /run : Run-time variable data 3.15.1. Purpose This directory contains system information data describing the system since it was booted. Files under this directory must be cleared (removed or truncated as appropriate) at the beginning of the boot process. ... Many distros implement this by having /run on a tmpfs, but making sure to clean up /run at boot seems like a reasonable thing to do at the very least. I am not sure if it makes sense to do housecleaning of /run from guix system reconfigure ... as there may be legitimate uses for other processes to write there. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZLrbSwAKCRDcUY/If5cW qjKlAPwJdVVa3gKlW/InWq2SNmS0BHsc0p8Q+R9Wv92zNvqsSAD+P6XLOsrXQ9zO Gqa0J9FfURexfFuW1xMwHf+E9LtySgM= =307A -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Aug 17 01:22:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64775: /run should be cleaned on boot Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 21 Jul 2023 19:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Vagrant Cascadian Cc: 64775@debbugs.gnu.org X-Debbugs-Original-Cc: 64775@debbugs.gnu.org, bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168996826513243 (code B ref -1); Fri, 21 Jul 2023 19:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jul 2023 19:37:45 +0000 Received: from localhost ([127.0.0.1]:34937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMvwe-0003RW-S2 for submit@debbugs.gnu.org; Fri, 21 Jul 2023 15:37:45 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMvwb-0003R0-6L for submit@debbugs.gnu.org; Fri, 21 Jul 2023 15:37:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMvwV-0002jZ-RE for bug-guix@gnu.org; Fri, 21 Jul 2023 15:37:35 -0400 Received: from mx1.riseup.net ([198.252.153.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMvwT-00066C-GA for bug-guix@gnu.org; Fri, 21 Jul 2023 15:37:35 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4R70FQ5FsWzDqCd; Fri, 21 Jul 2023 19:37:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1689968250; bh=8gL+Z0WPSxIhimMj8qYlFsRRxP8PjmSTkiR16yGx3A4=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=fIlw0aLvwt1bQw5AsHuHzstAiayg+AAEly7Udk1GogtysJJ3BuM9FrB0T/qrPZS0x nmK0cF4iz9PvTTEuf6t3o0WC8rjRuh+1fszSeGq51pdkoiDjY5et6CWIH+47EIcS56 7X6xNIpKBt50zFZvNIWfYZc/0vX9laLyDbjt20WQ= X-Riseup-User-ID: F3C734336E0EEEC9CCB5FC0C6AB53AA1B970F12AA5F78E127C778E75A7B8CA7D Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4R70FQ017kzFqLB; Fri, 21 Jul 2023 19:37:29 +0000 (UTC) References: <878rb9ysol.fsf@wireframe> From: Csepp Date: Fri, 21 Jul 2023 21:36:40 +0200 In-reply-to: <878rb9ysol.fsf@wireframe> Message-ID: <87y1j9njij.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) 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 (-) Vagrant Cascadian writes: > [[PGP Signed Part:Undecided]] > So, if there are files sitting around in /run, they do not get cleaned > up unless it is something guix is already aware of > (e.g. /run/setuid-programs). > > I noticed this when experimenting with: > > https://issues.guix.gnu.org/61462 > Add support for file capabilities(7) > > Even after a reboot, the leftovers from that experimental patchset were > still present in /run... > > While I know that Guix does not really follow the FHS in most respects, > maybe the intention of /run defined there should still be respected? > > https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html > > 3.15. /run : Run-time variable data > 3.15.1. Purpose > > This directory contains system information data describing the system > since it was booted. Files under this directory must be cleared > (removed or truncated as appropriate) at the beginning of the boot > process. > ... > > Many distros implement this by having /run on a tmpfs, but making sure > to clean up /run at boot seems like a reasonable thing to do at the very > least. > > I am not sure if it makes sense to do housecleaning of /run from guix > system reconfigure ... as there may be legitimate uses for other > processes to write there. > > > live well, > vagrant > > [[End of PGP Signed Part]] I vote for TMPFS, since that would also reduce flash wear. Honestly I don't get why it's not already using TMPFS. From unknown Sun Aug 17 01:22:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64775: /run should be cleaned on boot Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 21 Jul 2023 19:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Csepp Cc: 64775@debbugs.gnu.org Received: via spool by 64775-submit@debbugs.gnu.org id=B64775.168996947215334 (code B ref 64775); Fri, 21 Jul 2023 19:58:02 +0000 Received: (at 64775) by debbugs.gnu.org; 21 Jul 2023 19:57:52 +0000 Received: from localhost ([127.0.0.1]:34961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMwG7-0003zG-SX for submit@debbugs.gnu.org; Fri, 21 Jul 2023 15:57:52 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:57282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMwG3-0003yz-7m for 64775@debbugs.gnu.org; Fri, 21 Jul 2023 15:57:50 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 2A5E31AD10; Fri, 21 Jul 2023 12:57:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1689969457; bh=wJFpm1A6E++v8KgOXpQ0a6fpBfDlJLONAsT8wdD0/Lg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=dtGkZw8eKmc5gzJu1uoI+4qC8OGPMPuH2NvMvbviZ/4pSpmYPtdpKEotMv0IHUy/1 rxoCF1g2+xl9rfbwXuDoNpWNmRKVpNSD/Wr+jvzYiNXsmaOwRzw2v/++SB9d00r01S lHupoDLDUJf9vvZrXKCx7hWX47f3AY16nVRBQko4zw8gjLmPHIfjrZwqM4CRleqp+x auHG/j2CZLq0J7VqfoifVHadYFBxBjKHvpYB0YUt0tmL0mpQL5ykoViYL17iYfy4D7 MCSWLm4D5wg0Q2cSCtAXwzudec3aiBgijOUkYjBZ55v3mj/47hFVe7aXMiyoHx02xl MVDhkaKzevv3g== From: Vagrant Cascadian In-Reply-To: <87y1j9njij.fsf@riseup.net> References: <878rb9ysol.fsf@wireframe> <87y1j9njij.fsf@riseup.net> Date: Fri, 21 Jul 2023 12:57:30 -0700 Message-ID: <875y6dyr4l.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 (-) --=-=-= Content-Type: text/plain On 2023-07-21, Csepp wrote: > Vagrant Cascadian writes: >> While I know that Guix does not really follow the FHS in most respects, >> maybe the intention of /run defined there should still be respected? >> >> https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html >> >> 3.15. /run : Run-time variable data >> 3.15.1. Purpose >> >> This directory contains system information data describing the system >> since it was booted. Files under this directory must be cleared >> (removed or truncated as appropriate) at the beginning of the boot >> process. >> ... >> >> Many distros implement this by having /run on a tmpfs, but making sure >> to clean up /run at boot seems like a reasonable thing to do at the very >> least. >> >> I am not sure if it makes sense to do housecleaning of /run from guix >> system reconfigure ... as there may be legitimate uses for other >> processes to write there. ... > I vote for TMPFS, since that would also reduce flash wear. > Honestly I don't get why it's not already using TMPFS. One argument could be how much ram it takes: $ du -sc /run/* 12 /run/blkid 0 /run/booted-system 0 /run/current-system 1312 /run/setuid-programs 524 /run/udev 1848 total That is with no explicit setuid programs configured, on a machine with a fairly minimal configuration. Not a *huge* amount of ram, but not nothing, either... live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHQEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZLrjKgAKCRDcUY/If5cW qj7pAQDrIgz6i0S36bLiL49S6CGkKCOEmcR0eR21jGB03PkhjwD1FKQ2K6aP8Idn Nzj4CxpnE7VUqm7GWYhFAn72toTyAg== =KJXs -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Aug 17 01:22:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64775: /run should be cleaned on boot Resent-From: Saku Laesvuori Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 21 Jul 2023 20:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Vagrant Cascadian Cc: 64775@debbugs.gnu.org, Csepp Received: via spool by 64775-submit@debbugs.gnu.org id=B64775.168997106818051 (code B ref 64775); Fri, 21 Jul 2023 20:25:02 +0000 Received: (at 64775) by debbugs.gnu.org; 21 Jul 2023 20:24:28 +0000 Received: from localhost ([127.0.0.1]:34979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMwfs-0004h4-CI for submit@debbugs.gnu.org; Fri, 21 Jul 2023 16:24:28 -0400 Received: from vmi571514.contaboserver.net ([75.119.130.101]:47230 helo=mail.laesvuori.fi) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMwfp-0004gq-To for 64775@debbugs.gnu.org; Fri, 21 Jul 2023 16:24:26 -0400 Received: from X-kone (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 98900342BB9; Fri, 21 Jul 2023 22:24:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1689971063; bh=5i1ygmm6bJH12gDJE32ksiytwj73bOHxDX7P98YYGu0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=B7F/bKqFTZ3vH36Ak8xC9iwifyTM2vZo/BQntE7WrEMXgO9LVNG/u6Um0ZIJW6LB+ qhT2b/KDIeu9tPkfcq/3dZpJKr8iuBXYR9wAbgoc7xSV75pSb8F+B+27c+cVJ5V5Y8 /P1sY+m4DtrYRFrbma8dGuI9BDiQ9ExmnXQF/BGI= Date: Fri, 21 Jul 2023 23:24:17 +0300 From: Saku Laesvuori Message-ID: <20230721202417.6kfmen37cc2h25ko@X-kone> References: <878rb9ysol.fsf@wireframe> <87y1j9njij.fsf@riseup.net> <875y6dyr4l.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oaaslj5hwsmsofen" Content-Disposition: inline In-Reply-To: <875y6dyr4l.fsf@wireframe> X-Spam-Score: -0.0 (/) 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 (-) --oaaslj5hwsmsofen Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > I vote for TMPFS, since that would also reduce flash wear. > > Honestly I don't get why it's not already using TMPFS. > > One argument could be how much ram it takes: >=20 > $ du -sc /run/* > 12 /run/blkid > 0 /run/booted-system > 0 /run/current-system > 1312 /run/setuid-programs > 524 /run/udev > 1848 total >=20 > That is with no explicit setuid programs configured, on a machine with a > fairly minimal configuration. >=20 > Not a *huge* amount of ram, but not nothing, either... I'd say it's effectively nothing for almost all devices capable of running Guix. On my laptop the size of /run is 4804 (4.7M). In a quick test one terminal window with only zsh running in it took almost 10 times as much ram. --oaaslj5hwsmsofen Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmS66XEACgkQJX0oSiod OjLyGg/9HNBsRuEUSMC3dhK6I3EHmdFfkgpH8venf5YTy4Hm6jg1xTEmgNhsxfvl fuJa3JyQVE2aoaMQBfsZYy0GhlS8/S5mQkByrOlhA9RP6/IxCrUJqsPa8ZFvjF2h XKB7aLnSgfdW2GWvy7nzdt+qvymwcRv1nLXXTWpl5rBJyI6AGxOlqBkaU1SDTRV+ LVMyc+rq+TXkPIyblv8fP3uPdIVm7+io9u0o9XMv27jUS8bd+NueWoF7ECgrRm5z aNMA4YdYjxYtOPSE9XzU1tEHvXctd3jBYzTowh+AbuC8QCY1ScQLBA8OptgQ0zGk EGzoOak2QNu+W1bxFZE6+Pw80Ooyd54v5BB6gyIeTm4LYEkp0hqKvkiP1XlJWFVc 1VNx8Fl2uqQYc9eyidxg7HUvEsRcBbMq0nN0zdtkLaWT4uwomfmysZ1dj4lWtJ2E Ny79wMRJebIgMvO8np6mEqD0KGvs0/ewaNck537mC1Ivd9O4qonQ8adzVRhid4kc Mmo7uGB9vymR+4rO0SI+GpUA0c3MEtkKi2vNh27MIaC0t2HbF8X4YyI0BtuVS88+ Pb09Q5q+Et1EMke5skSJ/L1IbCEqEyQKhp8KV9uY9WACoD2ddgUkzHl4Ph+mCKt1 AvQ+8WXDnZwpptRmg/5jiUF6ci2PKcorq/je/Z6ELUBfygM14y4= =gZUj -----END PGP SIGNATURE----- --oaaslj5hwsmsofen-- From unknown Sun Aug 17 01:22:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64775: /run should be cleaned on boot Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 06 Aug 2023 13:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 64775@debbugs.gnu.org Cc: Vagrant Cascadian , Saku Laesvuori , Csepp Received: via spool by 64775-submit@debbugs.gnu.org id=B64775.169132799627496 (code B ref 64775); Sun, 06 Aug 2023 13:20:02 +0000 Received: (at 64775) by debbugs.gnu.org; 6 Aug 2023 13:19:56 +0000 Received: from localhost ([127.0.0.1]:58775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSdfn-00079P-M1 for submit@debbugs.gnu.org; Sun, 06 Aug 2023 09:19:55 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:53402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSdfi-00079E-LT for 64775@debbugs.gnu.org; Sun, 06 Aug 2023 09:19:54 -0400 Date: Sun, 06 Aug 2023 21:18:35 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1691327979; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jC+5nqHckN2lB8TboTuu/9yvZlZ4ddFv3LU5V1G6rLA=; b=ReRSenINA9YTyL+tEkm4xJJ+U5vwEGpcb4bQqYmvPhpEKe9WmZ/nLQ1ZEdizBUv+Zp6C99 qS9t2Dp4Zbqoi+sSPHwWMe9dhp5iJ+z/pQPw/qffkuE/kBVPReYd9e+inK0tBgNVXG0bbL Uf6b7Mn3/32y3eTnq+yRIwjchezkKRInw8S1pMBEXD4svrmT5bfSdseZpyqv3Zy8gvsjef XObRlSq4g7+7XuQ8pTvgNkPO4C+UlP8Wa86HyL9X+sR2P8F80wSoyufBn/9FqNEq8a8RMw 5/+NmgUdPqO5ZEmDfW1wT4yFGybPR3pEyR1Fj4O4/gtvt2s5A521/f2VOXmFQQ== Message-ID: <87wmy848d0.wl-hako@ultrarare.space> From: Hilton Chain In-Reply-To: <20230721202417.6kfmen37cc2h25ko@X-kone> References: <878rb9ysol.fsf@wireframe> <87y1j9njij.fsf@riseup.net> <875y6dyr4l.fsf@wireframe> <20230721202417.6kfmen37cc2h25ko@X-kone> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-Spamd-Bar: / X-Spam-Score: -0.0 (/) 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 (-) Hi all, On Sat, 22 Jul 2023 04:24:17 +0800, Saku Laesvuori via Bug reports for GNU Guix wrote: > > [1 ] > > > I vote for TMPFS, since that would also reduce flash wear. > > > Honestly I don't get why it's not already using TMPFS. > > > > One argument could be how much ram it takes: > > > > $ du -sc /run/* > > 12 /run/blkid > > 0 /run/booted-system > > 0 /run/current-system > > 1312 /run/setuid-programs > > 524 /run/udev > > 1848 total > > > > That is with no explicit setuid programs configured, on a machine with a > > fairly minimal configuration. > > > > Not a *huge* amount of ram, but not nothing, either... > > I'd say it's effectively nothing for almost all devices capable of > running Guix. On my laptop the size of /run is 4804 (4.7M). In a quick > test one terminal window with only zsh running in it took almost 10 > times as much ram. > [2 signature.asc ] > No public key for 257D284A2A1D3A32 created at 2023-07-22T04:24:17+0800 using RSA I'm currently using tmpfs for /tmp, /run and /var/run on my Guix Systems. If you are interested, this is my base file systems: --8<---------------cut here---------------start------------->8--- (cons* (file-system (device "none") (mount-point "/tmp") (type "tmpfs") (check? #f)) (file-system (device "none") (mount-point "/run") (type "tmpfs") (needed-for-boot? #t) (check? #f)) (file-system (device "none") (mount-point "/var/run") (type "tmpfs") (needed-for-boot? #t) (check? #f)) (delete %debug-file-system %base-file-systems)) --8<---------------cut here---------------end--------------->8--- Thanks From unknown Sun Aug 17 01:22:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64775: /run should be cleaned on boot Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 06 Aug 2023 20:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Hilton Chain , 64775@debbugs.gnu.org Cc: Saku Laesvuori , Csepp Received: via spool by 64775-submit@debbugs.gnu.org id=B64775.169135242515828 (code B ref 64775); Sun, 06 Aug 2023 20:08:02 +0000 Received: (at 64775) by debbugs.gnu.org; 6 Aug 2023 20:07:05 +0000 Received: from localhost ([127.0.0.1]:60075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSk1p-00047D-56 for submit@debbugs.gnu.org; Sun, 06 Aug 2023 16:07:05 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:58522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSk1n-00046i-1u for 64775@debbugs.gnu.org; Sun, 06 Aug 2023 16:07:04 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 8F21C1ACA2; Sun, 6 Aug 2023 13:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1691352413; bh=q6jfY52QKNcArtSRfXlUeQdKUD/pPinZBFHz3TFoKt4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=DoaSSi1VhZSY4YkhE54rjkveU+9weyH/OovH/R/ZQdL8L45RGqztQF4GcRUXpl/ua 7G1BQZgOJnJaw3nyCCYFtwaNlVWelXrilRrJlCrlgGf82SZiJlBlbn/ky8UKUH/xL6 yPBKLIQXqvdroe+P05lJMyOqo7ltvT+oZtMie9aKrifZQX43kiMUhMo0JeVErW7piK YGRxlfc4R0g8o5hso9LTXR0UIB5oVjnJ6NKGebJa561JCTfLKhNHcI/j6xmS/+gkjx m02Rgikars44AbhI/2r7fPk66vvxqeqTk5dqeg0pDa6BnnCWtkucrdconKW+LsS0bM gj0RSZxqCsADA== From: Vagrant Cascadian In-Reply-To: <87wmy848d0.wl-hako@ultrarare.space> References: <878rb9ysol.fsf@wireframe> <87y1j9njij.fsf@riseup.net> <875y6dyr4l.fsf@wireframe> <20230721202417.6kfmen37cc2h25ko@X-kone> <87wmy848d0.wl-hako@ultrarare.space> Date: Sun, 06 Aug 2023 13:06:37 -0700 Message-ID: <878raoylyq.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 (-) --=-=-= Content-Type: text/plain On 2023-08-06, Hilton Chain wrote: > On Sat, 22 Jul 2023 04:24:17 +0800, > Saku Laesvuori via Bug reports for GNU Guix wrote: >> >> [1 ] >> > > I vote for TMPFS, since that would also reduce flash wear. >> > > Honestly I don't get why it's not already using TMPFS. >> > >> > One argument could be how much ram it takes: >> > >> > $ du -sc /run/* >> > 12 /run/blkid >> > 0 /run/booted-system >> > 0 /run/current-system >> > 1312 /run/setuid-programs >> > 524 /run/udev >> > 1848 total >> > >> > That is with no explicit setuid programs configured, on a machine with a >> > fairly minimal configuration. >> > >> > Not a *huge* amount of ram, but not nothing, either... >> >> I'd say it's effectively nothing for almost all devices capable of >> running Guix. On my laptop the size of /run is 4804 (4.7M). In a quick >> test one terminal window with only zsh running in it took almost 10 >> times as much ram. >> [2 signature.asc ] >> No public key for 257D284A2A1D3A32 created at 2023-07-22T04:24:17+0800 using RSA > > I'm currently using tmpfs for /tmp, /run and /var/run on my Guix > Systems. > > If you are interested, this is my base file systems: > --8<---------------cut here---------------start------------->8--- > (cons* (file-system > (device "none") > (mount-point "/tmp") > (type "tmpfs") > (check? #f)) > > (file-system > (device "none") > (mount-point "/run") > (type "tmpfs") > (needed-for-boot? #t) > (check? #f)) > > (file-system > (device "none") > (mount-point "/var/run") > (type "tmpfs") > (needed-for-boot? #t) > (check? #f)) You probably want to restrict permissions on /run and /var/run, as the defaults for tmpfs are world-writeable, allowing any user or process to create files or directories in potentially harmful ways... For /tmp, these defaults are appropriate, however tricky a world-writeable directory is... Although I rarely have enough spare ram on a system to have /tmp be tmpfs for Guix System because builds happen there by default, and occasionally I need a lot more space than available ram in some cases. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZM/9TQAKCRDcUY/If5cW qqILAQDuw5mBcUClgZnzly9bjaOpcOZjJzCwPwoV+VjXCl+tlQEAht8Snx+h7LpV LIP51+eJgrP5038zMj5W5gbuPt2u2Qs= =B3Di -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Aug 17 01:22:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64775: /run should be cleaned on boot Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 07 Aug 2023 01:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Vagrant Cascadian Cc: 64775@debbugs.gnu.org, Saku Laesvuori , Csepp Received: via spool by 64775-submit@debbugs.gnu.org id=B64775.169137205014508 (code B ref 64775); Mon, 07 Aug 2023 01:35:01 +0000 Received: (at 64775) by debbugs.gnu.org; 7 Aug 2023 01:34:10 +0000 Received: from localhost ([127.0.0.1]:60215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSp8M-0003lw-0Z for submit@debbugs.gnu.org; Sun, 06 Aug 2023 21:34:10 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:60322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSp8J-0003lo-Sg for 64775@debbugs.gnu.org; Sun, 06 Aug 2023 21:34:09 -0400 Date: Mon, 07 Aug 2023 09:33:13 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1691372032; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6Y8Ucg/1bVdnhDKFPPVVqzhUPo6fwX/Z3nwhYVhln40=; b=Lk96EqR5m8Xgg+aC3bBRi1zXjXq93OiXE81sRHkuis59UWCAMqkc3N3raNS0zeYQX32vQp 4xXl/k5Egtm30K6x+C2A9UyXpF06U+WrjN5XraN14oJIIbqh1DLwdO16AiS0hoK85WtdHQ AemQmpUXxdJ2dkhlIelQVNc3qA3xDPhfVnoByfRT20eXiYN3Iujn7ZML1WG6t5LJF4OGjA RIm3vbDaQahjkOkUlQ6sDHs24Pp4HPCIFy9Ve0vKFErsaoLgenz5YYlFplLRS7AveLWZt9 QAOqUhWf1DVE4fguW7emGBzsTkjrVXBgmEPgcYzd2GNf6IktaF2DHAD1zjpeAQ== Message-ID: <875y5rws9y.wl-hako@ultrarare.space> From: Hilton Chain In-Reply-To: <878raoylyq.fsf@wireframe> References: <878rb9ysol.fsf@wireframe> <87y1j9njij.fsf@riseup.net> <875y6dyr4l.fsf@wireframe> <20230721202417.6kfmen37cc2h25ko@X-kone> <87wmy848d0.wl-hako@ultrarare.space> <878raoylyq.fsf@wireframe> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-Spamd-Bar: / X-Spam-Score: -0.0 (/) 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 (-) On Mon, 07 Aug 2023 04:06:37 +0800, Vagrant Cascadian wrote: > > [1 ] > On 2023-08-06, Hilton Chain wrote: > > On Sat, 22 Jul 2023 04:24:17 +0800, > > Saku Laesvuori via Bug reports for GNU Guix wrote: > >> > >> [1 ] > >> > > I vote for TMPFS, since that would also reduce flash wear. > >> > > Honestly I don't get why it's not already using TMPFS. > >> > > >> > One argument could be how much ram it takes: > >> > > >> > $ du -sc /run/* > >> > 12 /run/blkid > >> > 0 /run/booted-system > >> > 0 /run/current-system > >> > 1312 /run/setuid-programs > >> > 524 /run/udev > >> > 1848 total > >> > > >> > That is with no explicit setuid programs configured, on a machine with a > >> > fairly minimal configuration. > >> > > >> > Not a *huge* amount of ram, but not nothing, either... > >> > >> I'd say it's effectively nothing for almost all devices capable of > >> running Guix. On my laptop the size of /run is 4804 (4.7M). In a quick > >> test one terminal window with only zsh running in it took almost 10 > >> times as much ram. > >> [2 signature.asc ] > >> No public key for 257D284A2A1D3A32 created at 2023-07-22T04:24:17+0800 using RSA > > > > I'm currently using tmpfs for /tmp, /run and /var/run on my Guix > > Systems. > > > > If you are interested, this is my base file systems: > > --8<---------------cut here---------------start------------->8--- > > (cons* (file-system > > (device "none") > > (mount-point "/tmp") > > (type "tmpfs") > > (check? #f)) > > > > (file-system > > (device "none") > > (mount-point "/run") > > (type "tmpfs") > > (needed-for-boot? #t) > > (check? #f)) > > > > (file-system > > (device "none") > > (mount-point "/var/run") > > (type "tmpfs") > > (needed-for-boot? #t) > > (check? #f)) > > You probably want to restrict permissions on /run and /var/run, as the > defaults for tmpfs are world-writeable, allowing any user or process to > create files or directories in potentially harmful ways... > > For /tmp, these defaults are appropriate, however tricky a > world-writeable directory is... I have set the mode and size limit on them. Thank you so much! Otherwise I won't notice that... > Although I rarely have enough spare ram on a system to have /tmp be > tmpfs for Guix System because builds happen there by default, and > occasionally I need a lot more space than available ram in some cases. I have enough RAM for builds I currently do on my laptop and it's the builder for other systems, so tmpfs is fine for me. Thanks From unknown Sun Aug 17 01:22:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64775: /run should be cleaned on boot Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 07 Aug 2023 14:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 64775@debbugs.gnu.org Cc: vagrant@debian.org, hako@ultrarare.space, saku@laesvuori.fi, raingloom@riseup.net X-Debbugs-Original-To: Hilton Chain via Bug reports for GNU Guix X-Debbugs-Original-Cc: Vagrant Cascadian , Hilton Chain , 64775@debbugs.gnu.org, Saku Laesvuori , Csepp Received: via spool by submit@debbugs.gnu.org id=B.169141915920886 (code B ref -1); Mon, 07 Aug 2023 14:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Aug 2023 14:39:19 +0000 Received: from localhost ([127.0.0.1]:34072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qT1OB-0005Qn-0L for submit@debbugs.gnu.org; Mon, 07 Aug 2023 10:39:19 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qT1O9-0005QN-Dq for submit@debbugs.gnu.org; Mon, 07 Aug 2023 10:39:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qT1O4-0006eE-7i for bug-guix@gnu.org; Mon, 07 Aug 2023 10:39:12 -0400 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qT1O2-0002GT-PY for bug-guix@gnu.org; Mon, 07 Aug 2023 10:39:12 -0400 Received: by mail-qk1-x736.google.com with SMTP id af79cd13be357-7658430eb5dso459376385a.2 for ; Mon, 07 Aug 2023 07:39:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691419149; x=1692023949; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=91pbQHlq6iHX0cGoB2+ytULsylO3598vtySmaQD88t0=; b=QnOfFICKLPBFMBYc/hD9vs7p8cG7zPYmRoy1pkaOvTUHXTV8zEPEvzaiIPOpfMKtjX rslzoJq1Meha6SyK9q5eYlzlXg2kcVErzDoLKFe3RqV1luiKBpT0dz2LCK/Yg+nLMj2E ERl/tkwFCPe+k1hwETs+rQ31SlB9GFc3R+DsoSOVA3MmTW0KbMN8v6VT2rRAFS6+fHqj Ig0mEC1nNZveoJ8fiTGPHA/8S4GVFuAslkh3PBG8xxNsOYkqtAJM2fDEDltzn99TNNIF 77eN5mNjsdE3I1vVFMy+dGNtmXpAr3Vl2pxFKxcwXgBugkPYXtLf4GaXBozCWGC11N+m 4h1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691419149; x=1692023949; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=91pbQHlq6iHX0cGoB2+ytULsylO3598vtySmaQD88t0=; b=DLiWotC6HU4SA17JJugJodhTapcuovW8922oHsA9A7L12ZIN1NsmAMg5P3LHhycNap 3sS94Hwxj/eFzvlFb+Q+glOnnTOMKrv0jDy9iYUI+2ykOaoQoUKn8P/ZDpSh3EYY3opN UuNh9VbDmUgPgQfCYxbW1/106yFk8RCaVbpmfIx0zHGA3ClHHS9Iki19KV7HHnjvQ7zj FGuIg30WmVvNIGJEDmNcwdtChxipKpnLpOLNqQZMDyOosPo2LVgDKPGHyAjKsrqBVo7G SXMMruLI3+xk/Vng45FQqMhonsxtar+2g610xDue6lZgrv+8wgvJZ5668ZyPYTnOiuhn DRYQ== X-Gm-Message-State: AOJu0Yw/8OKo87CYCi0kg4Q/BZN0msK8y6ryRapmi3TjnbAmIp446S3T Jnf7e1YSQGlng+23oQ58/Fg= X-Google-Smtp-Source: AGHT+IEq+cWCBVV1oLULiMWp1bQnZ8Rvkk64rIApovFG+/+lM6ItLSOlGo61HGdHCbASaudFfo8QuQ== X-Received: by 2002:a37:b445:0:b0:76c:b87c:16c2 with SMTP id d66-20020a37b445000000b0076cb87c16c2mr10688187qkf.52.1691419149621; Mon, 07 Aug 2023 07:39:09 -0700 (PDT) Received: from hurd (dsl-205-236-230-170.b2b2c.ca. [205.236.230.170]) by smtp.gmail.com with ESMTPSA id b28-20020a05620a119c00b0076825e43d98sm2626122qkk.125.2023.08.07.07.39.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 07:39:09 -0700 (PDT) From: Maxim Cournoyer References: <878rb9ysol.fsf@wireframe> <87y1j9njij.fsf@riseup.net> <875y6dyr4l.fsf@wireframe> <20230721202417.6kfmen37cc2h25ko@X-kone> <87wmy848d0.wl-hako@ultrarare.space> Date: Mon, 07 Aug 2023 10:39:08 -0400 In-Reply-To: <87wmy848d0.wl-hako@ultrarare.space> (Hilton Chain via Bug reports for's message of "Sun, 06 Aug 2023 21:18:35 +0800") Message-ID: <87wmy6ex2r.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::736; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x736.google.com 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, FREEMAIL_FROM=0.001, 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.0 (+) 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 (/) Hi, Hilton Chain via Bug reports for GNU Guix writes: > Hi all, > > On Sat, 22 Jul 2023 04:24:17 +0800, > Saku Laesvuori via Bug reports for GNU Guix wrote: >> >> [1 ] >> > > I vote for TMPFS, since that would also reduce flash wear. >> > > Honestly I don't get why it's not already using TMPFS. >> > >> > One argument could be how much ram it takes: >> > >> > $ du -sc /run/* >> > 12 /run/blkid >> > 0 /run/booted-system >> > 0 /run/current-system >> > 1312 /run/setuid-programs >> > 524 /run/udev >> > 1848 total >> > >> > That is with no explicit setuid programs configured, on a machine with a >> > fairly minimal configuration. >> > >> > Not a *huge* amount of ram, but not nothing, either... >> >> I'd say it's effectively nothing for almost all devices capable of >> running Guix. On my laptop the size of /run is 4804 (4.7M). In a quick >> test one terminal window with only zsh running in it took almost 10 >> times as much ram. >> [2 signature.asc ] >> No public key for 257D284A2A1D3A32 created at 2023-07-22T04:24:17+0800 using RSA > > I'm currently using tmpfs for /tmp, /run and /var/run on my Guix > Systems. Without reviewing how our code base uses /run, it seems reasonable that this should be on a tmpfs. Can anyone think of a reason not to do so? Otherwise, I suggest we make it so. -- Thanks, Maxim From unknown Sun Aug 17 01:22:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64775: /run should be cleaned on boot Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 29 Aug 2023 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 64775@debbugs.gnu.org, 61462@debbugs.gnu.org Received: via spool by 64775-submit@debbugs.gnu.org id=B64775.169334097517460 (code B ref 64775); Tue, 29 Aug 2023 20:30:02 +0000 Received: (at 64775) by debbugs.gnu.org; 29 Aug 2023 20:29:35 +0000 Received: from localhost ([127.0.0.1]:51672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qb5LD-0004XT-8h for submit@debbugs.gnu.org; Tue, 29 Aug 2023 16:29:35 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:43662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qb5L9-0004X9-LA; Tue, 29 Aug 2023 16:29:32 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 98C5F1ADEE; Tue, 29 Aug 2023 13:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1693340958; bh=IaTMOVi3sS/sWyJQIM9r1hfF27rWHynI4VBaSmzRKZc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=VSjq3/iHO6s2T1YuB3EOXBzI/gywA6zviXhH8di0RzG96MrJFFTfi4IhRyPgo69qu hRNDnx6WOYM/4H/7XJMm9lSDXdbGzVWpmBKLYiN/MfUElTdeQQqw/xPnNJWBf2ThJo 6S9DchOrLKgPMfhUQn+MYpsw/dYWkLpBKb3eU/w5WzjYv2l6BvZlSJOWzQyYlj4c89 Sl+rXtWFxGyAFvp26/o9rT02TrN7/v9yTFmA4Db55yb8CtUYmkTzGOlJo0jOkUSeT6 EEXv/N1+SMxd3cnp4LCUB45ism/r4r0X5OJxpQbRyPNYmVtITsZzWTIc+5ZiSO6abb pEOaESgo8ZsIQ== From: Vagrant Cascadian In-Reply-To: <87r0odpmot.fsf_-_@gnu.org> References: <87r0uuehlr.fsf@nckx> <129e8d298556f6a159fcb704ed3df4bf0709ddd3.1689465600.git.me@tobias.gr> <87edl1yu2k.fsf@wireframe> <87bkg5yt91.fsf@wireframe> <87r0odpmot.fsf_-_@gnu.org> Date: Tue, 29 Aug 2023 13:29:14 -0700 Message-ID: <87o7ipvbhh.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2023-08-08, Ludovic Court=C3=A8s wrote: > Vagrant Cascadian skribis: >> Oh, I noticed on reconfiguring back to a system without the patches to >> support /run/privileged configurations ... the /run/privileged directory >> is still present, with all those files sitting there in their previous >> state. >> >> This is why I think at least by default, many other distros implement >> /run as a tmpfs or similar, so that it at least gets thrown out at >> reboot. Though this is obviously a deeper problem than just this patch >> series... I will file a separate bug about that. > > We could try to make that change: /run as tmpfs, or wiped by > =E2=80=98cleanup-service-type=E2=80=99. Or both, really! Filed: https://issues.guix.gnu.org/64775 live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZO5VGgAKCRDcUY/If5cW qscTAP46tqkiBHdLjKXzI/n7Wg8wMKgBEhcxQtxMKNw7eoCpkAD+IqMp4nRebmnS XOMfX+y15RPUb2AQl3ZgzB7GbtJI/w8= =/Tnj -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Aug 17 01:22:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64775: /run should be cleaned on boot Resent-From: brian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 29 Aug 2023 21:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Vagrant Cascadian Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 64775@debbugs.gnu.org, 61462@debbugs.gnu.org Received: via spool by 64775-submit@debbugs.gnu.org id=B64775.1693344162469 (code B ref 64775); Tue, 29 Aug 2023 21:23:02 +0000 Received: (at 64775) by debbugs.gnu.org; 29 Aug 2023 21:22:42 +0000 Received: from localhost ([127.0.0.1]:51736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qb6Ac-00007Q-Ia for submit@debbugs.gnu.org; Tue, 29 Aug 2023 17:22:42 -0400 Received: from coleridge.kublai.com ([166.84.7.167]:64288 helo=mail.spork.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qb6AY-000079-Ba; Tue, 29 Aug 2023 17:22:41 -0400 Received: from ditto (ool-18b8e9e7.dyn.optonline.net [24.184.233.231]) by mail.spork.org (Postfix) with ESMTPSA id 6C630245F; Tue, 29 Aug 2023 17:21:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=spork.org; s=dkim; t=1693344119; bh=O1+Mw/u32GNbApwJuUdyiLIdLWq9UsSCAbMVcMXfee0=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=PbXeoK4bLG0EZZXb/FVKT9f/kSNSGSY5ct/o5rOeIKGYZy+LZm1ipZ7PBb1WpB9fB 9TY7iktH1AR+1q/A1IC/L0410tYM4eB4YgQ9gV1pWnvFl5ORs/WYXd/vmT+XlQ83gr hnV3vxS8ufz2sQAWgIPqf/z7YjFzZrYFJiYOdkE4= From: brian In-Reply-To: <87o7ipvbhh.fsf__48662.4622646318$1693341314$gmane$org@wireframe> (Vagrant Cascadian's message of "Tue, 29 Aug 2023 13:29:14 -0700") References: <87r0uuehlr.fsf@nckx> <129e8d298556f6a159fcb704ed3df4bf0709ddd3.1689465600.git.me@tobias.gr> <87edl1yu2k.fsf@wireframe> <87bkg5yt91.fsf@wireframe> <87r0odpmot.fsf_-_@gnu.org> <87o7ipvbhh.fsf__48662.4622646318$1693341314$gmane$org@wireframe> Date: Tue, 29 Aug 2023 17:21:47 -0400 Message-ID: <87ttshilxw.fsf@spork.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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 (-) Vagrant Cascadian writes: > On 2023-08-08, Ludovic Court=C3=A8s wrote: >> We could try to make that change: /run as tmpfs, or wiped by >> =E2=80=98cleanup-service-type=E2=80=99. > > Or both, really! > > Filed: > > https://issues.guix.gnu.org/64775 I tried this a while ago, and the trivial case of mounting /run as tmpfs in the operating-system definition causes errors during activation. It turns out that the /run/current-system symlink is activated before all non-root mounts, so mounting /run afterwards causes everything to break. I don't have a solution, and haven't even looked at it past this, but maybe this report will help. -bjc From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 18 16:48:58 2024 Received: (at control) by debbugs.gnu.org; 18 Aug 2024 20:48:58 +0000 Received: from localhost ([127.0.0.1]:56863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfmpe-00025s-En for submit@debbugs.gnu.org; Sun, 18 Aug 2024 16:48:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfmpc-00025a-CX for control@debbugs.gnu.org; Sun, 18 Aug 2024 16:48:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sfmos-0002Nx-Bu for control@debbugs.gnu.org; Sun, 18 Aug 2024 16:48:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=JA4fNNBDZtRJLV4SmU4KSGsrAtjz2h7Md1YXuKTd39c=; b=gtxEav5CYjlLGT O7mE5pgssqhsT0LcgTrVDCCn8kOwK6xIKIiNtP9FcgEvFlOYNXU3KVWsL28ryWzZgBS5yRF/Uzy4Y laaqStgVnxjTHcdMzDndiVDJ6U9r4vS+PfpzBHlS2ovq0weJYsvAJSqJJL6JFsKxb/ZhhzK57xofM ezDx5+C2dEDAx9brBxupHSx8aC+gSWNIFZ8p+UjZiqRGSmIJ6KmUzMpwjl5Z1N/3bfLMHUZ10ZfM7 /Yb7LOybqKXDXj1VCPOOa6VSnZoWHPws9ugRtHtTO/cYazkOvE/RCkxjPnnHDmrg164Bm+1RZ30M4 KfojZhhLsJfAnWZYRbmQ==; Date: Sun, 18 Aug 2024 22:48:07 +0200 Message-Id: <87r0al4kxk.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #64775 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) merge 64775 72670 quit From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 18 16:49:03 2024 Received: (at control) by debbugs.gnu.org; 18 Aug 2024 20:49:03 +0000 Received: from localhost ([127.0.0.1]:56868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfmpi-00026P-Np for submit@debbugs.gnu.org; Sun, 18 Aug 2024 16:49:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfmpg-00025h-CS for control@debbugs.gnu.org; Sun, 18 Aug 2024 16:49:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sfmow-0002OD-Br for control@debbugs.gnu.org; Sun, 18 Aug 2024 16:48:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=KagXntWFid0A6mWeA7Hk0D1GgEuAKn6p6EpiuzwIPtg=; b=OI64s1jVC6Aqag PPsV+ZJAx6eeVsSyRbN1qjE4VH4anF+afDlkk4DZBFehfd9xhnxxPGQodb1jPbYwXdWwqH62ImQQd cb3qND24+BahWTHz9c4t0tebRSm4cxlrbao+tDzq9h63p2UzkO5NmdQjcPsfjRp1sxPLtufJMmpM8 /Ge9vKFOKU0SlJGRHptEQnhiaKfYi1vjZA4HaKOtA5e1XmUbWWgo4Oq2qGLXt20V2NWHekWfi73LP 7cYo4NSixKWgkMXuMqbvyA+94qPnsSkt7z3e3v9fMXzNvEaMjSM0jS27UTtPbN0R9DNDrDtWuWcJm h2HcKepknz8bWgnRLMmQ==; Date: Sun, 18 Aug 2024 22:48:12 +0200 Message-Id: <87plq54kxf.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #64775 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) severity 64775 important quit From unknown Sun Aug 17 01:22:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64775: /run should be cleaned on boot Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 15 Sep 2024 22:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Vagrant Cascadian Cc: 64775@debbugs.gnu.org, 61462@debbugs.gnu.org Received: via spool by 64775-submit@debbugs.gnu.org id=B64775.17264393804332 (code B ref 64775); Sun, 15 Sep 2024 22:30:03 +0000 Received: (at 64775) by debbugs.gnu.org; 15 Sep 2024 22:29:40 +0000 Received: from localhost ([127.0.0.1]:50708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spxkS-00017l-58 for submit@debbugs.gnu.org; Sun, 15 Sep 2024 18:29:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spxkP-00017L-4z; Sun, 15 Sep 2024 18:29:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spxk5-0003jP-DF; Sun, 15 Sep 2024 18:29:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=K1i1LDFmRYPpgBdLiYEXO3WWPREKG5ZRkUjQNkCmhsY=; b=CeLM8KdFxjMPBZ+RJCZ1 2+COPaoWAnBWRLqaRBX5IHXGIQW0ryznys1yg2kuQP2o84xM9iD1+gXFgUVZGZt8S6zFmiKr9OlTF jBjiL5VjGGj8uKaWtqmRpcUAyAkvuq0ioExUJTaMZJvjJ2AbhMZluYw9UlvwOXfM0FpjU76QTRRcl Py6qisknQd8i2NThTZiMLxchiSSgxxUAqVmg/QsaUFRm8SETToc0lBEqjG/Wc8DFPpFSEgGmon2df KeA7D2vVjtws0/la5Ptc0C4EGRa6OWVY0bmcJjDVao/X8n/8iWyCBzdvqTnjGHi4XxdwIdoj6ClO8 Bqj/QBT2q2/4zw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87o7ipvbhh.fsf@wireframe> (Vagrant Cascadian's message of "Tue, 29 Aug 2023 13:29:14 -0700") References: <87r0uuehlr.fsf@nckx> <129e8d298556f6a159fcb704ed3df4bf0709ddd3.1689465600.git.me@tobias.gr> <87edl1yu2k.fsf@wireframe> <87bkg5yt91.fsf@wireframe> <87r0odpmot.fsf_-_@gnu.org> <87o7ipvbhh.fsf@wireframe> Date: Mon, 16 Sep 2024 00:29:14 +0200 Message-ID: <87msk8a6v9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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, Vagrant Cascadian skribis: > On 2023-08-08, Ludovic Court=C3=A8s wrote: >> Vagrant Cascadian skribis: >>> Oh, I noticed on reconfiguring back to a system without the patches to >>> support /run/privileged configurations ... the /run/privileged directory >>> is still present, with all those files sitting there in their previous >>> state. >>> >>> This is why I think at least by default, many other distros implement >>> /run as a tmpfs or similar, so that it at least gets thrown out at >>> reboot. Though this is obviously a deeper problem than just this patch >>> series... I will file a separate bug about that. >> >> We could try to make that change: /run as tmpfs, or wiped by >> =E2=80=98cleanup-service-type=E2=80=99. > > Or both, really! > > Filed: > > https://issues.guix.gnu.org/64775 This went unnoticed but here=E2=80=99s a patch: https://issues.guix.gnu.org/72920 I=E2=80=99ll apply it soon if there are no objections. Ludo=E2=80=99. From unknown Sun Aug 17 01:22:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64775: [bug#72920] [PATCH 0/3] Clean out /run upon boot Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 20 Sep 2024 21:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 72920@debbugs.gnu.org Cc: 64775@debbugs.gnu.org, 72670@debbugs.gnu.org Received: via spool by 64775-submit@debbugs.gnu.org id=B64775.172686762320579 (code B ref 64775); Fri, 20 Sep 2024 21:28:01 +0000 Received: (at 64775) by debbugs.gnu.org; 20 Sep 2024 21:27:03 +0000 Received: from localhost ([127.0.0.1]:36475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srl9b-0005Lp-2L for submit@debbugs.gnu.org; Fri, 20 Sep 2024 17:27:03 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:42050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srl9Z-0005LG-EI; Fri, 20 Sep 2024 17:27:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1726867565; bh=IXfTyzOa6HtASxMebh7ruSrwCHLPyejjDLxHL4LP4L4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=VSVlmCgZSnzahIAjL1wqeieSvZgZL0gkJ+8xm/006lRxYhv8WiZWA7aa3hfDxKvNn ZLtAR+GRkklZwR4hJPVKgNQ3bILNvrA8yO4XTM7C/ERAJySqWUbjgoqRKRHXxu90aG jrFACt22q/Lh7zysvPV+iL5p1FVrOmG0CMbdWnQ8SvSSfkakORdYLWfhDcymnlym4f Yo50LPhPlE+PCeFdTlBPZiKR4jLixeefDyITtm/0F4JUm8fVwy2rR/kO7nQSaQ7S+T T7nEy5yhlsE67wGlxD/zPVZg7VgFqu6qyWY3w9VE0M8DSX7P5kDQ8gMmfa7eKYbgQq EjjCiE32A+lWQ== Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) by cascadia.aikidev.net (Postfix) with ESMTPSA id A39B11757; Fri, 20 Sep 2024 14:26:05 -0700 (PDT) From: Vagrant Cascadian In-Reply-To: References: Date: Fri, 20 Sep 2024 14:26:00 -0700 Message-ID: <8734lukoev.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2024-08-31, Ludovic Court=C3=A8s wrote: > Ludovic Court=C3=A8s (3): > services: cleanup: Run under C.UTF-8 locale. > services: cleanup: Create directories with the right mode upfront. > services: cleanup: Delete /run upon boot. As they say, Looks Good To Me. :) live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZu3oaAAKCRDcUY/If5cW qmR4AP0d/G8/mlAelJUR8hv4R4Bbpws/YhbEef9A0J7ret+shAD6ArNIowpg4bCH 6kLn33u7J+854xvPpJtWlj6PR2nCYwE= =STTZ -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Aug 17 01:22:18 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vagrant Cascadian Subject: bug#64775: closed (Re: [bug#72920] [PATCH 0/3] Clean out /run upon boot) Message-ID: References: <8734lnu7we.fsf@gnu.org> <878rb9ysol.fsf@wireframe> X-Gnu-PR-Message: they-closed 64775 X-Gnu-PR-Package: guix Reply-To: 64775@debbugs.gnu.org Date: Wed, 25 Sep 2024 14:56:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1727276162-2233-1" This is a multi-part message in MIME format... ------------=_1727276162-2233-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #64775: /run should be cleaned on boot which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 64775@debbugs.gnu.org. --=20 64775: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D64775 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1727276162-2233-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 64775-done) by debbugs.gnu.org; 25 Sep 2024 14:55:13 +0000 Received: from localhost ([127.0.0.1]:42292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stTQ8-0000Pg-Re for submit@debbugs.gnu.org; Wed, 25 Sep 2024 10:55:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stTJ2-0008O8-VY; Wed, 25 Sep 2024 10:47:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1stSy6-0003BN-9Q; Wed, 25 Sep 2024 10:26:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=fN5zbtL9jRl2wG7qgLe/iGC9+EMWlzPPEiJ8SrJ6Ss8=; b=CqntQd12mGaxJuvP/4Li eO3DlL3yaBfLmlGPMTu9SygFQg7V6eepHMnUAP8BRFDnXqcYQF+RQhKxTDrMWrKt0vZ81BUihDYJM 6C9aDQvS5eMsJI+lZFonTIUntjoAtKhr90iBWBTm9bJ0g7J2I7YLp7wJMiqy0IWZ7a3eXx6kYl9Hw 9y6NmcGX3GMGueGM+2HToV0gqyaf9yIB7SU64oviidulE3dGZ5rRYuCvaGl4a0jj5Aj+MeDjgGl3B WOuWR17+XXlyPsJZ5o0I7hctDyP0w4Y5fKsuiFRYN4hckpC0Thjq/XDzJl7HOTT4kj35FXB8ft72m PW8xMF9ayasD3g==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Vagrant Cascadian Subject: Re: [bug#72920] [PATCH 0/3] Clean out /run upon boot In-Reply-To: <8734lukoev.fsf@wireframe> (Vagrant Cascadian's message of "Fri, 20 Sep 2024 14:26:00 -0700") References: <8734lukoev.fsf@wireframe> Date: Wed, 25 Sep 2024 16:26:09 +0200 Message-ID: <8734lnu7we.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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: 64775-done Cc: 64775-done@debbugs.gnu.org, 72670-done@debbugs.gnu.org, 72920-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: -3.3 (---) Vagrant Cascadian skribis: > On 2024-08-31, Ludovic Court=C3=A8s wrote: >> Ludovic Court=C3=A8s (3): >> services: cleanup: Run under C.UTF-8 locale. >> services: cleanup: Create directories with the right mode upfront. >> services: cleanup: Delete /run upon boot. > > As they say, Looks Good To Me. :) Thanks, pushed as c250033aa69f35e64949a87fd8482b253dd416b4, except for the first one because I remembered that C.UTF-8 is unavailable in cross-compiled programs. Ludo=E2=80=99. ------------=_1727276162-2233-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Jul 2023 19:24:22 +0000 Received: from localhost ([127.0.0.1]:34902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMvji-000360-8N for submit@debbugs.gnu.org; Fri, 21 Jul 2023 15:24:22 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMvjd-00035k-9s for submit@debbugs.gnu.org; Fri, 21 Jul 2023 15:24:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMvjX-0007qR-SO for bug-guix@gnu.org; Fri, 21 Jul 2023 15:24:11 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMvjS-00033O-Dj for bug-guix@gnu.org; Fri, 21 Jul 2023 15:24:11 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 15C351AD10 for ; Fri, 21 Jul 2023 12:23:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1689967438; bh=+8cLa4+N4SlS7Lb0k0kYSeqN/QeSsKmQEK0WJeAXlRE=; h=From:To:Subject:Date:From; b=jDHpk6pI3qPtrd+S/qWKAESVSoYju8/bliY36H4qRoRcfA2VtgouQ0jWJQzy9uq7W yg1lVasq88zQlc6bzoNpSZDsZUabF1Zth8s4cqGm8f3FpCP9RvpAKMv/1gggd4ijte Oiko2UYfJrSZHA1lLAkX5KBPAW3guU814pUMOiFSkCpRNar+2UBl+rFQLlT2Upx1Ms OruwM/GAtgbSaoBSVkrwhwR3M+Pku3PekJnncFEtG2zGbaF/fyiBA/Xvq5lmOS5m3I DHPViMLahRorwLLNNjbRh3K1+UkLFGbD42pQAs1Im33cXFXvb3ALPy/M33sSJG20oh Dr6PcyX31zHgQ== From: Vagrant Cascadian To: bug-guix@gnu.org Subject: /run should be cleaned on boot Date: Fri, 21 Jul 2023 12:23:54 -0700 Message-ID: <878rb9ysol.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) 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: -1.0 (-) --=-=-= Content-Type: text/plain So, if there are files sitting around in /run, they do not get cleaned up unless it is something guix is already aware of (e.g. /run/setuid-programs). I noticed this when experimenting with: https://issues.guix.gnu.org/61462 Add support for file capabilities(7) Even after a reboot, the leftovers from that experimental patchset were still present in /run... While I know that Guix does not really follow the FHS in most respects, maybe the intention of /run defined there should still be respected? https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html 3.15. /run : Run-time variable data 3.15.1. Purpose This directory contains system information data describing the system since it was booted. Files under this directory must be cleared (removed or truncated as appropriate) at the beginning of the boot process. ... Many distros implement this by having /run on a tmpfs, but making sure to clean up /run at boot seems like a reasonable thing to do at the very least. I am not sure if it makes sense to do housecleaning of /run from guix system reconfigure ... as there may be legitimate uses for other processes to write there. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZLrbSwAKCRDcUY/If5cW qjKlAPwJdVVa3gKlW/InWq2SNmS0BHsc0p8Q+R9Wv92zNvqsSAD+P6XLOsrXQ9zO Gqa0J9FfURexfFuW1xMwHf+E9LtySgM= =307A -----END PGP SIGNATURE----- --=-=-=-- ------------=_1727276162-2233-1-- From unknown Sun Aug 17 01:22:18 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#72670: closed (Re: [bug#72920] [PATCH 0/3] Clean out /run upon boot) Message-ID: References: <8734lnu7we.fsf@gnu.org> <877ccg8ufm.fsf@inria.fr> X-Gnu-PR-Message: they-closed 72670 X-Gnu-PR-Package: guix Reply-To: 72670@debbugs.gnu.org Date: Wed, 25 Sep 2024 14:56:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1727276163-2233-3" This is a multi-part message in MIME format... ------------=_1727276163-2233-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #64775: avahi-daemon can fail to restart due to stale /run/avahi-daemon/pid which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 72670@debbugs.gnu.org. --=20 64775: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D64775 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1727276163-2233-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 64775-done) by debbugs.gnu.org; 25 Sep 2024 14:55:13 +0000 Received: from localhost ([127.0.0.1]:42292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stTQ8-0000Pg-Re for submit@debbugs.gnu.org; Wed, 25 Sep 2024 10:55:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stTJ2-0008O8-VY; Wed, 25 Sep 2024 10:47:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1stSy6-0003BN-9Q; Wed, 25 Sep 2024 10:26:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=fN5zbtL9jRl2wG7qgLe/iGC9+EMWlzPPEiJ8SrJ6Ss8=; b=CqntQd12mGaxJuvP/4Li eO3DlL3yaBfLmlGPMTu9SygFQg7V6eepHMnUAP8BRFDnXqcYQF+RQhKxTDrMWrKt0vZ81BUihDYJM 6C9aDQvS5eMsJI+lZFonTIUntjoAtKhr90iBWBTm9bJ0g7J2I7YLp7wJMiqy0IWZ7a3eXx6kYl9Hw 9y6NmcGX3GMGueGM+2HToV0gqyaf9yIB7SU64oviidulE3dGZ5rRYuCvaGl4a0jj5Aj+MeDjgGl3B WOuWR17+XXlyPsJZ5o0I7hctDyP0w4Y5fKsuiFRYN4hckpC0Thjq/XDzJl7HOTT4kj35FXB8ft72m PW8xMF9ayasD3g==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Vagrant Cascadian Subject: Re: [bug#72920] [PATCH 0/3] Clean out /run upon boot In-Reply-To: <8734lukoev.fsf@wireframe> (Vagrant Cascadian's message of "Fri, 20 Sep 2024 14:26:00 -0700") References: <8734lukoev.fsf@wireframe> Date: Wed, 25 Sep 2024 16:26:09 +0200 Message-ID: <8734lnu7we.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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: 64775-done Cc: 64775-done@debbugs.gnu.org, 72670-done@debbugs.gnu.org, 72920-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: -3.3 (---) Vagrant Cascadian skribis: > On 2024-08-31, Ludovic Court=C3=A8s wrote: >> Ludovic Court=C3=A8s (3): >> services: cleanup: Run under C.UTF-8 locale. >> services: cleanup: Create directories with the right mode upfront. >> services: cleanup: Delete /run upon boot. > > As they say, Looks Good To Me. :) Thanks, pushed as c250033aa69f35e64949a87fd8482b253dd416b4, except for the first one because I remembered that C.UTF-8 is unavailable in cross-compiled programs. Ludo=E2=80=99. ------------=_1727276163-2233-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Aug 2024 13:33:23 +0000 Received: from localhost ([127.0.0.1]:51873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sex51-0003QH-3K for submit@debbugs.gnu.org; Fri, 16 Aug 2024 09:33:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:57034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sex4z-0003Q5-2D for submit@debbugs.gnu.org; Fri, 16 Aug 2024 09:33:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sex4M-0007cD-U6 for bug-guix@gnu.org; Fri, 16 Aug 2024 09:32:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sex4K-0000u7-Cf for bug-guix@gnu.org; Fri, 16 Aug 2024 09:32:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=z2w7e3ZNFcKv3aCeN9DYF3ONFCxKMAyCT9InAPqL4Yc=; b=J2C9J8Jv+kaxQ7 XD2si6Qnmk8N0eXYg+WyVQPFQL/kyApzDdqqQeQxysk7hBWR4+ZlTbzoNOCPQG4R7DGrVUpkoKJXH 4b8ihe36dELTSB+D0TqzUCdjNgin7RYSXK0QH63bGZsx8G4egd7x/+iSs8iGxwBSqi+8/ko3eKVjq TS/eKbD1/47q7367+5NyHjIVuPnM+F/4JWqCQtjTbS2lZcht3dY3ChBNsG+XGJy/pMbo5nyfhcGUn WC+H3jwar4x1tFahFMYME/K5w0SqVUqWRSCqi2GI+eTU3tdl2SRvrBV2yiYb834GJAKt2Dv4vnCgJ 714XNcnJQfI2EtghgZ3w==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: bug-guix@gnu.org Subject: avahi-daemon can fail to restart due to stale /run/avahi-daemon/pid X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 30 Thermidor an 232 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Moulin X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 16 Aug 2024 15:32:29 +0200 Message-ID: <877ccg8ufm.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) 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: 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: -3.3 (---) The =E2=80=98avahi-daemon=E2=80=99 service fails to restart these days: a s= tale /run/avahi-daemon/pid upon reboot leads it to abandon. From /var/log/messages: --8<---------------cut here---------------start------------->8--- Aug 16 13:29:11 localhost shepherd[1]: Starting service avahi-daemon...=20 Aug 16 13:29:11 localhost shepherd[1]: Service avahi-daemon has been starte= d.=20 Aug 16 13:29:11 localhost shepherd[1]: Service avahi-daemon started.=20 Aug 16 13:29:11 localhost shepherd[1]: Service avahi-daemon running with va= lue (("unknown" . #)).=20 Aug 16 13:29:11 localhost shepherd[1]: Spawning systemd-style service /gnu/= store/yfl1x5k3njghkg4ckximqb0ysppvx8na-avahi-0.8/sbin/avahi-daemon.=20 Aug 16 13:29:11 localhost shepherd[1]: Running value of service avahi-daemo= n changed to 1497.=20 Aug 16 13:29:11 localhost shepherd[1]: Service avahi-daemon (PID 1497) exit= ed with 255.=20 Aug 16 13:29:11 localhost shepherd[1]: Service avahi-daemon has been disabl= ed.=20 Aug 16 13:29:11 localhost shepherd[1]: (Respawning too fast.)=20 --8<---------------cut here---------------end--------------->8--- =E2=80=A6 and /var/log/avahi-daemon.log: --8<---------------cut here---------------start------------->8--- 2024-08-16 13:29:11 Daemon already running on PID 1346 2024-08-16 13:29:11 Daemon already running on PID 1346 2024-08-16 13:29:11 Daemon already running on PID 1346 2024-08-16 13:29:11 Daemon already running on PID 1346 2024-08-16 13:29:11 Daemon already running on PID 1346 2024-08-16 13:29:11 Daemon already running on PID 1346 2024-08-16 13:29:11 Daemon already running on PID 1346 --8<---------------cut here---------------end--------------->8--- The issue was uncovered by the switch to socket activation in commit 3298ec0200af0d0b0850a388df0a78e87320307f: despite using socket activation, avahi-daemon checks for the presence of a PID file; however, there=E2=80=99s no longer a cleanup process as is the case when #:log-file = is used, hence the bug. But the core problem seems to be that =E2=80=98cleanup-service-type=E2=80= =99 deletes /var/run at boot but not /run. I guess it should delete /run as well? Ludo=E2=80=99. ------------=_1727276163-2233-3--