Bug 669350 - ipactl not stopping/starting/restarting ntpd
Summary: ipactl not stopping/starting/restarting ntpd
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-server
Version: 2.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-13 13:08 UTC by Jenny Severance
Modified: 2015-01-04 23:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-13 20:08:57 UTC


Attachments (Terms of Use)

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.


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