From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OFW/DaTbumShTAEASxT56A (envelope-from ) for ; Fri, 21 Jul 2023 21:25:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gEm/DaTbumTwcwEA9RJhRA (envelope-from ) for ; Fri, 21 Jul 2023 21:25:24 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 038A94D16C for ; Fri, 21 Jul 2023 21:25:24 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=jDHpk6pI; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689967524; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=Merr5u2rExBdjJk/ok1KlnMnmvQ2NeoGepeP5aCfklw=; b=OeNYscwawgl25pD87BYKrNSlX+RcysPxoM4CQxpCL5B4Q1GrCF5Ytj0a1rOOkYhYy2jl/f XD2dbaHuypjpdzR9k1i8i92lnXpJ+OvOJbWD/yXtNEoVzqXbm1alS97iRTyKGWx6lsPMiX nLf2jBFUcXQd/mShhsXqeexeIiCdt1qoGGHkqK8LHWzxhHTNN3LPkkf12xvNf1aWoPpT9s xIkNosiPAbV2C/Hihs9AfiVTBsxVbmhgBmW5s2nKJ1a9m50QAv6WugXtZuzF/54BjeaxR7 ny9NLf2sNpvFwS0NQRpW4/PtJoRPp5XVe4QmZ1mSEZAAKh/Be5gowfu0iiFkzA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689967524; a=rsa-sha256; cv=none; b=HYBpHlxb5W3RTf1UmwbI4ypgtxFqinseVb5tqJ6Teg8kucTQB4zuk2rqcBaH/kDxOZWnNc s7z9NoJ3tg9y/nlC2rKwEiFaMFwrFGlQ+GUuAaCvNIPiJv+6AP6drSqSPK5aCqqzpF3dbq I2FuRBWxtOXYmIkEVLeiAVBVKkvjUk5ZtVBBZIAtfj2T8Q6ykH0Wn3FcUE7BBjsQzBelfp GdA3DHRgaAw7qUZS78gMIHj0kySngMTK+onGhXDF68auPOEkBlVmq1xzA8oF3SGMlYUBCg fh3dWdU+212gEwkZijxW8LznHFb0Pav6iZGWn2UdoUfwlavIcYmdm/6BdTz9DQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=jDHpk6pI; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMvkO-0007u1-T2; Fri, 21 Jul 2023 15:25:05 -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 1qMvkN-0007tp-8L for bug-guix@gnu.org; Fri, 21 Jul 2023 15:25:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMvkN-00038E-04 for bug-guix@gnu.org; Fri, 21 Jul 2023 15:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMvkM-000370-FC for bug-guix@gnu.org; Fri, 21 Jul 2023 15:25:02 -0400 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.94 X-Spam-Score: -3.94 X-Migadu-Queue-Id: 038A94D16C X-Migadu-Scanner: mx1.migadu.com X-TUID: CYZGspH3snqG --=-=-= 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----- --=-=-=--