On 2023-01-12 12:55, Masaru Nomiya wrote:
Hello,
I watched it after taking a bath, and I have mail.
In the Message;
Subject : Re: [oO-en] Restarting ntpd on return from hibernation. Message-ID : <476bcc98-2d64-7783-246f-3e69ae102801@telefonica.net> Date & Time: Thu, 12 Jan 2023 12:11:09 +0100
[CER] == "Carlos E. R." <robin.listas@telefonica.net> has written:
[...] CER> > If that's the case, then what you say is a contradiction in terms. CER> > CER> > If it's installed, why not just do this? CER> > CER> > # systemctl restart ntpd CER> > CER> > First of all, you're using some kind of magic to say it's been CER> > installed for decades?
CER> There must be a translation issue here.
CER> My problem is *restarting automatically* ntpd service when CER> machine returns from hibernation. See my recent post.
I know, I know...
I wondered why you insisted on ntpd, so I told you to install ntp.
That is, openSUSE uses chrony to synchronize the time, so ntp is excluded from the default installation.
Since chroy has many advantages over nptd, it makes sense for openSUSE to use it.
But you say ntp has been installed for decades, but what media did you install it on?
It's a unbelievable mystery!
No mystery. My system started life with SuSE Linux 6.1, I think, around 1998. It has been upgraded (boot DVD, choose upgrade, or "zypper dup") over many versions since them. The hardware has also been upgraded more than once. Including an upgrade from 32 to 64 bits. Back then, at some point, I installed and configured ntpd, and thus, this system has it installed and running since decades (of course, not continuously). It was the only time service available, and I see no reason to change. It just works. Don't touch things that work. The only issue I have is that I want the service to be automatically restarted when the machine returns from hibernation, and the solution is to create the script "/usr/lib/systemd/system-sleep/mine-time". Previously I used a script in /etc/pm/sleep.d/90clock, which had stopped working at some point. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)