From: "Moessbauer, Felix" <felix.moessbauer@siemens.com>
To: "Schaffner, Tobias" <tobias.schaffner@siemens.com>
Cc: isar-users <isar-users@googlegroups.com>,
"Schild, Henning" <henning.schild@siemens.com>,
"Kiszka, Jan" <jan.kiszka@siemens.com>,
"Bezdeka, Florian" <florian.bezdeka@siemens.com>
Subject: RE: bookworm/sid: new interactive system locale setting on first boot
Date: Thu, 20 Oct 2022 09:18:03 +0000 [thread overview]
Message-ID: <89ba0c54d72c4a128fac6b85186d476a@siemens.com> (raw)
In-Reply-To: <f41f0f8c-ca4f-9096-3992-a54a0847cfd0@siemens.com>
> -----Original Message-----
> From: isar-users@googlegroups.com <isar-users@googlegroups.com> On
> Behalf Of Schaffner, Tobias
> Sent: Thursday, October 20, 2022 4:52 PM
> To: Schild, Henning (T CED SES-DE) <henning.schild@siemens.com>; Kiszka, Jan
> (T CED) <jan.kiszka@siemens.com>
> Cc: isar-users <isar-users@googlegroups.com>
> Subject: Re: bookworm/sid: new interactive system locale setting on first boot
>
> On 13.10.22 14:50, Henning Schild wrote:
> > Hi,
> >
> > in a totally different context i tried a nightly build of grml for
> > something. And that also started asking weird questions about locales.
> >
> > There is no issue in their github yet, and also not patch. But it
> > might be worth looking at how others deal with that. Maybe especially OE.
> >
> > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdail
> > y.grml.org%2Fgrml64-full_testing%2F2022-10-13_05-29-
> 27%2F&data=05%
> >
> 7C01%7Cfelix.moessbauer%40siemens.com%7Cdb35896c039044f6a99e08dab2
> 784c
> >
> 3f%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C638018526995505
> 373%7CU
> >
> nknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik
> 1ha
> >
> WwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Zqsq7sV%2FnAGssWF
> M7RVr8EBA
> > 5BM%2BqlqD2jzyUNcBuLs%3D&reserved=0
> >
> > Henning
>
> I ran into the same issue today.
>
> Looks like systemd-firstboot asks for a selection if /etc/locale.conf [1] is not
> present.
>
> We can fix this by creating the file with content LANG=${LOCALE_DEFAULT} in
> meta/classes/image-locales-extension.bbclass
If that works, it would be an easy fix.
I personally just disabled the service using the kernel cmdline, but that option might easily be misunderstood as to do not support the first-boot target.
As pointed out earlier by Florian, the switch "systemd.firstboot=off" only disables this locale setting service.
In the end, we need a solution as the boot simply hangs at the prompt - not very useful for an embedded system.
Felix
>
> Do we want to go down that route or do we want to get rid of systemd-
> firstboot?
>
> Tobias
>
> [1]
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fman7.or
> g%2Flinux%2Fman-
> pages%2Fman5%2Flocale.conf.5.html&data=05%7C01%7Cfelix.moessbaue
> r%40siemens.com%7Cdb35896c039044f6a99e08dab2784c3f%7C38ae3bcd9579
> 4fd4addab42e1495d55a%7C1%7C0%7C638018526995505373%7CUnknown%7C
> TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX
> VCI6Mn0%3D%7C3000%7C%7C%7C&sdata=csIh%2B7C3zUPY%2FirINur5O
> Vb3y8rPndI2UAGo4qCjxKM%3D&reserved=0
>
> > Am Fri, 7 Oct 2022 15:25:13 +0200
> > schrieb Jan Kiszka <jan.kiszka@siemens.com>:
> >
> >> Hi all,
> >>
> >> just installed a simple image (isar-cip-core) from a fresh sid of
> >> today and got this on first boot:
> >>
> >>
> >> Welcome to your new installation of Debian GNU/Linux bookworm/sid!
> >>
> >> Please configure your system!
> >>
> >> -- Press any key to proceed --[ OK ] Finished Flush Journal to
> >> Persistent Storage. [ OK ] Finished Load/Save Random Seed.
> >> Starting Regenerate sshd host keys...
> >> [ OK ] Finished Coldplug All udev Devices.
> >> Starting Helper to synchronize boot up for ifupdown...
> >> [ OK ] Finished Helper to synchronize boot up for ifupdown.
> >> [ OK ] Finished Regenerate sshd host keys.
> >> l
> >> ‣ Please enter system locale name or number (empty to skip, "list" to
> >> list options): list 1) C.UTF-8 2) en_US.UTF-8
> >>
> >>
> >> ‣ Please enter system locale name or number (empty to skip, "list" to
> >> list options):
> >>
> >>
> >> Anyone seens this already as well? What could be missing to
> >> preconfigure things as before?
> >>
> >> Jan
> >>
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "isar-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to isar-users+unsubscribe@googlegroups.com.
> To view this discussion on the web visit
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.g
> oogle.com%2Fd%2Fmsgid%2Fisar-users%2Ff41f0f8c-ca4f-9096-3992-
> a54a0847cfd0%2540siemens.com&data=05%7C01%7Cfelix.moessbauer%4
> 0siemens.com%7Cdb35896c039044f6a99e08dab2784c3f%7C38ae3bcd95794fd
> 4addab42e1495d55a%7C1%7C0%7C638018526995505373%7CUnknown%7CTW
> FpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI
> 6Mn0%3D%7C3000%7C%7C%7C&sdata=6nCGI6TREBbkxhlbH%2B2hTEs0A
> n%2BQiYc8eeZjvdQqFUE%3D&reserved=0.
next prev parent reply other threads:[~2022-10-20 9:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-07 13:25 Jan Kiszka
2022-10-07 13:55 ` Henning Schild
2022-10-07 14:10 ` Jan Kiszka
2022-10-12 7:39 ` Florian Bezdeka
2022-10-12 8:03 ` Henning Schild
2022-10-13 12:50 ` Henning Schild
2022-10-20 8:51 ` Schaffner, Tobias
2022-10-20 9:18 ` Moessbauer, Felix [this message]
2022-10-20 10:54 ` Henning Schild
2022-10-20 11:11 ` Schaffner, Tobias
2022-10-20 11:14 ` Henning Schild
2022-10-19 11:28 ` Henning Schild
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=89ba0c54d72c4a128fac6b85186d476a@siemens.com \
--to=felix.moessbauer@siemens.com \
--cc=florian.bezdeka@siemens.com \
--cc=henning.schild@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.com \
--cc=tobias.schaffner@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox