Problem with audit2allow reference policy involving logs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part

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

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux