From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7088339307047419904 X-Received: by 2002:a2e:9653:0:b0:24f:10a8:8e26 with SMTP id z19-20020a2e9653000000b0024f10a88e26mr5889582ljh.61.1652537053381; Sat, 14 May 2022 07:04:13 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:1693:b0:448:3742:2320 with SMTP id bu19-20020a056512169300b0044837422320ls6384820lfb.1.gmail; Sat, 14 May 2022 07:04:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlsQNvjemWnpXWlVi1qOvRVWaQOb6dZLKJGRQU6a/GduHDONkTCWVb+BBu/ZbY32hrb09B X-Received: by 2002:a05:6512:32b0:b0:476:a8fe:8e7c with SMTP id q16-20020a05651232b000b00476a8fe8e7cmr4978066lfe.501.1652537051899; Sat, 14 May 2022 07:04:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652537051; cv=none; d=google.com; s=arc-20160816; b=qasUrArT98CS2ZwKU+tUZYOiuTzYxEwHDZfkLtVxGbInKuuFaN6ZQeSPkhlbWL1tSY rWOHaslF/JEK1kDuIW1d45K+gngyB1UImy2VT8tHiOG4aZXahhqrR2sml4Aztc+eXhT5 65mZHSMCRD+aIOhsB4oKFYT3IcqxXZVroM4O+zNnyMWbWPrr3EXU4nKFQc96mTXD+Mni 8qKcCqzNHuAG4nfMKzC23JtSRxcfuOPyf0kevuF3tM9MxHQbUJ1ps5I6yvEkVK/ZLozP jyN2+VJCqjmdsYKjK72AjHucrW9y3XsGH35ENUIauXa21ORj1dpcwDt5d/wwtu/z2E6V ChPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id; bh=tjt750vM5BOLtkPcCn59NFzpMpPXfrKvM6T+APvvy0o=; b=u+ncC6Rj1BTkxwK2zAP6WQ1ehDw8awZw/IoguKFhYxBo8YxR6TAt94o+JXSIGvHsMp 9hsNMYn362yYVUuQtHORmhg3SBLa20YHs0PdL38I4no7ITLfcRa8DObTmNMitTt0QEX+ KMykMXgxwgojjlWlcZULxC1XiGA4iG6Gb6zNY5EowX5nOcn1ZyliN7Wm6pCQIi1yFVKS yJ/N3R/q1b7857yZLbQY4aeYjNbMZMf+DOqGS/tO2g89Vjq2oM6P0cz1pcaGxyQ7Yzj6 GczDCcJpY1BjeFHRpnJSEKOE2W5GqFT4Ar+T+thxlgULiYrT0qnp1b2O13yUeJPevsBF TtQg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id u14-20020a056512128e00b0047208583d26si313744lfs.11.2022.05.14.07.04.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 14 May 2022 07:04:11 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 24EE49TE026912 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 14 May 2022 16:04:10 +0200 Message-ID: <74051d61-fcab-0300-9d9b-4619b8e05acc@ilbers.de> Date: Sat, 14 May 2022 17:04:09 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v3] classes/image-postproc-extension: Remove /etc/machine-id Content-Language: en-US To: Quirin Gylstorff , jan.kiszka@siemens.com, isar-users@googlegroups.com References: <20220420072836.324028-1-Quirin.Gylstorff@siemens.com> <20220420130044.668017-1-Quirin.Gylstorff@siemens.com> From: Anton Mikanovich In-Reply-To: <20220420130044.668017-1-Quirin.Gylstorff@siemens.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: u8lhVwCfiAcV 20.04.2022 16:00, Quirin Gylstorff wrote: > From: Quirin Gylstorff > > In a read-only system the machine id should be deleted or > set to `unitialized\n`[1]. > > Systemd will generate a new machine-id during the first boot. > In the case of a read-only root file system Systemd generates a mount point with > the machine id. If an overlay for /etc is used this creates a mount conflict. > To avoid the conflict between the overlay filesystem and systemd /etc/machine-id > mount point deleted the file /etc/machine-id. > > > This partly reverts 98d6a72d3064. The man page[2] was updated for Debian Bullseye to > allow a missing machine id. For Debian Bullseye it reads: > > ``` > For operating system images which are created once and used on multiple machines, > for example for containers or in the cloud, /etc/machine-id should be either missing > or an empty file in the generic file system image > ``` > > [1]: https://systemd.io/BUILDING_IMAGES/ > [2]: https://manpages.debian.org/bullseye/systemd/machine-id.5.en.html > > Signed-off-by: Quirin Gylstorff Applied to next, thanks.