RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1228550 - sapconf should also consider ntp configured via ntp package instead of just Chronyd
Summary: sapconf should also consider ntp configured via ntp package instead of just C...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sapconf
Version: 7.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Than Ngo
QA Contact: cluster-qe@redhat.com
Jiri Herrmann
URL:
Whiteboard:
Depends On:
Blocks: 1018952 1203710 1289025 1295829 1313485
TreeView+ depends on / blocked
 
Reported: 2015-06-05 07:38 UTC by Ranjith Rajaram
Modified: 2020-02-14 17:30 UTC (History)
5 users (show)

Fixed In Version: sapconf-0.98-8
Doc Type: Release Note
Doc Text:
*sapconf* now detects the NTP configuration properly Previously, the *sapconf* utility did not check whether the host system was configured to use the Network Time Protocol (NTP). As a consequence, even when NTP was configured, *sapconf* displayed the following error: 3: NTP Service should be configured and started With this update, *sapconf* properly checks for the NTP configuration, and the described problem no longer occurs.
Clone Of:
Environment:
Last Closed: 2016-11-04 02:08:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2273 0 normal SHIPPED_LIVE sapconf bug fix update 2017-02-07 20:09:01 UTC

Description Ranjith Rajaram 2015-06-05 07:38:51 UTC
Description of problem:

sapconf only check whether chronyd is running or not. It does not check whether the host system is configured to use ntp. 

[root@test ~]# ntpstat 
synchronised to NTP server (X.X.X.X) at stratum 2 
   time correct to within 8108 ms
   polling server every 64 s


[root@test ~]# service ntpd status
Redirecting to /bin/systemctl status  ntpd.service
ntpd.service - Network Time Service
   Loaded: loaded (/usr/lib/systemd/system/ntpd.service; disabled)
   Active: active (running) since Fri 2015-06-05 13:04:09 IST; 52s ago
  Process: 20921 ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 20922 (ntpd)
   CGroup: /system.slice/ntpd.service
           └─20922 /usr/sbin/ntpd -u ntp:ntp -g

Whenever I run sapconf script, sapconf throws the following message

"3: NTP Service should be configured and started"


Version-Release number of selected component (if applicable):


How reproducible:
sapconf-0.98-6.el7.noarch

Steps to Reproduce:
1. Configure NTP using ntp.conf/ntp package
2. run sapconf script
3.

Actual results:

Sapconf prints the message that NTP is not running


Expected results:

sapconf should also honor ntp configuration made via the ntp package


Additional info:

Comment 13 errata-xmlrpc 2016-11-04 02:08:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2273.html


Note You need to log in before you can comment on or make changes to this bug.