Bug 34909 - Set date & time zone should be a regular mandatory step; some certificates fail if it is not sensible
Summary: Set date & time zone should be a regular mandatory step; some certificates fa...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High major
Target Milestone: Mageia 10
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords: 10alpha1, IN_RELEASENOTES10
Depends on:
Blocks:
 
Reported: 2025-12-26 18:41 CET by katnatek
Modified: 2025-12-31 20:28 CET (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Fail installing packages (77.60 KB, image/png)
2025-12-29 02:11 CET, katnatek
Details
Bug information (491.64 KB, application/x-xz)
2025-12-29 02:12 CET, katnatek
Details

Description katnatek 2025-12-26 18:41:49 CET
Due to the new crypto-policies-scripts sometimes if you add repositories in https://doc.mageia.org/installer/9/en/content/software.html

Soma packages will reject to install due not valid certificate.
This is like complaints in regular browser when you not have the right date and browse to https sites

So I think that now this configuration should be a mandatory regular step before the step in the link
Comment 1 Lewis Smith 2025-12-26 20:50:11 CET
This is a surprise to me. If setting the date & time is not already mandatory, it should be.
Are you sure the invalid certificates that you mention are due to wrong date?

Summary: Set date & time zone should be a regular mandatory step => Set date & time zone should be a regular mandatory step; some certificates fail if it is not sensible
CC: (none) => lewyssmith
Assignee: bugsquad => pkg-bugs

Comment 2 katnatek 2025-12-26 20:59:47 CET
(In reply to Lewis Smith from comment #1)
> This is a surprise to me. If setting the date & time is not already
> mandatory, it should be.
> Are you sure the invalid certificates that you mention are due to wrong date?

Quite sure in one or my test, I just install without add repositories.
Then add the repositories in the installed system, perform an update and see the complaints related
Then I remember see and ask for that before and check the date, it was wrong.

Late I do just other installation without add repositories, and in the summary step set timezone -> date, and select to make update and things goes better

Currently, this setup is optional and is in the summary step, my proposal is move as part of the installation/updates/upgrade process.
Comment 3 sturmvogel 2025-12-26 21:18:11 CET
Fascinating. It is in the docs:
https://doc.mageia.org/installer/9/en/content/locale.html#selectCountry
Comment 4 sturmvogel 2025-12-26 21:19:03 CET
Quote:

Select your country or region. This is important for all kinds of settings, like the currency and wireless regulatory domain. Setting the wrong country can lead to being unable to use a Wireless network.
Comment 5 katnatek 2025-12-26 21:31:21 CET
(In reply to sturmvogel from comment #3)
> Fascinating. It is in the docs:
> https://doc.mageia.org/installer/9/en/content/locale.html#selectCountry
(In reply to sturmvogel from comment #4)
> Quote:
> 
> Select your country or region. This is important for all kinds of settings,
> like the currency and wireless regulatory domain. Setting the wrong country
> can lead to being unable to use a Wireless network.

That make that not being a mandatory step in the installation/update workflow, even worst, in the part that is located right is not useful with the new crypto-policies-script, if you select add repositories in https://doc.mageia.org/installer/9/en/content/software.html you will find that some packages will not install and let you with no other choose to back to select not use additional repositories, and this is with just "few days" after the alpha 1 round 2 ISOs, I don't want to think if you try to install Mageia 10 after N months of his release(when be released).
Comment 6 Lewis Smith 2025-12-26 21:47:19 CET
(In reply to sturmvogel from comment #3)
> Fascinating. It is in the docs:
> https://doc.mageia.org/installer/9/en/content/locale.html#selectCountry
Indeed. But it is true that you have to specifically choose to configure the timezone etc. In that sense it is optional: you can easily overlook it:
"DrakX presents a proposal for the configuration of your system depending on the choices you made so far...You can check the settings here and change them if you want by pressing Configure".

I think what José is getting at is that this step should be in-line unavoidable, like our own and other distribuion Lives.
Comment 7 Thomas Andrews 2025-12-28 21:43:57 CET
I just tried an upgrade from the Round 2 CI, but when I attempted to add supplemental network media before proceeding it failed with one of these bad signature messages. At no time before that was there any option for the user to set date and/or time.

There was language, EULA, install or upgrade, keyboard layout, then do you have a supplementary medium. And when I select HTTP or FTP on the network, it fails when trying to install the basic software to access the network.

Upgrades will never work properly unless this is fixed. Upgrading the bug to release blocker.

CC: (none) => andrewsfarm
Priority: Normal => release_blocker
Severity: normal => major

Comment 8 katnatek 2025-12-29 02:11:16 CET
Created attachment 15260 [details]
Fail installing packages
Comment 9 katnatek 2025-12-29 02:12:18 CET
Created attachment 15261 [details]
Bug information
Comment 10 katnatek 2025-12-29 02:13:12 CET
(In reply to katnatek from comment #8)
> Created attachment 15260 [details]
> Fail installing packages

(In reply to katnatek from comment #9)
> Created attachment 15261 [details]
> Bug information

I fake the date in my system and here are the results
This is a clean installation
Comment 11 katnatek 2025-12-29 02:40:46 CET
As I guess 

change to a terminal Ctrl+Alt+F2
set the right date/time date --set="<day> <month abbreviation in english> <year> <hour>"

The bad thing is you have to pass utc hour or include information after <hour> like CST in my case

So the recommendation have to be "Check your internal clock is right before try an installation/upgrade with additional repositories" if this feature can't be implemented in mageia 10
Comment 12 Morgan Leijström 2025-12-30 23:21:35 CET
For errata if not solved
In retrospect, should probably have been in earlier erratas too.

CC: (none) => fri
Keywords: (none) => FOR_ERRATA10
Target Milestone: --- => Mageia 10

Comment 13 katnatek 2025-12-31 00:34:09 CET
(In reply to Morgan Leijström from comment #12)
> For errata if not solved
> In retrospect, should probably have been in earlier erratas too.

I add a note in release notes where is more useful than in erratas, feel free of create the errata or remove the for_errata keyword

Keywords: (none) => IN_RELEASENOTES10

Comment 14 Morgan Leijström 2025-12-31 00:44:41 CET
Great, thanks.
And thank you for editing release notes and errata, usually I have been doing most of errata last years but I like to step back :-)

Keywords: FOR_ERRATA10 => (none)

Comment 15 Lewis Smith 2025-12-31 20:28:37 CET
We seem to agree that setting date/time is an essential step. It is currently offered only by the 'summary' screen, which clearly most users heed.
Many other distributions - and I think our own Live ISOs - make it one of the initial installation steps.
This bug is really an enhancement request for the Classic installer. It is not a release blocker. The fact is noted in ERRATA for the moment. For us, it basically means inserting an extra step early in the installation, copying (not moving) the code from its current placement; but leaving the relevant Summary screen & processes UNchanged.

Assigning to tools for the Installer.

CC: lewyssmith => (none)
Priority: release_blocker => High
Assignee: pkg-bugs => mageiatools


Note You need to log in before you can comment on or make changes to this bug.