Bug 54313

Summary: ntpd runs with a bad user id
Product: [Retired] Red Hat Public Beta Reporter: Alain RICHARD <alain.richard>
Component: ntpAssignee: Harald Hoyer <harald>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: roswell   
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: 2001-10-04 07:56:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Alain RICHARD 2001-10-04 07:56:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.0b1; Mac_PowerPC)

Description of problem:
The ntpd daemon is running with a bad user id :
1075388500 11308  0.0  1.6 2040 2032 ?       SL   Oct03   0:00 ntpd 
-U ntp

it is then unable to access/update some of its files and output the 
following error in /var/log/message at regular times :

Oct  4 04:23:38 pbing ntpd[978]: can't open /etc/ntp/drift.TEMP: 
Permission denied

There is user/group id for ntp  to run in the /etc/passwd file :

ntp:x:38:38::/etc/ntp:/bin/nologin


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


How reproducible:
Always

Steps to Reproduce:
I have seen this on two differents installations of roswell. On each 
one, this is 100% reproductible just by running the ntpd daemon 
(service ntpd start).

Actual Results:  the ntpd daemon runs with a random big user id 
(example : 1075392596).

Expected Results:  the ntpd should be run as user id ntp (38).

Additional info:

Comment 1 Harald Hoyer 2001-10-04 08:46:04 UTC

*** This bug has been marked as a duplicate of 50698 ***