On Sun, 9 Oct 2022, 10:23 Johannes Schauer Marin Rodrigues, <
[email protected]> wrote:
Quoting Bastian Blank (2022-10-09 10:24:26)
On Sun, Oct 09, 2022 at 09:41:29AM +0200, Johannes Schauer Marin
Rodrigues wrote:
This breaks a number of setups like:
- the sbuild autopkgtest
https://salsa.debian.org/debian/sbuild/-/jobs/3353627/raw
- the dropbear autopkgtest
https://ci.debian.net/data/autopkgtest/unstable/amd64/d/dropbear/26716581/log.gz
- autopkgtest-virt-qemu image builders
- the MNT reform image builder
- the mmdebstrap testsuite which builds a qemu system image for its
local tests
- the mmdebstrap jenkins job
This is a bug in mmdebstrap:
| open my $fh, '>', "$options->{root}/etc/machine-id"
| or error "failed to open(): $!";
| print $fh "uninitialized\n";
| close $fh;
Yes, maybe. I saw that you filed #1021478 against mmdebstrap --thanks for that!
If this is a bug in mmdebstrap, then mmdebstrap should do the same thing as debootstrap which is currently being discussed in #1018740 which I see you also
commented on.
I do not understand enough about systemd to be able to say whether an empty value or "uninitialized" is the correct default value for tools like debootstrap or mmdebstrap to set. If nobody else chimes in, I'll change mmdebstrap to write the empty string as suggested by Bastian.
Thanks!
Empty machineid is the right default, we don't support firstboot semantics
in Debian for now (users that want to try it can opt in and change it).
<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sun, 9 Oct 2022, 10:23 Johannes Schauer Marin Rodrigues, <<a href="mailto:
[email protected]">
[email protected]</a>> wrote:<br></div><blockquote class="gmail_
quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Quoting Bastian Blank (2022-10-09 10:24:26)<br>
> On Sun, Oct 09, 2022 at 09:41:29AM +0200, Johannes Schauer Marin Rodrigues wrote:<br>
> > This breaks a number of setups like:<br>
> > <br>
> > - the sbuild autopkgtest<br>
> > <a href="
https://salsa.debian.org/debian/sbuild/-/jobs/3353627/raw" rel="noreferrer noreferrer" target="_blank">
https://salsa.debian.org/debian/sbuild/-/jobs/3353627/raw</a><br>
> > - the dropbear autopkgtest<br>
> > <a href="
https://ci.debian.net/data/autopkgtest/unstable/amd64/d/dropbear/26716581/log.gz" rel="noreferrer noreferrer" target="_blank">
https://ci.debian.net/data/autopkgtest/unstable/amd64/d/dropbear/26716581/log.gz</a><br>
> > - autopkgtest-virt-qemu image builders<br>
> > - the MNT reform image builder<br>
> > - the mmdebstrap testsuite which builds a qemu system image for its<br>
> > local tests<br>
> > - the mmdebstrap jenkins job<br>
> <br>
> This is a bug in mmdebstrap:<br>
> <br>
> | open my $fh, '>', "$options->{root}/etc/machine-id"<br>
> | or error "failed to open(): $!";<br> > | print $fh "uninitialized\n";<br>
> | close $fh;<br>
Yes, maybe. I saw that you filed #1021478 against mmdebstrap --thanks for that!<br>
If this is a bug in mmdebstrap, then mmdebstrap should do the same thing as<br> debootstrap which is currently being discussed in #1018740 which I see you also<br>
commented on.<br>
I do not understand enough about systemd to be able to say whether an empty<br> value or "uninitialized" is the correct default value for tools like<br>
debootstrap or mmdebstrap to set. If nobody else chimes in, I'll change<br> mmdebstrap to write the empty string as suggested by Bastian.<br>
Thanks!<br></blockquote></div><div dir="auto"><br></div><div dir="auto">Empty machineid is the right default, we don't support firstboot semantics in Debian for now (users that want to try it can opt in and change it).</div><div class="gmail_quote"
dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)