Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 296601 Details for
Bug 229217
enhancing ntp support
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
enable ntpdate service
scd-ntpdate.patch (text/plain), 1.60 KB, created by
Miroslav Lichvar
on 2008-03-03 14:13:58 UTC
(
hide
)
Description:
enable ntpdate service
Filename:
MIME Type:
Creator:
Miroslav Lichvar
Created:
2008-03-03 14:13:58 UTC
Size:
1.60 KB
patch
obsolete
>diff -up system-config-date-1.9.22/src/dateBackend.py.ntpdate system-config-date-1.9.22/src/dateBackend.py >--- system-config-date-1.9.22/src/dateBackend.py.ntpdate 2008-02-05 09:49:55.000000000 +0100 >+++ system-config-date-1.9.22/src/dateBackend.py 2008-03-03 14:50:22.000000000 +0100 >@@ -328,13 +328,20 @@ class dateBackend: > retval = os.system(fullPath) > return retval > >- def chkconfigOn(self): >+ def chkconfigOn(self, ntpStepTime): > path = ('/sbin/chkconfig --level 35 ntpd on') > os.system (path) >+ if ntpStepTime: >+ path = ('/sbin/chkconfig --level 35 ntpdate on') >+ else: >+ path = ('/sbin/chkconfig --level 35 ntpdate off') >+ os.system (path) > > def chkconfigOff(self): > path = ('/sbin/chkconfig --level 35 ntpd off') > os.system (path) >+ path = ('/sbin/chkconfig --level 35 ntpdate off') >+ os.system (path) > > def stopNtpService (self): > if self.isNtpRunning() == 1: >diff -up system-config-date-1.9.22/src/scdMainWindow.py.ntpdate system-config-date-1.9.22/src/scdMainWindow.py >--- system-config-date-1.9.22/src/scdMainWindow.py.ntpdate 2008-02-05 09:49:55.000000000 +0100 >+++ system-config-date-1.9.22/src/scdMainWindow.py 2008-03-03 14:37:04.000000000 +0100 >@@ -191,7 +191,7 @@ class scdMainWindow: > self.closeParent = True > ntpFailDialogShown = True > >- self.dateBackend.chkconfigOn () >+ self.dateBackend.chkconfigOn (ntpStepTime) > > # Get the time zone info from the time zone page > if "timezone" in self.showPages:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 229217
: 296601 |
301339
|
301340
|
301342
|
301344