Live ISOs ignore NTP setting which is set when booting in live mode and use both chronyd and systemd-timesyncd. This is carried through to the installed system Attaching.. # journalctl -b -1 | grep -i -e chrony -e timesync -e ntp > /home/user/live.txt and # journalctl -b | grep -i -e chrony -e timesync -e ntp > /home/user/installed.txt from the installed system. Reproducible: Steps to Reproduce:
Created attachment 5807 [details] live.txt
Created attachment 5808 [details] installed.txt
Claire i cannot understand which is the side effect in having both. Looking at installed.txt seems that both are trying to sync clock chronyd from 178.63.64.14 and 85.21.78.91 and systemd-timesyncd from 216.239.32.15:123 (time1.google.com). But I see that setting NTP in drackclock could at least disable systemd-timesyncd, since it does not manage it
CC: (none) => anaselli
When neither is selected during installation, neither should be sync'ing the clock though really. I'm not sure the effect of having multiple services installed, they could conceivably end up fighting each other.
I think we missed to change the chronyd.service with Conflicts=ntpd.service systemd-timesyncd.service and to add a similar line to ntpd.service Conflicts=chronyd.service systemd-timesyncd.service That should stop systemd-timesyncd.service i believe
CC'ing Colin.
CC: (none) => doktor5000, mageia
Whiteboard: (none) => MGA5TOO FOR_ERRATA
i think this is related to bug #15534
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=15534
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=17091
We should find some solution for this before releasing Mageia 6.
Priority: Normal => release_blocker
Blocks: (none) => 15527
Why is this only a problem on the Live isos?
CC: (none) => marja11Assignee: bugsquad => isobuild
Status comment: (none) => Also see Bug 17091
If nothing changed in drakxclock i don't think it's only a matter of Live. The problem is that systemd-timesyncd is installed and starts by default, if drakxclock does not manage it, it should at least disable it regardless if it installed or not e.g without care of command output. manaclock manages systemd-timesyncd but the code is pretty changed since it uses dbus.
Assigning to Mageia tools maintainers as it seems to affect more than just live ISOs, as per comment 10. Also, the release blocker status of this bug might have to be reassessed based on our current priorities.
Assignee: isobuild => mageiatoolsCC: sysadmin-bugs => isobuildComponent: Release (media or process) => RPM PackagesSummary: 5beta2: Live ISOs offer NTP at boot but use both chronyd and systemd-timesyncd regardless => Live ISOs offer NTP at boot but use both chronyd and systemd-timesyncd regardlessSource RPM: (none) => drakxtools
Whiteboard: MGA5TOO FOR_ERRATA => MGA5TOO
AFAIC, it should be disabled by default in systemd...
Source RPM: drakxtools => systemdCC: (none) => thierry.vignaud
Done in systemd-230-7
Resolution: (none) => FIXEDStatus: NEW => RESOLVED
Build failed
Status: RESOLVED => REOPENEDResolution: FIXED => (none)
Thierry pushed systemd-230-8 which fixed the build, so this one should be fixed.
Status: REOPENED => RESOLVEDResolution: (none) => FIXED
Blocks: 15527 => (none)