<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>444821</bug_id>
          
          <creation_ts>2021-11-02 12:05:52 +0000</creation_ts>
          <short_desc>Enabling &quot;set date and time automatically&quot; stops &quot;ntpd.service&quot; rather than starting it</short_desc>
          <delta_ts>2021-11-09 18:16:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>kcm_clock</component>
          <version>5.22.5</version>
          <rep_platform>Manjaro</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>HI</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alberto Salvia Novella">es20490446e</reporter>
          <assigned_to name="Paul Campbell">paul</assigned_to>
          <cc>nate</cc>
    
    <cc>nicolas.fella</cc>
    
    <cc>plasma-bugs-null</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2074195</commentid>
    <comment_count>0</comment_count>
    <who name="Alberto Salvia Novella">es20490446e</who>
    <bug_when>2021-11-02 12:05:52 +0000</bug_when>
    <thetext>STEPS TO REPRODUCE:
1. sudo systemctl start ntpd
2. systemctl status ntpd
3. Date &amp; Time -&gt; &quot;Set date and time automatically&quot;
4. systemctl status ntpd

RESULT:
&quot;ntpd.service&quot; has been deactivated.

ADDITIONAL INFO:
Same the other way around: activating &quot;ntpd.service&quot; disables the box &quot;set date and time automatically&quot;.

ROOT CAUSE:
In reality the box is only intended to sync the time once. But that&apos;s not what the wording suggests, neither it&apos;s the most functional thing to do. It should instead enable ntpd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2075929</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-11-08 17:53:22 +0000</bug_when>
    <thetext>lol can confirm!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2076045</commentid>
    <comment_count>2</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2021-11-08 21:28:07 +0000</bug_when>
    <thetext>What that checkbox does is control systemd-timesyncd (if available). Presumably systemd-timesyncd disables ntpd when activated since it would be a competing service</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2076129</commentid>
    <comment_count>3</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2021-11-08 23:26:38 +0000</bug_when>
    <thetext>Sorry, slight correction to the above:

The checkbox uses the org.freedesktop.timedate1 interface (systemd-timedated) to control the NTP settings. This then activates the configured NTP implementation, which on Manjaro is systemd-timesyncd. So ntpd is still getting replaced in favor of systemd-timesyncd since that&apos;s what the system is configured to do</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2076130</commentid>
    <comment_count>4</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2021-11-08 23:28:53 +0000</bug_when>
    <thetext>See https://www.freedesktop.org/software/systemd/man/systemd-timedated.service.html for details on timedated and how to configure which NTP daemon is used</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2076346</commentid>
    <comment_count>5</comment_count>
    <who name="Alberto Salvia Novella">es20490446e</who>
    <bug_when>2021-11-09 18:16:22 +0000</bug_when>
    <thetext>Thanks for the info. Very valuable.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>