/[smeserver]/rpms/e-smith-ntp/sme10/e-smith-ntp-2.6.0-bz11298-ntpdpanic_stop.patch
ViewVC logotype

Annotation of /rpms/e-smith-ntp/sme10/e-smith-ntp-2.6.0-bz11298-ntpdpanic_stop.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Jan 3 05:19:58 2021 UTC (3 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-ntp-2_6_0-16_el7_sme, e-smith-ntp-2_6_0-13_el7_sme, e-smith-ntp-2_6_0-18_el7_sme, e-smith-ntp-2_6_0-15_el7_sme, e-smith-ntp-2_6_0-14_el7_sme, e-smith-ntp-2_6_0-17_el7_sme, HEAD
* Sun Jan 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme
- fix ntpd crashing with panic_stop [SME: 11298]

1 jpp 1.1 diff -Nur e-smith-ntp-2.6.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/ntpd.service.d/50koozali.conf/40service e-smith-ntp-2.6.0/root/etc/e-smith/templates/usr/lib/systemd/system/ntpd.service.d/50koozali.conf/40service
2     --- e-smith-ntp-2.6.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/ntpd.service.d/50koozali.conf/40service 2021-01-03 00:03:22.589000000 -0500
3     +++ e-smith-ntp-2.6.0/root/etc/e-smith/templates/usr/lib/systemd/system/ntpd.service.d/50koozali.conf/40service 2021-01-03 00:15:55.206000000 -0500
4     @@ -17,4 +17,4 @@
5     }
6     ExecStartPre=-/sbin/e-smith/expand-template /etc/ntp.conf
7     ExecStartPre=-/sbin/e-smith/systemd/initializedate
8     -
9     +Restart=always
10     diff -Nur e-smith-ntp-2.6.0.old/root/sbin/e-smith/systemd/initializedate e-smith-ntp-2.6.0/root/sbin/e-smith/systemd/initializedate
11     --- e-smith-ntp-2.6.0.old/root/sbin/e-smith/systemd/initializedate 2021-01-03 00:03:22.590000000 -0500
12     +++ e-smith-ntp-2.6.0/root/sbin/e-smith/systemd/initializedate 2021-01-03 00:15:05.932000000 -0500
13     @@ -16,4 +16,8 @@
14     # Run ntpdate so we're not way off on startup.
15     ntpstep=/etc/ntp/step-tickers
16     tickers=`/bin/sed -e 's/\#.*$//g' $ntpstep`
17     +#get current date (will need to update this command soon to be retired : ntpd -q -x -g -g -g -g
18     /usr/sbin/ntpdate -b -p 8 $tickers
19     +# set hardware clock to the current time
20     +/usr/sbin/hwclock --systohc
21     +exit 0

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed