[Freeipa-devel] [PATCH 0069] ipa-nis-manage enable: change service name from 'portmap' to 'rpcbind'

Gabe Alford redhatrises at gmail.com
Wed May 4 13:14:52 UTC 2016


On Tue, May 3, 2016 at 11:17 PM, Abhijeet Kasurde <akasurde at redhat.com>
wrote:

> Hi Gabe,
>
> I am wondering, how are we handling "CalledProcessError" exception ?
>

I am not sure 100% what you are asking, but from what I understand, the
"CalledProcessError" exception is when a process returns a non-zero exit
status.
However when running 'ipa-nis-manage enable', an exception is never hit
even if portmap is not installed, hence portmap always being enabled.

So it seems that if the process is not installed, "CalledProcessError"
doesn't catch an error.

Gabe


> On 05/04/2016 09:17 AM, Gabe Alford wrote:
>
> Hello,
>
> Fix for https://fedorahosted.org/freeipa/ticket/5857
>
> Thanks,
>
> Gabe
>
>
> Thanks,
> Abhijeet Kasurde
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160504/c64bad6a/attachment.htm>


More information about the Freeipa-devel mailing list