[Freeipa-devel] [PATCHES] 0039-0040 systemd ipactl fixes

Ana Krivokapic akrivoka at redhat.com
Wed Jul 10 16:36:35 UTC 2013


On 07/08/2013 08:32 AM, Alexander Bokovoy wrote:
> On Thu, 20 Jun 2013, Ana Krivokapic wrote:
>> Hello,
>>
>> Attached patches fix systemd and ipactl related bugs:
>>
>> https://fedorahosted.org/freeipa/ticket/3730
>> https://fedorahosted.org/freeipa/ticket/3729
> NACK. For me upgrade case fails (rpm -Uhv), dirsrv didn't restart on
> upgrade properly and everything else has failed afterwards.
>

This was caused due to 'systemctl is-active' returning exit status 3
('activating'), and our code treating the non-zero exit status as a failure. I
handled this case in the updated patch.

As for the ipa.service and dependency ordering, I have done some further testing
and found out the adding the '--ignore-dependencies' switch alone solves the
shutdown issue. So I think that no modification of ipa.service file is necessary.

Updated patches are attached.

-- 
Regards,

Ana Krivokapic
Associate Software Engineer
FreeIPA team
Red Hat Inc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-akrivoka-0039-02-Use-correct-DS-instance-in-ipactl-status.patch
Type: text/x-patch
Size: 4335 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130710/da750355/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-akrivoka-0040-02-Avoid-systemd-service-deadlock-during-shutdown.patch
Type: text/x-patch
Size: 1605 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130710/da750355/attachment-0001.bin>


More information about the Freeipa-devel mailing list