Message ID | OSZPR01MB7772A3965EF12B8BEBFEAA7A88722@OSZPR01MB7772.jpnprd01.prod.outlook.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from esa6.fujitsucc.c3s2.iphmx.com (esa6.fujitsucc.c3s2.iphmx.com [68.232.159.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A7BF1140E30 for <linux-nfs@vger.kernel.org>; Fri, 4 Oct 2024 09:06:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=68.232.159.83 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728032766; cv=fail; b=VJlxoN+6nAn2Gj6ZCDYCOH/1x8GSWy5G4BVqtbI0VgolG/tqv67zKuYkvcjGrw+nMzjj78laYRNl4t5D/2o71dI7CgWbK6opRKLyCbAbZPVPgGiJCAUcj1Dg7soCH1+3mx86u9PJGSEwUqVtS8O/S+RUDG+4hoSnmepyFijLuk4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728032766; c=relaxed/simple; bh=kymWXJygJ+kIXc8F6QeF8PWJtnikEpcNO0taA8tiEjE=; h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version; b=OUo+ylmgDKs66G8Qu2D2hmWfiKqaIBDgIoCCMbbof3htqfvByBmUyEPI79vS8bX+UzdGaY4SIOKghetzdtUI9tJHIRNrd3sTeYny0GNT9zM2rKHkcHzsvY4NiCyn2Ww4JFH4NLc0q28XF60YRymdDkkkbiN99DrxpjdeO52d+Ro= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fujitsu.com; spf=pass smtp.mailfrom=fujitsu.com; dkim=pass (2048-bit key) header.d=fujitsu.com header.i=@fujitsu.com header.b=uev6nA5G; arc=fail smtp.client-ip=68.232.159.83 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fujitsu.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fujitsu.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fujitsu.com header.i=@fujitsu.com header.b="uev6nA5G" DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj1; t=1728032764; x=1759568764; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=kymWXJygJ+kIXc8F6QeF8PWJtnikEpcNO0taA8tiEjE=; b=uev6nA5G6AE8nI0d7QRKMiYnG42Ap2nEvwJFy/Fgj/kWah4tzFEggD4j aP514N0gt700mBzgSAyXX7GyO4WdYZ4k1uNiqzKexuH0BsCd19GkhSrs7 sb8gaqPzp++2M53F1FtK1sGbFstIsmdM32NUeEL9B1QlBkMZdNOF9D0NX OzpxFalZ4GirTb0Ae3YJ4vEKRAOg5SvRYIyXA6tgGeVRx2VJ8fo+lysIg Uqq0T+4H0eilTl08mY6YMq5bhzk96Y9SeJpII0hTDQrnliXlt/2tWR+rg j31qOaW+PlWdVYViKnJXK54hFrWt5ZXWhZv5qqWz/qDM6jb6lfRicVt5n g==; X-CSE-ConnectionGUID: PkRCmlvZRlG5OOs7llD4kA== X-CSE-MsgGUID: 7V+PnLiUT2aoQQS2yvygMA== X-IronPort-AV: E=McAfee;i="6700,10204,11214"; a="132721831" X-IronPort-AV: E=Sophos;i="6.11,177,1725289200"; d="scan'208";a="132721831" Received: from mail-japaneastazlp17011026.outbound.protection.outlook.com (HELO TYVP286CU001.outbound.protection.outlook.com) ([40.93.73.26]) by ob1.fujitsucc.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2024 18:04:49 +0900 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TPWtgG/Caa64/GkiCyNwa/PTWathkCEu91Cl0XRiDXn+N70c9UtoC46nUPrRV1pqUsmQ7UcuSff0/akUpL5XO1fk8Cexn7+lDhNrLbFj6+Z2S4TF7ZM9bpem5ACR6WP/QUsBF4v76CA9xon1LniVe2VoUPHKGvuxLGAJE9vg/FJ5YidD0zXU8XuEA40E9hFfqifmTLFzJTb3LYnbol3i+eh4ZrvmAib8o4IrBiAlKK25G857n7TEzg/ZELZafi7zXvMf38nAwD0jChyGSHiTUNN1PxOTi966zFehS5cTdAkdFAPNNIiUB7wbYJqikeetTWajTeUwsfDd5xmcc0vRFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TqJruTllwjINVLcnnMoeK7PIJHcWo12CDV87N4bWCXo=; b=MjEg1Ljq6Fq2uVPIq3mVuW3p64M32+nbcImVG2x3hy2YnRizAJzqHAZuQdqkaXI+sTohunra0EoOYDdYcFYX+WmDdZAgAuGd8cqemUmuDOwRVdqZLa7M9O0GK4e9hYrAoTlK2Q0Z/Hc0l/RwE7tsAKj5fK9TCq6z5qQIhAgW65z41lWE91msGTD/FYVJYWFllmTbrnxw7H7ezgW5N+jLjCTRKxhCYCCalb7jpFahoGxvIp9dzmQEwxMiZbVTyWYRAghqp6gxk1NXUIcyKxTpOVIoLc7tvzA/bFl1MAtI6005NKLbla/0W6ELw7jzMVQxIyOlVNvK+e7HCfwoIgLT0g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fujitsu.com; dmarc=pass action=none header.from=fujitsu.com; dkim=pass header.d=fujitsu.com; arc=none Received: from OSZPR01MB7772.jpnprd01.prod.outlook.com (2603:1096:604:1b4::7) by OS7PR01MB11820.jpnprd01.prod.outlook.com (2603:1096:604:23a::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.16; Fri, 4 Oct 2024 09:04:46 +0000 Received: from OSZPR01MB7772.jpnprd01.prod.outlook.com ([fe80::df28:316e:ef65:39a9]) by OSZPR01MB7772.jpnprd01.prod.outlook.com ([fe80::df28:316e:ef65:39a9%4]) with mapi id 15.20.8026.017; Fri, 4 Oct 2024 09:04:46 +0000 From: "Seiichi Ikarashi (Fujitsu)" <s.ikarashi@fujitsu.com> To: "'linux-nfs@vger.kernel.org'" <linux-nfs@vger.kernel.org> CC: "'smayhew@redhat.com'" <smayhew@redhat.com> Subject: [PATCH] nfsdcld: prevent from accessing /var/lib/nfs/nfsdcld in read-only file system during boot Thread-Topic: [PATCH] nfsdcld: prevent from accessing /var/lib/nfs/nfsdcld in read-only file system during boot Thread-Index: AdsWOjXVtImMI0OWRkCXWrVaBy7hTA== Date: Fri, 4 Oct 2024 09:04:46 +0000 Message-ID: <OSZPR01MB7772A3965EF12B8BEBFEAA7A88722@OSZPR01MB7772.jpnprd01.prod.outlook.com> Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_ActionId=fe68d520-0fb5-4044-85b0-a382bfde0a4c;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_ContentBits=0;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_Enabled=true;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_Method=Standard;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_Name=FUJITSU-RESTRICTED?;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_SetDate=2024-10-04T08:47:37Z;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_SiteId=a19f121d-81e1-4858-a9d8-736e267fd4c7; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=fujitsu.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: OSZPR01MB7772:EE_|OS7PR01MB11820:EE_ x-ms-office365-filtering-correlation-id: 91853719-4725-4db2-cb2e-08dce45397ee x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|376014|1800799024|366016|38070700018|1580799027; x-microsoft-antispam-message-info: =?iso-2022-jp?b?VXJYR25PMkt1MkJDRVh0UzNJ?= =?iso-2022-jp?b?R1p5MXB0NnBycnA0c05MMGEvSzh3eTZCSkh0N1ZjVzI0V0ZnaW96N2dY?= =?iso-2022-jp?b?bm5vVm9rNHJWeVM1N0t6eElEZk05dk5WS3RGV3dycjhpQTMxK3NJVXY4?= =?iso-2022-jp?b?V01tREJFOFp3QzBIbWw4UUFTS2gxSXFuRWcyY2cwRWMzdEsvUmNpR0Z5?= =?iso-2022-jp?b?MUR3WkdsUDg1WlV3QTBtYnhSeDI2bWkydXJ5WTc0aDNITHFScmJjQnFz?= =?iso-2022-jp?b?UnZzUy9VWWl1R0FRWUNsMGdFaWIzN1hpc1ZhTDFpeDVMQzBnYmwwRFJq?= =?iso-2022-jp?b?WnRQTXIwVHFVdk9jMWwvTktHRmtZYWZwN0wwb0I2SUovakxkQ3dJTHN2?= =?iso-2022-jp?b?TVVEZW10WXozNXVmS0Y2eldqUCs3Ui9MeTRyQyt4R1Z2WUF2aEZVSUpv?= =?iso-2022-jp?b?NXNGS1Y1VDVPa1JNNSttR0wvRTJ6Wk93MEMrcHZVK2RHNVRJWlBFNTVo?= =?iso-2022-jp?b?MW8zOXYybnlrTDdpK2kyOVZab3NjM2Y4MGpIOFAwS21oNmpVUnlOVllX?= =?iso-2022-jp?b?Q3FPeDlkclNCai9FalhBbkZPTFRDckJ3dDFBdzU0Nkx3c0JITmpWMXFk?= =?iso-2022-jp?b?Q3FqRGhoVHhibnhGenF0OFpPZ0VqZWNwandDZUN6MWV6RjVIQ1hFZnB6?= =?iso-2022-jp?b?L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Y0?= =?iso-2022-jp?b?UGlBSzBHWHptcG5tK0NSSFErT01OZkVhYzFxYnVGMjMydkRpTXc5bGJW?= =?iso-2022-jp?b?bkdTY2l0N2tWc1A1a2pPdHJnVU56NU1vTFh0UVg4dkpsS0VVWVEvUGVK?= =?iso-2022-jp?b?VG1UZ1l6T1hlMVhMVUNScUsrcm9GclE2S2kvc09EbUo0aEZiaUs5U3Ji?= =?iso-2022-jp?b?czZTQjBlekN5NHJFWW4wRVk1MWFKYm5mRWtYWm5MUStsUVNNWURSM294?= =?iso-2022-jp?b?ZExTSEd2SlRoSkNleDEvVDdXdndSWktXN1FjTzRONTc2eXVCSk84c1FF?= =?iso-2022-jp?b?ZFZSWEQ1enVNeTNLVUhGVENkZE9MOXc2UjhYVUFnWEtEenJla1dEVTZ6?= =?iso-2022-jp?b?UVlmd0VYMS9SWWpLbWRmbHVFSGRZTGxoOD0=?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:ja;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OSZPR01MB7772.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(366016)(38070700018)(1580799027);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?b?Mm8xZ3REMVd6cEJaRjBP?= =?iso-2022-jp?b?akVQZXRQV1BWYm9ZT0swYXBxcm8raVU2MXU2UXBzQ3pES3JQd1hVQVdh?= =?iso-2022-jp?b?WnRpOVpld2JPSmRHakNNNlRGZG9VU1M0VjZ3bzh6WFlvMHpZcU82L1o3?= =?iso-2022-jp?b?UVNaaDJpNURDVjhISDZ2bURCS0ZoQ3BQamcvSWVqTWxCcUFHeDRpVkJD?= =?iso-2022-jp?b?bjBORGRYbWFBM2dRS24reW96S3ZMc0lueWkvY0RncmwvRXJLMmIzVHBY?= =?iso-2022-jp?b?dlR0dzFHYUxiU0pqeVpFdk93aU1YWlBVS0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jp?b?QlVHbFBHT3lFdThCdUIrZ3hpQjRYM0JMYXMvWEtiV04xMkppeWJ5dHVS?= =?iso-2022-jp?b?NUNESEFEOWpFaTdNYmdkb0I3ZjVtSmJ6UnJmcW5ZcnBFU3V3Y3piZFVr?= =?iso-2022-jp?b?YW1HdG5HTFFrR251VVNtM1daTWtxbm8rZ0VsL0htQnk3eXVTcnF2RkJP?= =?iso-2022-jp?b?WWlVUldFaFI0cmpid1VOL20vMEQ3OEdvaW9sRUJUNQ==?= Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: <linux-nfs.vger.kernel.org> List-Subscribe: <mailto:linux-nfs+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-nfs+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: Ze9DkJg4uouDNqc/R0gVO+LOIr1lB4rcrmDnrS3uIJjwwC1QsU2ZCHkQKkivKplJquY5qR0SW432hmzeduFLZ1otn/hnKrUqaaPxeSfdZf+X9W+c6fXAw3H/Vn6hWjlJqUlbzNwP34lfzYi20UyyaSukM9jnAhzM2cVscrJtpXtZbsGrqe/G1p2TW5pQ64B4/2fsa2EasrXtX4L2hcIg2lloz79ZQuDCcgZ4pHcZKY6zXYEoZc+XS4qqEXfpLWMYvbDfhoxDE0CiWDSLe+CbCneqXVNHj9yuKOkz20/CDo/U4AxYz7Q7f2wv3SEMFEUvEMwtgLaoTMIepAPSHARDvnbcy7QmW2Me4APbKzpUJRVHELPDuosvjX46WvyvGt8NRxrsWreX5o+DsQBt1Kj5H76ztMM9n+nlCawROWrXGbIjd8J5nU4ld/6yr7nzKxpOqxYVL6O+4W7NnPHWrG4QV9N9ZdK/ecgpE3AP4ZMR0Wg748tETkAvkJ91NJ3tErNg5ZOcaXz0TGSglKVhxyIMW+DD92ARUHEbdQfCHLpr9m5vLjUUGJwuVC+88Cm2VCQHun385HVd48bPeAc8+bR48aSNfUiTP5+EVw0Vwcz+r9Hy6FPX4MtdLTrUUlqVaDzq X-OriginatorOrg: fujitsu.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: OSZPR01MB7772.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91853719-4725-4db2-cb2e-08dce45397ee X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2024 09:04:46.1802 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a19f121d-81e1-4858-a9d8-736e267fd4c7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7/0Lb1Hg2oZpFT1F3UT3VR5BjEyBiczy92QrbeeStrhuZmRvSuu/LRyBDPDaTJtj7uYbaFwfXNXWT0f4+47BgC7QFByDYoGsDSmj9DoHPXE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS7PR01MB11820 |
Series |
nfsdcld: prevent from accessing /var/lib/nfs/nfsdcld in read-only file system during boot
|
expand
|
On Fri, 2024-10-04 at 09:04 +0000, Seiichi Ikarashi (Fujitsu) wrote: > I saw a VMWare guest that hit a rare condition during boot; > nfsdcld started too early to check access on /var/lib/nfs/nfsdcld which were > still in read-only file system as follows: > > nfsdcld[...]: Unexpected error when checking access on /var/lib/nfs/nfsdcld: Read-only file system > systemd[1]: nfsdcld.service: Main process exited, code=exited, status=226/NAMESPACE > systemd[1]: nfsdcld.service: Failed with result 'exit-code'. > > nfsdcld.service needs to wait the root file system to be remounted at least. > > Signed-off-by: Seiichi Ikarashi <s.ikarashi@fujitsu.com> > --- > systemd/nfsdcld.service | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/systemd/nfsdcld.service b/systemd/nfsdcld.service > index 3ced565..188123d 100644 > --- a/systemd/nfsdcld.service > +++ b/systemd/nfsdcld.service > @@ -4,7 +4,7 @@ Documentation=man:nfsdcld(8) > DefaultDependencies=no > Conflicts=umount.target > Requires=rpc_pipefs.target proc-fs-nfsd.mount > -After=rpc_pipefs.target proc-fs-nfsd.mount > +After=rpc_pipefs.target proc-fs-nfsd.mount systemd-remount-fs.service > > [Service] > Type=forking > Good catch! Seems like a reasonable fix. Reviewed-by: Jeff Layton <jlayton@kernel.org>
diff --git a/systemd/nfsdcld.service b/systemd/nfsdcld.service index 3ced565..188123d 100644 --- a/systemd/nfsdcld.service +++ b/systemd/nfsdcld.service @@ -4,7 +4,7 @@ Documentation=man:nfsdcld(8) DefaultDependencies=no Conflicts=umount.target Requires=rpc_pipefs.target proc-fs-nfsd.mount -After=rpc_pipefs.target proc-fs-nfsd.mount +After=rpc_pipefs.target proc-fs-nfsd.mount systemd-remount-fs.service [Service] Type=forking
I saw a VMWare guest that hit a rare condition during boot; nfsdcld started too early to check access on /var/lib/nfs/nfsdcld which were still in read-only file system as follows: nfsdcld[...]: Unexpected error when checking access on /var/lib/nfs/nfsdcld: Read-only file system systemd[1]: nfsdcld.service: Main process exited, code=exited, status=226/NAMESPACE systemd[1]: nfsdcld.service: Failed with result 'exit-code'. nfsdcld.service needs to wait the root file system to be remounted at least. Signed-off-by: Seiichi Ikarashi <s.ikarashi@fujitsu.com> --- systemd/nfsdcld.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)