Page 1 of 1

Image release

Posted: Fri 29 Apr 2022 6:48 am
by HansR
You said you are going to release a new image as well for the new upcoming 3.16 version.

I recently noticed that the image has the systemd daemon starting method installed and it starts immediately. That is all very fine but it starts with locale GB. When users are migrating from previous Cumulus installations (as the most important situation) this will cause havoc because the naming and the contents of the logfiles will change.

I know we discussed this issue before and it's being worked on, but I think at least a warning should be given on this issue when using the image, if possible prevent it (systemd disabled and asking for a locale?).

Re: Image release

Posted: Fri 29 Apr 2022 12:21 pm
by mcrossley
Don't you just need to set the system locale before configuring Cumulus?

Nothing locale dependent is written until CMX has been configured with a station and restarted.

Re: Image release

Posted: Fri 29 Apr 2022 2:11 pm
by HansR
Ah true, with a fresh install you configure CMX and then it starts running.
However, a warning is useful as users apparently forget about the locale as they are eager to get things running. Anyway, I repaired a sitution which had mixed locales :?

Re: Image release

Posted: Fri 29 Apr 2022 2:25 pm
by mcrossley
We need a Wiki update! :)

Re: Image release

Posted: Fri 29 Apr 2022 2:36 pm
by mcrossley
It fact it is already there as a step to perform before configuring CMX. I have just boldened it and added a warning.

https://cumuluswiki.org/a/Raspberry_Pi_ ... Connection

Re: Image release

Posted: Fri 29 Apr 2022 3:24 pm
by HansR
mcrossley wrote: Fri 29 Apr 2022 2:36 pm It fact it is already there as a step to perform before configuring CMX. I have just boldened it and added a warning.

https://cumuluswiki.org/a/Raspberry_Pi_ ... Connection
Thanks.
I will modify with a warning for bullseye as that does only change the language setting and not the separators. So you need to set LC_ALL in /etc/default/locale to the locale you need (e.g. LC_ALL=nl_NL.UTF-8).

Re: Image release

Posted: Fri 29 Apr 2022 3:28 pm
by mcrossley
Ta, the next image will be based on bullseye. So the default user will be changing too as "pi" has been removed.

Re: Image release

Posted: Fri 29 Apr 2022 3:31 pm
by HansR
mcrossley wrote: Fri 29 Apr 2022 3:28 pm Ta, the next image will be based on bullseye. So the default user will be changing too as "pi" has been removed.
Is that so? I never noticed when I installed bullseye. Still using pi.

Re: Image release

Posted: Fri 29 Apr 2022 3:32 pm
by mcrossley
The change happened in the April build I think

Re: Image release

Posted: Fri 29 Apr 2022 3:33 pm
by HansR
And what's the motivation of that (realtime chat required ;) )

Re: Image release

Posted: Fri 29 Apr 2022 3:49 pm
by mcrossley
Security, lots of people never changed the default password. :bash:

You now have to create a user account on first boot and set it's password. Tricky if you run headless!

The cmx image will have a standard user and we trust our users are smart enough to follow the instructions and change its password. :roll: