<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks everyone that replied. I've added something akin to this and it
appears to be working - at least no AVCs for ~18 hours now so I think
so.<br>
<br>
On 23/02/2010 18:06, Daniel J Walsh wrote:
<blockquote cite="mid:4B841942.5080302@redhat.com" type="cite"><br>
# cat &gt; mysmbd.te &lt;&lt; _EOF
  <br>
policy_module(mysmbd, 1.0)
  <br>
  <br>
require {
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type smbd_t;
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type sshd_key_t;
  <br>
}
  <br>
  <br>
dontaudit smbd_t sshd_key_t:file getattr;
  <br>
_EOF
  <br>
# make -f /usr/share/selinux/devel/Makefile
  <br>
# semodule -i mysmbd.pp
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
        <style>
                v\:* {behavior:url(#default#VML);}
                o\:* {behavior:url(#default#VML);}
                w\:* {behavior:url(#default#VML);}
                .shape {behavior:url(#default#VML);}
        </style>
        <![endif]-->
<o:smarttagtype
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City">
<o:smarttagtype
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place">
<o:smarttagtype
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"><!--[if !mso]>
                <style>
                st1\:*{behavior:url(#default#ieooui) }
                </style>
        <![endif]-->
<style>
        <!--
         /* Font Definitions */
         @font-face
                {font-family:SimSun;
                panose-1:2 1 6 0 3 1 1 1 1 1;}
        @font-face
                {font-family:Tahoma;
                panose-1:2 11 6 4 3 5 4 4 2 4;}
        @font-face
                {font-family:Verdana;
                panose-1:2 11 6 4 3 5 4 4 2 4;}
        @font-face
                {font-family:"Trebuchet MS";
                panose-1:2 11 6 3 2 2 2 2 2 4;}
        @font-face
                {font-family:"Franklin Gothic Book";
                panose-1:2 11 5 3 2 1 2 2 2 4;}
        @font-face
                {font-family:Webdings;
                panose-1:5 3 1 2 1 5 9 6 7 3;}
        @font-face
                {font-family:"\@SimSun";
                panose-1:2 1 6 0 3 1 1 1 1 1;}
         /* Style Definitions */
         p.MsoNormal, li.MsoNormal, div.MsoNormal
                {margin:0cm;
                margin-bottom:.0001pt;
                font-size:12.0pt;
                font-family:"Times New Roman";}
        a:link, span.MsoHyperlink
                {color:blue;
                text-decoration:underline;}
        a:visited, span.MsoHyperlinkFollowed
                {color:purple;
                text-decoration:underline;}
        span.EmailStyle17
                {mso-style-type:personal;
                font-family:Arial;
                color:windowtext;}
        span.EmailStyle19
                {mso-style-type:personal-reply;
                font-family:Arial;
                color:navy;}
        @page Section1
                {size:612.0pt 792.0pt;
                margin:72.0pt 90.0pt 72.0pt 90.0pt;}
        div.Section1
                {page:Section1;}
        -->
        </style>
<p class="MsoNormal"> <font size="1" color="#002c55"
 face="Trebuchet MS"><!-- CHANGE your name --> <span
 style="font-size: 8.5pt; font-family: &quot;Trebuchet MS&quot;; color: rgb(0, 44, 85);">Trevor
Hemsley<br>
</span> </font> <font size="1" color="#002c55" face="Trebuchet MS"><!-- CHANGE job title --> <span
 style="font-size: 7.5pt; font-family: &quot;Trebuchet MS&quot;; color: rgb(0, 44, 85);">Infrastructure
Engineer<br>
</span> </font> <font size="1" color="#002c55" face="Trebuchet MS"> <span
 style="font-size: 7pt; font-family: &quot;Trebuchet MS&quot;; color: rgb(0, 44, 85);">.................................................<br>
</span> </font> <b><font size="1" color="#002c55" face="Trebuchet MS">
<span
 style="font-size: 8.5pt; font-family: &quot;Trebuchet MS&quot;; color: rgb(0, 44, 85); font-weight: bold;">C
A L Y P S O <br>
</span> </font></b> <st1:city w:st="on"><st1:place w:st="on"> <font
 size="1" color="#002c55" face="Trebuchet MS"><!-- CHANGE office location --> <span
 style="font-size: 7.5pt; font-family: &quot;Trebuchet MS&quot;; color: rgb(0, 44, 85);">Brighton,
UK</span> </font> </st1:place></st1:city> <font size="1"
 color="#002c55" face="Trebuchet MS"> <span
 style="font-size: 7.5pt; font-family: &quot;Trebuchet MS&quot;; color: rgb(0, 44, 85);">&nbsp;&nbsp;</span>
</font> <font color="#518fcc"><span style="color: rgb(81, 143, 204);"><o:p></o:p></span></font>
</p>
<p class="MsoNormal"> <font size="1" color="#002c55"
 face="Trebuchet MS">
<table border="0">
  <tbody>
    <tr>
      <td><span
 style="font-size: 7.5pt; font-family: &quot;Trebuchet MS&quot;; color: rgb(0, 44, 85);">OFFICE</span></td>
<!-- CHANGE office phone number --> <td><span
 style="font-size: 7.5pt; font-family: &quot;Trebuchet MS&quot;; color: rgb(81, 143, 204);">+44
(0) 1273 666 350</span></td>
    </tr>
    <tr>
<!-- CHANGE office fax number --> <td><span
 style="font-size: 7.5pt; font-family: &quot;Trebuchet MS&quot;; color: rgb(0, 44, 85);">FAX</span></td>
      <td><span
 style="font-size: 7.5pt; font-family: &quot;Trebuchet MS&quot;; color: rgb(81, 143, 204);">+44
(0) 1273 666 351</span></td>
    </tr>
  </tbody>
</table>
</font> </p>
<p class="MsoNormal"> <font size="1" color="#002c55"
 face="Trebuchet MS"> <span
 style="font-size: 7pt; font-family: &quot;Trebuchet MS&quot;; color: rgb(0, 44, 85);">.................................................<br>
</span> </font> <font size="1" color="#002c55" face="Verdana"> <span
 style="font-size: 7.5pt; font-family: Verdana; color: rgb(0, 44, 85);"><a class="moz-txt-link-abbreviated" href="http://www.calypso.com">www.calypso.com</a></span>
</font> <br>
<br>
<font size="1" color="#518fcc" face="Verdana"> <span
 style="font-size: 7pt; font-family: Verdana; color: rgb(81, 143, 204);">This
electronic-mail might contain confidential information intended only
for the use by the entity named. If the reader of this message is not
the intended recipient, the reader is hereby notified that any
dissemination, distribution or copying is strictly prohibited.</span> </font>
<font color="#518fcc"><span style="color: rgb(81, 143, 204);"><o:p></o:p></span></font>
</p>
<!-- CHANGE you may want to remove this 'green' paragraph altogether -->
<p class="MsoNormal"> <b><font size="4" color="green" face="Webdings">
<span
 style="font-size: 14pt; font-family: Webdings; color: green; font-weight: bold;"
 lang="EN-GB">P</span> </font></b> <em><b><i><font size="2"
 color="green" face="Times New Roman"> <span
 style="font-size: 10pt; color: green; font-weight: bold;" lang="EN-GB">Please
consider the environment before printing this e-mail</span> </font></i></b></em>
</p>
</o:smarttagtype></o:smarttagtype></o:smarttagtype></div>
</body>
</html>