Bug 677803

Summary: service ipa start/stop/restart fails due to systemctl hanging
Product: [Fedora] Fedora Reporter: Simo Sorce <ssorce>
Component: systemdAssignee: systemd-maint
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: johannbg, lpoetter, metherid, mschmidt, notting, plautrba, rcritten
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: 2012-02-27 11:23:55 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 Simo Sorce 2011-02-15 21:30:58 UTC
in current fedora f15, after freeipa has been installed and configured it is impossible to manage to restart, stop or start it

service ipa <action> is stuck on systemctl script invoked by the inner commands to start individual services.

manually using ipactl start|stop|restart works correctly.

All works just fine on Fedora 14 without systemd

Comment 1 Simo Sorce 2011-02-15 21:31:32 UTC
Ah this is with 17-5.fc15

Comment 2 Simo Sorce 2011-02-15 22:12:07 UTC
FYI:
adding the following to the IPA init scripts works around the issue.

export SYSTEMCTL_SKIP_REDIRECT=1

Comment 3 Bill Nottingham 2011-02-16 04:46:57 UTC
Hm, there was bug 674916 filed already, but that issue was fixed.

Comment 4 Lennart Poettering 2011-02-16 22:01:01 UTC
As discussed on IRC, please use "systemctl start --ignore-dependencies foo.service" for now, which mimics old SysV behaviour and ignores all deps. It's a quite a big hammer for this, and in the long run we definitely should get this fixed in a different way.

--ignore-dependencies is supported in systemd 18, which I just uploaded.

I will also update the Sysv redirection code to honour SYSTEMCTL_IGNORE_DEPENDENCIES which sets this parameter.

Comment 5 Lennart Poettering 2011-02-16 22:09:59 UTC
Patch sent to Bill.

Comment 6 Lennart Poettering 2011-02-16 22:11:02 UTC
(for the SysV redirection code that is. needs to get merged into initscripts)

Comment 7 Lennart Poettering 2011-04-12 12:13:05 UTC
Is there anything left to fix here for F15? Or may I close this bug?

Comment 8 Fedora Admin XMLRPC Client 2011-10-20 16:24:48 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 9 Jóhann B. Guðmundsson 2012-02-27 11:23:55 UTC
Closing this bug as fixed since the needinfo request has been laying there for several months and the issue appears to be fixed. ( + The freeipa stack has been migrated to natives systemd units now )