Bug 824495 - ipactl.service fails on boot - but not if manually started
ipactl.service fails on boot - but not if manually started
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Martin Kosek
Red Hat Kernel QE team
Depends On: 806424
  Show dependency treegraph
Reported: 2012-05-23 11:30 EDT by Dmitri Pal
Modified: 2013-11-29 06:11 EST (History)
7 users (show)

See Also:
Fixed In Version: ipa-3.3.3-5.el7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 806424
Last Closed: 2013-11-29 06:10:41 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dmitri Pal 2012-05-23 11:30:00 EDT
+++ This bug was initially created as a clone of Bug #806424 +++

Description of problem:

The ipactl.service fails on boot, but not if it is subsequently restarted manually on boot up

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

How reproducible:
Installed freeipa as per the instructions on the Fedora web site and ipactl.service always fails on boot up but not if restarted manually

Steps to Reproduce:
Actual results:

It should start up

Expected results:

It does not start

Additional info:

I've worked around this by doing a systemctl enable dirsrv.target and now the ipactl.service does start on boot. What "seems" to happen is that ipactl starts the 389 directory server but as far as systemd is concerned that target (dirsrv.target) isn't wanted so it immediately shuts it down. Then the subsequent services that ipactl tries to start fail because they can't contact the 389 directory service. By explicitly enabling the dirsrv.target - it does not get shutdown by systemd.

With systemd supposedly being all singing - all dancing - is ipactl the correct thing to do - or should it be properly converted so that systemd itself starts the required services? At the very least it would appear the ipactl.service may need a dependency on dirsrv.target adding.
Comment 2 Martin Kosek 2013-11-29 06:10:41 EST
This is known to work in current RHEL-7.0 version, upstream version was also closed some time ago. Closing the bug.

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