Bug 669350

Summary: ipactl not stopping/starting/restarting ntpd
Product: [Retired] freeIPA Reporter: Jenny Severance <jgalipea>
Component: ipa-serverAssignee: Rob Crittenden <rcritten>
Status: CLOSED WONTFIX QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: low    
Version: 2.0CC: benl, dpal, jgalipea, mgregg
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-13 20:08:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jenny Severance 2011-01-13 13:08:38 UTC
Description of problem:

############################# stop services #########################
# ipactl stop
Stopping HTTP Service
Stopping DNS Service
Stopping KPASSWD Service
Stopping KDC Service
Stopping Directory Service

[root@jennyv1 ipa-ctl]# ps -ef | grep ntpd
root      2862   821  0 08:00 pts/0    00:00:00 grep --color=auto ntpd
ntp       3426     1  0 Jan12 ?        00:00:03 ntpd -u ntp:ntp -p /var/run/ntpd.pid -u ntp:ntp -p /var/run/ntpd.pid -g -x


############################# start services #########################
# ipactl start
Starting Directory Service
Starting KDC Service
Starting KPASSWD Service
Starting DNS Service
Starting HTTP Service

# ps -ef | grep ntpd
root      3101   821  0 08:01 pts/0    00:00:00 grep --color=auto ntpd
ntp       3426     1  0 Jan12 ?        00:00:03 ntpd -u ntp:ntp -p /var/run/ntpd.pid -u ntp:ntp -p /var/run/ntpd.pid -g -x

############################# restart services #########################
# ipactl restart
Restarting Directory Service
Restarting KDC Service
Restarting KPASSWD Service
Restarting DNS Service
Restarting HTTP Service

# ps -ef | grep ntpd
root      3359   821  0 08:02 pts/0    00:00:00 grep --color=auto ntpd
ntp       3426     1  0 Jan12 ?        00:00:03 ntpd -u ntp:ntp -p /var/run/ntpd.pid -u ntp:ntp -p /var/run/ntpd.pid -g -x


############################### automated test ##############################
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: ipa-ctl-06: ensure that ipactl stop stopped ntpd
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

 3426 ?        Ss     0:03 ntpd -u ntp:ntp -p /var/run/ntpd.pid -u ntp:ntp -p /var/run/ntpd.pid -g -x
:: [   FAIL   ] :: Checking to ensure that ipactl stop stopped ntpd (Expected 1, got 0)


Version-Release number of selected component (if applicable):
ipa-server-2.0-0.2011011204git380fed3.fc14.i686

How reproducible:
always

Steps to Reproduce:
1. see descriptioin
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Rob Crittenden 2011-01-13 16:20:31 UTC
I think this will probably get closed as a WONTFIX. 

We are going to stop nscd when the sssd client is configured, see ticket https://fedorahosted.org/freeipa/ticket/743

Comment 4 Dmitri Pal 2011-01-13 20:08:57 UTC
ntpd can't be controlled within the IPA stack it should be pre-configured and started before all other services. After some discussion on IRC and mutual agreement we are closing it as WONTFIX.