diff --git a/SPECS/ntp/ntp.signatures.json b/SPECS/ntp/ntp.signatures.json index 9d70f5cc975..67bcfac63b8 100644 --- a/SPECS/ntp/ntp.signatures.json +++ b/SPECS/ntp/ntp.signatures.json @@ -1,13 +1,13 @@ { - "Signatures": { - "LICENSE.PTR": "22591c393c8f9d309234493b98ccddcf246cf5f843358b2bdb62d84e59780e02", - "ntp.step-tickers": "8b4bc72cc4a0af1e855f8836de5ceaa15b29620b7d3147e8f05c73bac773bee8", - "ntp.sysconfig": "f2a0ab20767f2c1975cd56cc2b013070fc5b0fbc6a619a3fad05c16d5d0bd6ba", - "ntpd.service": "10636ab4e5d799c3071a08a961b2ed668309f70ebae9f46bf23f4079be60d431", - "ntpdate.service": "a75376fde5a9d0eb0237ef4a84bac3cdef4c6ecadeee0eb41c6c124cd857fa46", - "ntpdate.sysconfig": "7ce7b151ea02332800688c8cb0bafefd246c9c0037491686fd833b3baaeff419", - "ntpdate.wrapper": "f63c7828bd29379b88db578658528bbb7ff915cd0e56cf1fee0a77ff59c35f09", - "ntpstat-master.zip": "383871e655c38fa853a4d5935d4be4aba08842e73e51ed3daf824e6a333dadc6", - "ntp-4.2.8p17.tar.gz": "103dd272e6a66c5b8df07dce5e9a02555fcd6f1397bdfb782237328e89d3a866" - } + "Signatures": { + "LICENSE.PTR": "22591c393c8f9d309234493b98ccddcf246cf5f843358b2bdb62d84e59780e02", + "ntp-4.2.8p17.tar.gz": "103dd272e6a66c5b8df07dce5e9a02555fcd6f1397bdfb782237328e89d3a866", + "ntp.step-tickers": "8b4bc72cc4a0af1e855f8836de5ceaa15b29620b7d3147e8f05c73bac773bee8", + "ntp.sysconfig": "f2a0ab20767f2c1975cd56cc2b013070fc5b0fbc6a619a3fad05c16d5d0bd6ba", + "ntpd.service": "10636ab4e5d799c3071a08a961b2ed668309f70ebae9f46bf23f4079be60d431", + "ntpdate.service": "a75376fde5a9d0eb0237ef4a84bac3cdef4c6ecadeee0eb41c6c124cd857fa46", + "ntpdate.sysconfig": "7ce7b151ea02332800688c8cb0bafefd246c9c0037491686fd833b3baaeff419", + "ntpdate.wrapper": "247ae15d8f8c0332cb7850c041969e649b8a557642c1e811ec48b4c89bd20597", + "ntpstat-master.zip": "383871e655c38fa853a4d5935d4be4aba08842e73e51ed3daf824e6a333dadc6" + } } \ No newline at end of file diff --git a/SPECS/ntp/ntp.spec b/SPECS/ntp/ntp.spec index f95797cdc9f..9c99d30c37c 100644 --- a/SPECS/ntp/ntp.spec +++ b/SPECS/ntp/ntp.spec @@ -1,7 +1,7 @@ Summary: Network Time Protocol reference implementation Name: ntp Version: 4.2.8p17 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD AND GPLv2+ AND LGPLv2+ AND MIT AND OpenLDAP AND Public Domain Vendor: Microsoft Corporation Distribution: Azure Linux @@ -197,6 +197,9 @@ fi %{_mandir}/man8/ntpstat.8* %changelog +* Tue Mar 17 2026 Sudipta Pandit - 4.2.8p17-2 +- Fix ntpdate-wrapper to use /usr/bin/ntpdate + * Wed Jan 31 2024 Karim Eldegwy - 4.2.8p17-1 - Auto-upgrade to 4.2.8p17 - 3.0 - Upgrade - Remove not applicable patch diff --git a/SPECS/ntp/ntpdate.wrapper b/SPECS/ntp/ntpdate.wrapper index 42ddda2fbb3..a644ae063df 100755 --- a/SPECS/ntp/ntpdate.wrapper +++ b/SPECS/ntp/ntpdate.wrapper @@ -4,7 +4,7 @@ ntpconf=/etc/ntp.conf ntpstep=/etc/ntp/step-tickers [ "$EUID" != "0" ] && exit 4 -[ -x /usr/sbin/ntpdate ] || exit 5 +[ -x /usr/bin/ntpdate ] || exit 5 [ -f /etc/sysconfig/ntpdate ] || exit 6 . /etc/sysconfig/ntpdate @@ -22,7 +22,7 @@ if ! echo "$tickers" | grep -qi '[a-z0-9]'; then exit 6 fi -/usr/sbin/ntpdate -s -b $OPTIONS $tickers &> /dev/null +/usr/bin/ntpdate -s -b $OPTIONS $tickers &> /dev/null RETVAL=$? [ $RETVAL -eq 0 ] && [ "$SYNC_HWCLOCK" = "yes" ] && /sbin/hwclock --systohc