Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) (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 CD8E48175E for ; Tue, 9 Apr 2024 13:29:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.177.32 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712669388; cv=fail; b=fu7SMX6QwkQV8Yfl5asyEm/wlnNI3gKxaROD+JrbFbKZFNuY79oyDRE2FATpd4Vv/FiXu/6iXb8SAlLoM2HFU/s/C4ca8l7aHBdi0GGThONj4sKnpCPp3bBXBYK7JfNR92G0WVjXx4s9SIVMLZuXsJbFaioFMhZIF1EHOndgrfs= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712669388; c=relaxed/simple; bh=s9LvZ1d2aJ5ALDImqksvo5LXuDZzudw7Jh78hWcTFd4=; h=Date:From:To:Cc:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=nDfMEOp4lFTpc8RY7yPo5Z/MC65dK8jaWQK8U9MLL5pGp6Mwpaol4F9oUGgwau0uXY/rnXPkmcBRL1X0pZhAMqakOfEuYe/Rqk49n6BBFSNQEF6tmCkw90fo3La/iO7i+RcIY7HGQsDf0B2EpOTmrPSlDJb5xPn3H69VjGxmVcA= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=RhFpTmTw; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=hUivyQK6; arc=fail smtp.client-ip=205.220.177.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="RhFpTmTw"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="hUivyQK6" Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 439BXpKb027189; Tue, 9 Apr 2024 13:29:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=corp-2023-11-20; bh=8u7ko3SZFysKNGv1UCyJxfK1QYfk3E+oWy/8drlYG20=; b=RhFpTmTwjWTufDLmao1JFrZqUSvhDd5BI870mu6IlQU1NoJVqsUPUi/dGJJpY9slqTI7 qLIEX5+jp6uNafG9MRbNJTiZaWG99BqwGeX13B3jjc8fNXs+R0kKqKqj1tWXKzu7qCsc qgKlDeSbaapXheYkMPyZx4wc8+NMinudBKdJz9E6Hvd+N6fdT0rIi8dv3BncRceT5lO5 ff9g6cAJVRNkfmFrF3SRgsEgT4sueuM+uI8heV2dTI/oRFTABZeeIpqOBKXL/sOgU2HV Q4Xzk/T+rTdsxAgygyZfsYWKoiHQd0KtCi/hnHLS06iM0aDl8EjNtbjpxGG0o1Ys+FbA dg== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3xavtf4y6q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 09 Apr 2024 13:29:35 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 439BY1qs019441; Tue, 9 Apr 2024 13:29:35 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2040.outbound.protection.outlook.com [104.47.74.40]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3xavucrrf8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 09 Apr 2024 13:29:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ut9YSUop8AHspj4qyt8td9bqXoQMZmzDJCAawmQM8bgBanstW4gyLHYvO2eVDahIydp9JlRBanrX7ATBNBDX1itGVpzig7Ys3blKD00TqEhnYQZRpf1XLli8M0l5ZYZLwoVnHFeeLvNUDqaMoNvxiogeOZ6OxVyPO/W8WK5T8mDtoQ8V7dXYqmz2KA/TLescUqyRr3o3iOEg3McfzeKXACSxEYEeKLsnZuVJNWB3vpmHjvw0pFDQK1+ExAMV5Rl5Aa/zcLwXp2tM9vk6Fe/uxe3CKq09zaG3Oy/7otsZVKB2GlDc+laXNeKo9mCx7hikzGfxb35lEibCKq+MAO/tTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=8u7ko3SZFysKNGv1UCyJxfK1QYfk3E+oWy/8drlYG20=; b=JOJmCEg0AMP4mjRpTdfw293SU0GrnjqcDQco1L+btDW2z1CtDrzYB4bBPEfzJt3L3KHdewE+HrxA3TrNJUnpfcTNzHv+H1S3P1y1GPvEgw6AkWuVkV8xsO3xLtiVx3YZKqxd+tGZCHzL3N1nKQi4sryFpe8rnLsn0czADQOOO3gZZ9KYkdisqZwzj1+K2LI75Oapd22Ee2DPwyt7yYgtzkfE3MBbv6Xir2VgaI/MpFvXD290ahxRU0kRJnXpPBdyHRoPNV6+fyW/9F/rzqn7xFi9XuzdQDZvPbregxeKz4SprMYIO8xqM2Puy5mJySjbGOaZ35yYTvQK+9rD3ifGvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8u7ko3SZFysKNGv1UCyJxfK1QYfk3E+oWy/8drlYG20=; b=hUivyQK6ZJZaPkwdHnIyKeo5HmPx6/7yz5YnTYtZSeomY5dzGHG2rVsCsR818/b8UOX3V2K2PYCcwisz0QSNPqlezjXT30wQgez06szi8BYMwS8iU/eRO3Plvvd2AKrTEeL52Qwrcu+0Gd6w9iOx9jzytFYMjeHYCG5w66lTjrQ= Received: from BN0PR10MB5128.namprd10.prod.outlook.com (2603:10b6:408:117::24) by PH8PR10MB6359.namprd10.prod.outlook.com (2603:10b6:510:1be::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Tue, 9 Apr 2024 13:29:33 +0000 Received: from BN0PR10MB5128.namprd10.prod.outlook.com ([fe80::ad12:a809:d789:a25b]) by BN0PR10MB5128.namprd10.prod.outlook.com ([fe80::ad12:a809:d789:a25b%4]) with mapi id 15.20.7409.042; Tue, 9 Apr 2024 13:29:32 +0000 Date: Tue, 9 Apr 2024 09:29:29 -0400 From: Chuck Lever To: Luis Chamberlain Cc: kdevops@lists.linux.dev Subject: Re: [PATCH] devconfig: fix setting node timezone Message-ID: References: <20240408222515.4055475-1-mcgrof@kernel.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: CH0PR13CA0012.namprd13.prod.outlook.com (2603:10b6:610:b1::17) To BN0PR10MB5128.namprd10.prod.outlook.com (2603:10b6:408:117::24) Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN0PR10MB5128:EE_|PH8PR10MB6359:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bXXbnzDRFmDr/gD+j+CW24giETM2ArnfbbFBR7qpIx4TzTZwoml+NKWX2vK387QB+tjw1y+nT92aVai8xpyS83keAOgP5JXKXkE0fct5Rkk82mPWnqRdW+6MIl3lypoCiFdvljHORn2vre4HQnCvn6PUXBE1tJtbKwmz5odvNYtLA4/sLA8HscL/rbd7UGXg6nAPFF+rbh5WaGhJ/mOErNvabT3vkFZFblc1muwclv2C8h4+iAyDU6nIOPsXc7tbbXTcXdO21an0YIyz0JrpEzJIzOXccvFP8rY3vpSrXoQyAKtzn3K4vGhLTgCHvAudoTYb5R9rKCk15u4ukBJ/RPQv2yg5dv9acNNerHlvc8JCh30LJ9Cump2KY5KO9etYf8woNcmt2UuDwKwMsQxcJgYhrrhJkftLMsF4a6XalA7n6d4iuOInyeBQEMIzcJ68LHFuOdXhXjDO6EjQ4xu7Q61U5fcMryBptiYOYwVDdd0cwF9hO5HtnujaJK2mkgaXB75/LrTFPbquF1rqHmt0D/s+9x4W3L5vbEsVDdMn5hGhRUuQOvH9tejdivrn3q8YlgAAfBnEYauldgKwe9OEcU8+gbU3KA4qckqRC0/jQfw= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN0PR10MB5128.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(366007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?uQXEYoSVRUsCxpRRCC9FsP4onKynjvpYelWlbMNoeWZoU2F8E0u/xGhTJKL/?= =?us-ascii?Q?rqJ58KPsfafsbGzWCNxhwBjfdxOSHtYeBUHUOlBwxTTWPycnXR+6YKYqS3Mo?= =?us-ascii?Q?nbLLYz8DwQoCApaQDhjpBuL/Zk/TRuL/CyY9XNIPV3X/FnfM86uMZKC+1kpB?= =?us-ascii?Q?7WWW+OK076a6sTGZ1270Vn/jNC/sP58zlek0FzoiRViQim87YA3bdW9qqkQK?= =?us-ascii?Q?Z47GlTQ/+eFC8mjZpkTy8+sE5ySSjaXwRwW0UblVD75mlnW51eBt0X8eXg6H?= =?us-ascii?Q?4WcL80ir9jOKzDeubeaWPp/We3684NGrhRk+thJrmGxlS20hMfSgvpZwmkth?= =?us-ascii?Q?/OhgNgMcxB08YY890v7kF2xJyQuLtdpFOcYgOti+yUrcrJO67KOOXNy4Pn/s?= =?us-ascii?Q?mtpcL7sXBH3LGO7NgGPI9P4nCkoyEYLxXPDA6mdBD0W3R/5plYudyzPYrgTO?= =?us-ascii?Q?6nJKIbbAiRIlJk+CAU/Cnq03P6xENvbReUJFJLwhcaFBDMS9K4oeFQE1TA0f?= =?us-ascii?Q?977ufMfuInNR2TnmSxSFGBMNvk/iCURtZcf4QnkBLlqtxignqBvyISdMboE3?= =?us-ascii?Q?4tPXd0mFHeakf/SE83NtkKOmLc/7y+un/Mmf4agkhWl5qDGMmfhiifhoR+Zf?= =?us-ascii?Q?d0fFbYmqKaMC2B2wpR0Yz+c2uJbXbQbuI9LbKLrKQXfi1ftcGdKOwTMJ0LTh?= =?us-ascii?Q?5y99N/kB1EI4AZl8fMcp9hzE16J2uCr6cAsHQyKHYnN6hMOC/SV4ZAL01eQC?= =?us-ascii?Q?ncwB+XNjis2n7ykL/8d3Tk9nSwToOfFNBoqY2607VsXscqmMbN4yX1PPEoRW?= =?us-ascii?Q?WiUY0A/kyzw398XKiChfLDTAiErQ/nMItxQ0+n059gwASbV1cOBtluqN2w/K?= =?us-ascii?Q?jeASJ9vD3qlwtRAKotNh3ajMpKA2HxhahQjajudEMLXuymrLswYnFluY/SzA?= =?us-ascii?Q?uLU+4wFb7gcxc0P3M7O9mpxC1NIRo3Bi2KLCtguJ6CrS+lDHnAsfvYMS8gq3?= =?us-ascii?Q?+oyXWMZP+XqcQDqoVsrIQKezVlAH896i2PG0wVfY9cBK6OdJAM1vCSNSEpqo?= =?us-ascii?Q?6gYwRQ5GHl6bdtdNAIc8rFpXz1f0a17agPvhttR+UWRmwqweO7xNroC9osgI?= =?us-ascii?Q?r9PZnpmofaAf5XdOXy8kg8a2vOnPpepACoPFjjgByJwEswLsyIoW/jE3p9HG?= =?us-ascii?Q?4xrOQjd4T+2UHUSfgVbmBKKAHFfcODohc+J3CWWhgzfp4Qh2kTYn/9Zd2oVU?= =?us-ascii?Q?olHSOUYNKSV9+OnGfSEO3GbPl8uLVjbUTOCdkfr99SMFiza8gkAlCTAU52Pr?= =?us-ascii?Q?dIYC4booRttPmdKQym142QnHjkOjq6II7kI86rMxh1D64PyUDwA0vHwV0S1y?= =?us-ascii?Q?zqTtt0PEYqJRodrrqKzLGrSAYkmCuxfwfnqVcwYASFREBMwa606JNg5Jfrm9?= =?us-ascii?Q?XxmDVTDqsY6XZRwyJ070l1HUQYqTk12l+GUEY4qF2OHFSSeEEsHk1TbNhOwB?= =?us-ascii?Q?4OavjXxCRCzZifu2aGAjnyv8pV546ijwzGSjuc3P06tGz48cJzOJNiHD0pyp?= =?us-ascii?Q?PkoSIc45YI7PQtxO6QvwGZJ5eFLHQh8rd/dXTR4zl5/e3eFxVJZR++fuV/KM?= =?us-ascii?Q?jw=3D=3D?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: vx+Fa3rGG5UFMHW0PAFDdMcX1+1C2y9PA6oyn34uUk3+HrVJEs58NIBP14VroQJqk1dm1k9d6ZDATcP6yw9WnRCfbE+R+cQhwTWDB/nDvMW8QC7Sig/YjSxqyC6V1VfapwHn4s72GB/DB3P+ojChUyUmrLPawKSC+J38Ze7sJHunDv50Hb53de7781AHC400f2M/UQcfwdxZskx6HMGRaaku/FyFMftFpWuJwFr4lV3hznAxNGBK7YmNHStaApxlrnWReKAtcMoEWt3RRwjdBLXxN/M1Y6i9FxK2oEQmIH+Tl9z7uokr+v0TBu7wre/2hXoQjsFHjbaNDWZ94eVckepeYVaGAk3hHj7+i2YsZ/buztcyG1Valu8GuWMnznvMNOGlMfMBe77KvyWpb4agsPJa9ap6/Z3epq5Me+QVfs9MsA0tSiXoli/xYz4Ul2fLFcAE1MV//tNfuQ9c33DwzRKcoYjvGAZAHGnAVA/8o+i78dKpyWXtJX983fv/avKUOQq5i4JweMeoMq+BXoiuaAFxJLw9gg+zM2A1DqnPvAOJuW7uXi169QWj7LubDe13Qy4HrTfmc/TDCKZ+ALt1vKbnhN7040z9o/uhbLaAGHg= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9dcbf1b6-1e78-4ae5-d1e2-08dc58991727 X-MS-Exchange-CrossTenant-AuthSource: BN0PR10MB5128.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2024 13:29:32.3368 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iVz5gQ/SAWU5QHcLnJ7pqgMQsMjx1YwwwHB3o0GWbIfr1L6rtY0sY2lSmFmEYZox8rBNKhQstwqnAyp97kRwSg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR10MB6359 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-09_09,2024-04-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 malwarescore=0 mlxscore=0 suspectscore=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404090087 X-Proofpoint-GUID: t0Y3E2DFbCrH3cpnWBjBKUkiP1m6am73 X-Proofpoint-ORIG-GUID: t0Y3E2DFbCrH3cpnWBjBKUkiP1m6am73 On Mon, Apr 08, 2024 at 08:36:57PM -0700, Luis Chamberlain wrote: > On Mon, Apr 08, 2024 at 08:53:20PM -0400, Chuck Lever wrote: > > On Mon, Apr 08, 2024 at 03:25:15PM -0700, Luis Chamberlain wrote: > > > It turns out that just relying on the clock offset being set won't > > > ensure we have the right time set on the nodes, so when timectl is > > > enabled for NTP, we still need to set the timezone on the nodes based > > > on the hypervisor to be very sure we get the right time. > > > > > > Below is an example where the clock offset XML settings were set on > > > guests with guestfs and yet the timezone on the nodes was set to > > > Eastern. To fix this we must keep a kconfig option which matches the > > > hypervisor, and use that value on the nodes to set the timezone. > > > > Hi Luis, > > > > IMO you've demonstrated that the Ansible timezone plugin is not > > working as expected, > > Why is the timezone plugin involved here? I though the replacement > was: > > - > + > > And so its not clear to me how the ansible plugin is involved? Ah. I misremembered: the plugin handles Vagrant timezones. You are reporting the problem with guestfs. Got it. > I checked the docs for libvirt and the above just sets the time at boot, > if anything I think we need timezone setting like: > > I'm looking at: https://libvirt.org/formatdomain.html > localtime > The guest clock will be synchronized to the host's configured > timezone when booted, if any. Since 0.9.11, the adjustment > attribute behaves the same as in 'utc' mode. > > timezone > The guest clock will be synchronized to the requested timezone > using the timezone attribute. Since 0.7.7 In my testing with Fedora guests, "localtime" always copied the timezone from the hypervisor, as expected. > So one might think this is alternative: > > diff --git a/playbooks/roles/gen_nodes/templates/guestfs_q35.j2.xml b/playbooks/roles/gen_nodes/templates/guestfs_q35.j2.xml > index eb5118a105f0..b9ba971fa27c 100644 > --- a/playbooks/roles/gen_nodes/templates/guestfs_q35.j2.xml > +++ b/playbooks/roles/gen_nodes/templates/guestfs_q35.j2.xml > @@ -12,7 +12,7 @@ > > > > - > + > > > > diff --git a/playbooks/roles/gen_nodes/templates/guestfs_virt.j2.xml b/playbooks/roles/gen_nodes/templates/guestfs_virt.j2.xml > index 1061f2cc45d4..8dc962366319 100644 > --- a/playbooks/roles/gen_nodes/templates/guestfs_virt.j2.xml > +++ b/playbooks/roles/gen_nodes/templates/guestfs_virt.j2.xml > @@ -17,7 +17,7 @@ > > > > - > + > destroy > restart > destroy > > The kdevops_host_timezone is only used to set the vagrant timezone, for > guestfs the localtime is used currently. I thought that on commit > de233a386941 ("devconfig: Remove DEVCONFIG_ENABLE_SYSTEMD_TIMESYNCD_TIMEZONE") > the above change would suffice for guestfs but it does not. I would expect the above to behave exactly the same as And, I guess it does. ;-) > But the above is not sufficient, we end up in the same situaiton still. > I suspect its the guest image that has a timezone set. Which is why I think this is related to the distro being provisioned in the guest. But I thought you had tested these patches before I merged them, on what I assume was Debian. I wonder what changed. > And so the timezone needs to be set with virt-sysprep at least: > > diff --git a/scripts/bringup_guestfs.sh b/scripts/bringup_guestfs.sh > index ed07c04d6b74..dbace8d5d502 100755 > --- a/scripts/bringup_guestfs.sh > +++ b/scripts/bringup_guestfs.sh > @@ -113,7 +113,8 @@ do > # Copy the base image and prep it > ROOTIMG="$STORAGEDIR/$name/root.raw" > cp --reflink=auto $BASE_IMAGE $ROOTIMG > - virt-sysprep -a $ROOTIMG --hostname $name --ssh-inject "kdevops:file:$SSH_KEY.pub" > + TZ="$(timedatectl show -p Timezone --value)" > + virt-sysprep -a $ROOTIMG --hostname $name --ssh-inject "kdevops:file:$SSH_KEY.pub" --timezone $TZ > > if [[ "$CONFIG_LIBVIRT_ENABLE_LARGEIO" == "y" ]]; then > lbs_idx=1 > > > For example, does this happen with non-Debian target nodes? Does > > it happen when timesyncd and NTP are not enabled? > > I'm using debian and just enabling systemd-remote-journal, the time zone > was set correctly before but after commit de233a386941 we loose that > as the libvirt localtime does not actually do what we really want it > would seem. > > The above two hunks are a decent replacement patch for this issue as well. Two hunks? I thought just this last hunk was what actually fixed it. I'm not convinced I understand exactly what's going on. I can try to reproduce it here later today. But I would prefer not having the extra Kconfig timezone noise, so I like this last hunk better than the first patch you posted. -- Chuck Lever