<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 04.05.2016 15:14, Gabe Alford wrote:<br>
    </div>
    <blockquote
cite="mid:CAGLxfGxzsfQ035HKdyTiEKdmVYSUjzsD75HXszz4+K06G3smNg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Tue, May 3, 2016 at 11:17 PM,
            Abhijeet Kasurde <span dir="ltr"><<a
                moz-do-not-send="true" href="mailto:akasurde@redhat.com"
                target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:akasurde@redhat.com">akasurde@redhat.com</a></a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"> Hi Gabe, <br>
                <br>
                I am wondering, how are we handling "CalledProcessError"
                exception ?<br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>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.<br>
            </div>
            <div>However when running 'ipa-nis-manage enable', an
              exception is never hit even if portmap is not installed,
              hence portmap always being enabled.<br>
              <br>
            </div>
            <div>So it seems that if the process is not installed,
              "CalledProcessError" doesn't catch an error.<br>
              <br>
            </div>
            <div>Gabe <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    Hello,<br>
    <br>
    portmap.enable() may raise the "CalledProcessError" in case that
    systemct enable failed and we should catch this exception and handle
    it in the same way as it is done now. i.e catch that exception and
    set proper return state.<br>
    <br>
    Martin^2<br>
    <br>
    <blockquote
cite="mid:CAGLxfGxzsfQ035HKdyTiEKdmVYSUjzsD75HXszz4+K06G3smNg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000">
                <div>
                  <div class="h5">
                    <div>On 05/04/2016 09:17 AM, Gabe Alford wrote:<br>
                    </div>
                    <blockquote type="cite">
                      <div dir="ltr">
                        <div>
                          <div>Hello,<br>
                            <br>
                            Fix for <a moz-do-not-send="true"
                              href="https://fedorahosted.org/freeipa/ticket/5857"
                              target="_blank">https://fedorahosted.org/freeipa/ticket/5857</a><br>
                            <br>
                          </div>
                          Thanks,<br>
                          <br>
                        </div>
                        Gabe<br>
                      </div>
                      <br>
                      <fieldset></fieldset>
                      <br>
                    </blockquote>
                  </div>
                </div>
                Thanks,<br>
                Abhijeet Kasurde<br>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>