On 2023-01-13 01:37, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: [oO-en] Restarting ntpd on return from hibernation. Message-ID : <ba019426-8276-4b1d-dfbc-a91875031778@telefonica.net> Date & Time: Thu, 12 Jan 2023 13:56:25 +0100
[CER] == "Carlos E. R." <robin.listas@telefonica.net> has written:
[...] MN> > But you say ntp has been installed for decades, but what media did you MN> > install it on?
MN> > It's a unbelievable mystery!
CER> No mystery.
CER> My system started life with SuSE Linux 6.1, I think, around CER> 1998. It has been upgraded (boot DVD, choose upgrade, or "zypper CER> dup") over many versions since them. The hardware has also been CER> upgraded more than once. Including an upgrade from 32 to 64 bits.
Unexpected!
From your previous emails, I thought you were a clean installer.
Only on new computers :-)
CER> Back then, at some point, I installed and configured ntpd, and CER> thus, this system has it installed and running since decades (of CER> course, not continuously). It was the only time service CER> available, and I see no reason to change. It just works.
I see.
By the way, even with your kind of upgarde method, does ntp get updated to the new system at the same time?
Certainly.
The installer prioritizes system-specific stuff. So someday you had got the message, "I want to remove ntp because I want to install chrony.", had you?
CER> Don't touch things that work.
I know this is an ironclad rule of computer use, but that's why you don't switch to chrony.
I would suggest you consider chrony.
I have no reason to.
CER> The only issue I have is that I want the service to be CER> automatically restarted when the machine returns from CER> hibernation, and the solution is to create the script CER> "/usr/lib/systemd/system-sleep/mine-time". Previously I used a CER> script in /etc/pm/sleep.d/90clock, which had stopped working at CER> some point.
I agree, this is a bit weird.
No. "pm" has been superseded, I just needed to migrate the hook script from pm to systemd. That is done and things are working again.
If the problem is still the same with chrony, why don't you file a bug report?
The problem is solved. I have two laptops which may or not be using ntpd, I don't remember. One of them doesn't boot at the moment. Eventually, I'll check them. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)