Bug 1135342

Summary: MicroOS does not enable any daemon for time syncing
Product: [openSUSE] openSUSE Tumbleweed Reporter: Fabian Vogt <fvogt>
Component: MicroOSAssignee: Forgotten User u0-bnvADNc <forgotten_u0-bnvADNc>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Fabian Vogt 2019-05-16 11:14:54 UTC
The openSUSE-MicroOS images contain (same as the skelcd):

        <namedCollection name="basesystem"/>
        <package name="patterns-microos-basesystem"/>

        <namedCollection name="microos_defaults"/>
        <package name="patterns-microos-defaults"/>

        <namedCollection name="microos_apparmor"/>
        <package name="patterns-microos-apparmor"/>

        <!-- Needed for initial configuration -->
        <namedCollection name="microos_cloud"/>
        <package name="patterns-microos-cloud"/>

Neither ntpd, chrony nor systemd-timesyncd end up installed.
Comment 1 Thorsten Kukuk 2019-05-16 11:42:44 UTC
I get:

chrony is needed by (installed) patterns-microos-base-5.0-5.1.x86_64
pattern() = microos_base is needed by (installed) patterns-microos-basesystem-5.0-5.1.x86_64


%package basesystem
Requires:       pattern() = microos_base


%package base
Provides:       pattern() = microos_base
Requires:       chrony


And systemd-timesyncd is part of systemd itself.
So something must be terrible broken on your system.
Comment 2 Fabian Vogt 2019-05-16 11:52:39 UTC
Indeed, I'm just blind - chronyd.service is installed and systemd-timesyncd.service is even running.

Question is which one of those is supposed to be active - the pattern pulls in chrony, but currently systemd-timesyncd is enabled.
Comment 3 Thorsten Kukuk 2019-05-16 12:00:46 UTC
No idea why systemd-timesyncd is active for you, on my systems it's not.
The plan is to use chrony, but YaST support is currently missing.
Comment 4 Fabian Vogt 2019-05-20 13:12:01 UTC
Reopening - I did a default install of MicroOS (next -> next -> next) and the resulting installation had both systemd-timesync and chrony installed, but neither of them was enabled.
Comment 5 Thorsten Kukuk 2019-08-16 14:02:45 UTC
Fixed with current packages in Staging:H