Bug 309195

Summary: Automatic time update cannot enable the needed ntpd.service with systemctl. (systemd)
Product: [Applications] systemsettings Reporter: Kepsz <kepszlok>
Component: kcm_clockAssignee: Paul Campbell <paul>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: 4.9.2   
Target Milestone: ---   
Platform: Chakra   
OS: Linux   
URL: http://chakra-project.org/bbs/viewtopic.php?pid=61852#p61852
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kepsz 2012-10-29 12:37:17 UTC
Enabling automatic time update is just works for one session. After a restart, nothing happens because ntpd.service is remained disabled.

systemctl status ntpd.service
ntpd.service - Network Time Service
          Loaded: loaded (/usr/lib/systemd/system/ntpd.service; disabled)
          Active: inactive (dead)
          CGroup: name=systemd:/system/ntpd.service

Reproducible: Always

Steps to Reproduce:
1. easy, just try to enable / disable the automatic update, than do a restart
Actual Results:  
Manualy giving out the sudo systemctl enable ntpd.service command starts the ntpd service.

systemctl status ntpd.service
ntpd.service - Network Time Service
          Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled)
          Active: active (running) since Mon, 29 Oct 2012 14:44:41 +0100
         Process: 278 ExecStart=/usr/bin/ntpd $NTPD_ARGS -p /run/ntpd.pid (code=exited, status=0/SUCCESS)
        Main PID: 283 (ntpd)
          CGroup: name=systemd:/system/ntpd.service
                  └ 283 /usr/bin/ntpd -g -p /run/ntpd.pid

About five minutes after a restart, the NTPD updates the clock

Expected Results:  
Start the ntpd.service automaticly withouth manual intervention.

BTW, why takes 5+ minutes to the ntpd for update the time?
Comment 1 Jekyll Wu 2012-12-06 01:30:57 UTC
You misunderstand the intention of that option. It means " I don't bother correcting the date/time manually myself, so run ntpdate to contanct a time server and update the date/time for me after I click the apply button." . It is designed to perform a one-shot operation, not designed to manage the ntpd service on your system.
Comment 2 Alberto Salvia Novella 2021-11-02 12:08:11 UTC
The option shall do the least surprising, most functional, thing: enabling the network time protocol.

https://bugs.kde.org/show_bug.cgi?id=444821