So I wanted for a while to use and to learn Manjaro and I grabbed Cinnamon 21.1.0
Installation process is pretty straight forward, I setup the correct time zone and installed all of the default packages.
Guess what, after rebooting the laptop the timezone was set correctly but the actual time was way off.
I tried to see if I can easily find a post to explain to me how it’s done but the standard GUI way didn’t work.
The actual solution is in the code below
[sorin-20fjs3dr01 ~]# timedatectl
Local time: Sb 2021-08-28 13:07:40 EEST
Universal time: Sb 2021-08-28 10:07:40 UTC
RTC time: Sb 2021-08-28 10:07:40
Time zone: Europe/Bucharest (EEST, +0300)
System clock synchronized: no
NTP service: inactive
RTC in local TZ: no
[sorin-20fjs3dr01 ~]# systemctl status ntpd.service
○ ntpd.service - Network Time Service
Loaded: loaded (/usr/lib/systemd/system/ntpd.service; disabled; vendor preset: disabled)
Active: inactive (dead)
[sorin-20fjs3dr01 ~]# systemctl status systemd-timesyncd.service
○ systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/usr/lib/systemd/system/systemd-timesyncd.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:systemd-timesyncd.service(8)
[sorin-20fjs3dr01 ~]# systemctl start systemd-timesyncd.service
[sorin-20fjs3dr01 ~]# ^C
[sorin-20fjs3dr01 ~]# systemctl status systemd-timesyncd.service
● systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/usr/lib/systemd/system/systemd-timesyncd.service; disabled; vendor preset: enabled)
Active: active (running) since Sat 2021-08-28 13:09:09 EEST; 2h 59min left
Docs: man:systemd-timesyncd.service(8)
Main PID: 2080 (systemd-timesyn)
Status: "Initial synchronization to time server 195.135.194.3:123 (0.manjaro.pool.ntp.org)."
Tasks: 2 (limit: 19010)
Memory: 1.3M
CPU: 51ms
CGroup: /system.slice/systemd-timesyncd.service
└─2080 /usr/lib/systemd/systemd-timesyncd
aug 28 13:09:09 sorin-20fjs3dr01 systemd[1]: Starting Network Time Synchronization...
aug 28 13:09:09 sorin-20fjs3dr01 systemd[1]: Started Network Time Synchronization.
aug 28 10:09:10 sorin-20fjs3dr01 systemd-timesyncd[2080]: Initial synchronization to time server 195.135.194.3:123 (0.manjaro.pool.ntp.org).
[sorin-20fjs3dr01 ~]# systemctl enable systemd-timesyncd.service
Created symlink /etc/systemd/system/dbus-org.freedesktop.timesync1.service → /usr/lib/systemd/system/systemd-timesyncd.service.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service → /usr/lib/systemd/system/systemd-timesyncd.service.
[sorin-20fjs3dr01 ~]#
Turns out that both ntpd and timesyncd are dead and do not start by default, so the actual fix is by starting and enabling timesyncd.
Cheers,
Sorin