<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 02/10/2014 02:38 AM, bigclouds
      wrote:<br>
    </div>
    <blockquote
      cite="mid:344cc3bf.8508.144197248e7.Coremail.bigclouds@163.com"
      type="cite">
      <div
        style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">
        <div style="color: rgb(0, 0, 0); line-height: 1.7; font-family:
          arial; font-size: 14px;">
          <div style="color: rgb(0, 0, 0); line-height: 1.7;
            font-family: arial; font-size: 14px;">
            <div>hi,all</div>
            <div>1.</div>
            <div>how to change the context of running process.</div>
            <div>2.</div>
            <div>in my case, libvirtd is initrc_t, how to find  where
              and which file defines this rule?</div>
            <div>libvirtd should be virtd_t, i want to correct it.</div>
            <div> </div>
            <div>3.audot2allow outputs a rule ,'allow initrc_t
              svirt_t:process transition'</div>
            <div>is there a comamnd line tool can finish this request? 
              not to install .pp module?</div>
            <div> </div>
            <div>thanks</div>
          </div>
          <br>
          <br>
        </div>
      </div>
    </blockquote>
    It looks you have mislabeling issue on libvirtd binary.  If you
    execute<br>
    <br>
    $ ls -Z /usr/sbin/libvirtd | awk '{ print $4 }'<br>
    <br>
    $ matchpathcon /usr/sbin/libvirtd | awk '{ print $2 }'<br>
    <br>
    you probably will get different values. If so you will need to fix
    labeling (SELinux is a labeling system) using<br>
    <br>
    # restorecon -R -v /usr/sbin/libvirtd<br>
    <br>
    and restart libvirtd service.<br>
    <blockquote
      cite="mid:344cc3bf.8508.144197248e7.Coremail.bigclouds@163.com"
      type="cite">
      <div
        style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">
        <div style="color: rgb(0, 0, 0); line-height: 1.7; font-family:
          arial; font-size: 14px;"><span title="neteasefooter"><span
              id="netease_mail_footer"></span></span></div>
        <br>
        <br>
        <span title="neteasefooter"><span id="netease_mail_footer"></span></span></div>
      <br>
      <br>
      <span title="neteasefooter"><span id="netease_mail_footer"></span></span><br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
selinux mailing list
<a class="moz-txt-link-abbreviated" href="mailto:selinux@lists.fedoraproject.org">selinux@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/selinux">https://admin.fedoraproject.org/mailman/listinfo/selinux</a></pre>
    </blockquote>
    <br>
  </body>
</html>