Bug 126797

Summary: ntpd doesn't start right
Product: [Fedora] Fedora Reporter: Horst H. von Brand <vonbrand>
Component: ntpAssignee: Jiri Ryska <jryska>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-22 00:33:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Horst H. von Brand 2004-06-27 02:26:52 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510

Description of problem:
No ntpd service unless started by hand

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

How reproducible:
Always

Steps to Reproduce:
1.service ntpd start
2.
3.
    

Actual Results: 
Synchronizing to server FAILED
ntpd start OK

But "service ntpd status" reports pidfile exists, no server running.
Starting ntpd by hand (no arguments) gets the ball rolling

Expected Results:  At least running ntpd

Additional info:

Comment 1 Harald Hoyer 2004-07-13 13:57:16 UTC
do you have selinux activated?

Comment 2 Horst H. von Brand 2004-07-13 15:22:33 UTC
The system had FC2 test 2, was then upgraded. I assume SElinux is
active (sorry, no access to the machine right now)

Comment 3 Harald Hoyer 2004-07-13 15:48:23 UTC
try:
# modprobe capabilities
# service ntp restart

Comment 4 Joe Acosta 2004-07-15 05:20:52 UTC
I discovered some other things about this.

It seems that ntpd -U ntp failt to start but without the -U ntp it
starts okay.   The /etc/sysconfif/ntpd file contains -U ntp -p
/var/run/ntpd.pid so just removing the -U ntp allows it to start fine.

My guess is that there are problems changing id.