Skip to contentSkip to conversation

audit2 in FC4T2

DISCUSSION Russell Coker 1 participant 2 messages Apr 12, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw

It seems that auditd now logs to /var/log/audit/audit.log. I've attached a fixed version of auditd.fc.

Signature · 4 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page
# auditd
/sbin/auditd		--	system_u:object_r:auditd_exec_t
/var/log/audit(/.*)? 	 	system_u:object_r:auditd_log_t
#1 lore raw
Quoted 2 lines · Russell Coker

It seems that auditd now logs to /var/log/audit/audit.log. I've attached a fixed version of auditd.fc.

Had a second problem, auditctl didn't work if initrc_t wasn't unrestricted. I've attached a new auditd.fc which labels auditctl as auditd_exec_t.

Also in auditd.te log_domain needs to be changed to logdir_domain.

Signature · 4 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page
# auditd
/sbin/auditd		--	system_u:object_r:auditd_exec_t
/sbin/auditctl		--	system_u:object_r:auditd_exec_t
/var/log/audit(/.*)? 	 	system_u:object_r:auditd_log_t