fedora-selinux February 2008 archive
Main Archive Page > Month Archives  > fedora-selinux archives
fedora-selinux: Problem with audit2allow reference policy involv

Problem with audit2allow reference policy involving logs

From: Forrest Taylor <ftaylor_at_nospam>
Date: Thu Feb 28 2008 - 17:49:56 GMT
To: fedora-selinux-list@redhat.com


Running RHEL5.1 with with selinux-policy-strict-2.4.6-106.el5_1.3.

I am building my own policy for FTP and in creating the xferlog, audit2allow -alR gives this macro:

logging_search_logs(ftpd_t)

The problem is that this macros generates the following type transition:

   type_transition ftpd_t var_log_t : file sendmail_log_t;

This, of course, is not really what I want, so I dropped the -R option to audit2allow and it returns:

allow ftpd_t var_log_t:dir search;

With the next iteration, audit2allow -alR shows:

sendmail_create_log(ftpd_t)

and audit2allow -la shows:

allow ftpd_t var_log_t:dir write;

Someone really liked sendmail_log_t ;o)

Forrest

-- fedora-selinux-list mailing list fedora-selinux-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-selinux-list