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

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

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


Revision 1.1 - (hide annotations) (download)
Mon Feb 6 07:07:07 2023 UTC (21 months, 3 weeks ago) by jpp
Branch: MAIN
CVS Tags: e-smith-ntp-2_6_0-18_el7_sme, HEAD
* Mon Feb 06 2023 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-18.sme
- fix noise about chown on driftfile [SME: 12177]

1 jpp 1.1 diff -Nur --no-dereference 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
2     --- e-smith-ntp-2.6.0.old/root/sbin/e-smith/systemd/initializedate 2023-02-06 01:51:51.602000000 -0500
3     +++ e-smith-ntp-2.6.0/root/sbin/e-smith/systemd/initializedate 2023-02-06 02:04:08.492000000 -0500
4     @@ -11,7 +11,9 @@
5     /usr/bin/mv $OLDFILE $NEWFILE
6     fi
7     fi
8     -/usr/bin/chown ntp:ntp $NEWFILE
9     +if [ -f "$NEWFILE" ]; then
10     + /usr/bin/chown ntp:ntp $NEWFILE
11     +fi
12    
13     # Run ntpdate so we're not way off on startup.
14     ntpstep=/etc/ntp/step-tickers

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