From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7122950100315275264 X-Received: by 2002:a05:6870:148c:b0:10e:aeeb:8e1a with SMTP id k12-20020a056870148c00b0010eaeeb8e1amr7060722oab.133.1659426993531; Tue, 02 Aug 2022 00:56:33 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6870:d889:b0:10e:db06:522d with SMTP id dv9-20020a056870d88900b0010edb06522dls1620174oab.0.-pod-prod-gmail; Tue, 02 Aug 2022 00:56:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vShkG8Inuwj0uhzfQ8y5BwwMPZtf2J9+CFZcLfuU7LWsaQS0gKTEg/Px+FRtFuvu9Sg80g X-Received: by 2002:a05:6870:f149:b0:dd:f3b0:986d with SMTP id l9-20020a056870f14900b000ddf3b0986dmr9043825oac.148.1659426992987; Tue, 02 Aug 2022 00:56:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659426992; cv=none; d=google.com; s=arc-20160816; b=GY/4WwcoeJPcDiZMVcClg6tGt1Xyc5FjniqAiW9woAW43BsUjlEbctWhfA+ozb/u+u pn+w/46sV6a1DY4ImPp3Ll8r0fKr3KgGFJAelZ3JwQGgT+Q4zD7TSxQzHd6yHL7U/pAz xOaO+6JzYArYXMUMQKdGsn2LYxdFV+OYr69ik1/v4aHydzDGCsPgXhjIMYwJDtJ7Ms2A wcEzapn1xhHrdxERiRa3N7/f0mpb5Cy8w+al1mS2ndctOVyfiBjxoroKUYx1fYHT9e4Y vIlHygRHkcTU8my6p/a28ih5F8p85nX1KTpfpzW1xZKaPqgTsYwBfL3eenQLeVRp0NUV H4MQ== 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:cc:to :content-language:subject:user-agent:mime-version:date:message-id; bh=G3athfTIxQaLZNooP8xiXGcbBJ3yyPCJUW/U+a039Vk=; b=MQdWdue15hSi43VahMLGrPuPz4nvEupNrwx97QbbpN10cO8Marf1ZuVHvy1b9/xOdj 90W4QYU7LJ8vf+QGkKJqsNmQZyU/CnSu4zJzsoK0l3ZEQ4jaFNdh7RevYz3lY8bB7L4g eUDXcwTkpQnh6KtDixSvcZ8vv3dK25EfIQJsqA36btZZB/2ZEeP6knz8ATgjbO+66mPS ZA4iYJraz0fyIpNDDo841nVW6bPGLDlBmolPm0+Q18SQFtjEkgNCw8z6ZHPIQ0zZCs4s 4CCNfYP4Mlw8oQBJEVleM1cNMGtHvyEp3b0fzjM+yPII0UTK3AcKaZSvQ9Kp2F42cXHI molQ== 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 k22-20020a056870959600b000e217d47668si1278843oao.5.2022.08.02.00.56.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Aug 2022 00:56:32 -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+deb9u1) with ESMTPSA id 2727uSvt023524 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 2 Aug 2022 09:56:30 +0200 Message-ID: Date: Tue, 2 Aug 2022 10:56:28 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2 0/1] fix on-first-boot for systemd >= 247 Content-Language: en-US To: "Moessbauer, Felix" , "isar-users@googlegroups.com" Cc: "Schmidl, Tobias" , "Schild, Henning" , "jan.kiszka@siemens.com" References: <20220725210915.3008422-1-felix.moessbauer@siemens.com> From: Anton Mikanovich In-Reply-To: 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: xfOL3XsLqu6M 01.08.2022 19:28, Moessbauer, Felix wrote: >> Hi, >> >> as stated in the patch, this solution will only work for systemd >= 247 as there the "uninitialized" support has been added. >> As there is not systemd >= 247 for buster, we simply cannot support it OOTB. >> For buster, you have to make the rootfs rw right from the beginning on, so the /etc/machine-id file can be created. >> That's why we have two code paths in the patch. >> >> Felix >> Hm, I've tried to set machine-id to 'uninitialized' for Buster and it worked. But looks like even create empty file do the trick. Creating empty machine-id makes even Bullseye systemd generate id, but we probably should follow official way with 'uninitialized' there. So the new proposal is to create empty file for <247 and 'uninitialized' for others.