From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 524871580EB for ; Thu, 22 May 2025 17:18:04 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 3960E34314A for ; Thu, 22 May 2025 17:18:04 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5FC121104B8; Thu, 22 May 2025 17:17:00 +0000 (UTC) Received: from sonic302-21.consmr.mail.ir2.yahoo.com (sonic302-21.consmr.mail.ir2.yahoo.com [87.248.110.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 185F21103DE for ; Thu, 22 May 2025 17:16:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1747934216; bh=MbvUbTpIJC9AptIzP+e6p+vybmRd/Hj8rlipMv3MHv0=; h=Date:Subject:From:To:References:In-Reply-To:From:Subject:Reply-To; b=ms5jzFZw12A8CUhCgUPW53ZuT/e5BGVLR119qch8a1L/34VLb0nPaaQ3sAgZZ2EnCQieHRPWpuXke0kNHHUL9GTbhz7Is5UD7OTNUuC9YHOUjkKf7vr+Unsr32vOgEquYtzvu8s8C7I3DZhMWLNOcEUjnM4pEHP/GaYs9pxBIhQ0pOnjghujM2KvavBnlnqBgWvsWWdNsBzNMZ+CUQMsf1WiGMfPVC2/mixoo5y8StkbXI9QXmnuFNRY3GxSEf6hKUyzjFofrdRNH/k84+cGS9GtB2JfKnA1nG1/O7fCm5LihVKb87deVExv5oWURjlhe47itgje+JSpFPKgWhZFvw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1747934216; bh=YLWllLvPVCdDqJ+D6S9IKCKuXYGHJOaGPblBuAQufmi=; h=X-Sonic-MF:Date:Subject:From:To:From:Subject; b=V1RDsU/+uToNPj33WBamUwgdR8aDCBPVs/aQlf+5ss1O/9c0/lAdoyTRUEgdpBocyX4oQSSIWzlDhlEadt4bQXU1OEBZghSfdm12ZgieKi2zN8jk77rqs16vnGwYCUnvD0WODm4+w+9/Q3jOS8Mw58tji3q+o0SjqeZ2mbRTSQNFEqRezYsDSSjsCAjig8wx+Kc1ZBXr5c4Lcth+189X5WNMbJlj+EYAbpON0ja6jmQOxs0ZvxC1fDsPZGd9KyqnbuKOZXjkRNVP764aaVGeITGzF9YsqMb38bArilHhnjb5dnW5On9b62YEd/YmITjmn5cGlCsxoZqyXSmNsYA1HA== X-YMail-OSG: 5bdjM8IVM1k2Uv3K74YXGM7F8OCgHgIV9b9gAq337rfyW9lRMY2bvhQ97uozyMc 1ClZIBsqkv2WxU5FEGPHZCdWuHqpC8frurQYgnb_IPfMdN1zlzJ3GOok9QJ2j5gimCGPz1IIqUe2 QlHpC2ccBha4EzHQMz6ZgAgpaKHnYJfMWjH9.ugD1O2lckmPdCxhldCKxIwZvLPGsZEROEYFnGys Nz1DZOqR_ypO4SzOIKfIoq4J0_O_xs3jJ2vcKNqTULvN9ssYVZQQZqKPeYmNid.BscKNtG6POF2n _040z5ygE9zwYCPHU5MIvSTjRFVA_DP1XBOY7hr_we0HDkOk27CJoZxJdSjzGGFuO75c4cuv52KG iAu8TfAf4w_5JqqOhZv.VTegDbTni8mmXhIHPrnq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LuhXwo8i69YKtsNtp.Mzvi5hSa9YutI 9jyWS3Eqm_jFYAixweTbp91.yIMzvYaw1cfIowvWANbnj3t.9WqBOUj.bKj7EsNBf5l1jXDNHQli tnPBgYKzu8D0KL3eApiAU7g0Yd_8g1fWtUzcjenSfYziatRgD4duxKRNHktLxNS_25pfQ1u8dBrY lCylM2QJYStymbhv2I_8QOtdXS.VbFITLErlkbJU9Va4owhK0EedeKEv0Mx1YuMAL.ZbVoegYIvU 54GeCISFs8xjcsPi0orCCjP0qZ9hib2pFCEIalOpFji49XWW_ounYQm8AK8k6WxGaHXkfKs0C9Ee nxHPmFVD7Pb.42SUng8DIipsbZPbeYXGGE4ScK66VIP9e.FWFIYscc.6WyO8RgY11UrzWPbFs78Z 2OKCroV2PzkSGXFO4JrZlaC7pAfgK64qX.JtUkOROlJQA7G8hK8p2OhBX9aDuPI5thA29_jRgaq0 ln_jvVh90NHmppF3OuE5gxa63.WA70J2a6iRS5m63UIdim0tFl1iSZ3rnWjIADxVAZIhiZdVNnM9 RzWyo3djW2vjdzuUtgB29YuiRkJTQatyLQLP2tA12uTd.0RIvS7yzgt6m3mP_FNgJaAOpIpyPMY2 qaR6ECGBU3CXZwBKX7HgHvqAqxHhmfVbEKTt3tjKJNFTUJKzdgvRca04B_eGkgNLqhGOq2XJr3Bo RUMRQQf0UStKBUzIfFhqSTxkjNyDYMJvriIo9YJA7QIXEGVrJJ8HXBL7bHwsA6A5wrLgjGNGhtcf v9bMWT4HeaOaTfk0qvoqI_hWj X-Sonic-MF: X-Sonic-ID: 233967bd-98ae-48f2-a5a2-fc1edb7791f5 Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ir2.yahoo.com with HTTP; Thu, 22 May 2025 17:16:56 +0000 Received: by hermes--production-ir2-858bd4ff7b-vtq9f (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f87acc1c1e1f8f07d9a17df7bc280c7b; Thu, 22 May 2025 17:16:52 +0000 (UTC) Message-ID: Date: Thu, 22 May 2025 19:16:51 +0200 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [gentoo-user] Re: fsck operational error From: yahoo To: "gentoo-user@lists.gentoo.org" References: <41040b25-52a7-484a-9261-1f115f2d5818@yahoo.com> <691540be-2caf-479f-b5e9-d4c43f61e54a@yahoo.com> Content-Language: it, en-US In-Reply-To: <691540be-2caf-479f-b5e9-d4c43f61e54a@yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: WebService/1.1.23884 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Archives-Salt: 5e8795bd-3fe2-4650-9535-4df18b9c86d8 X-Archives-Hash: ef15e24c5b31f7e891c48999011d9b6b Il 09/04/25 18:38, ralfconn ha scritto: > Il 21/09/24 18:16, ralfconn ha scritto: >> Upon boot OpenRc shows this warning: >> >> fsck: checking local filesystem >> fsck: fsck.ext4 device or resource busy while trying to open /dev/ >> nvme0n1p6 >> fsck: filesystem mounted or opened exclusively by another program? >> fsck: operational error >> >> ... > Old thread, no answer, but now I get the same message on another box, > just after I reconfigured the kernel for hardening (https:// > kspp.github.io/Recommended_Settings), so it was not an OpenRC issue. > > I'll update if I find the option that causes the issue, just to close > the thread for the posterity :-). > I found the kernel option causing the error: BLK_DEV_WRITE_MOUNTED Re-enabling the option fixes the issue. The help says: "When a block device is mounted, writing to its buffer cache is very likely going to cause filesystem corruption. It is also rather easy to crash the kernel in this way since the filesystem has no practical way of detecting these writes to buffer cache and verifying its metadata integrity. However there are some setups that need this capability like *running fsck on read-only mounted root device*, modifying some features on mounted ext4 filesystem, and similar...." I can't say they didn't warn me :-) The option is on by default, I was directed to switch it off by app-admin/kernel-hardening-checker: CONFIG_BLK_DEV_WRITE_MOUNTED |kconfig| is not set |a13xp0p0v |cut_attack_surface| FAIL: "y" The fourth column is the source of the recommended setting - a13xp0p0v - who is the maintainer of the tool. It's in github, I'll open a ticket there. raffaele