Description of problem: When monitoring scout is enabled in Spacewalk WebUI, the following AVC denial is logged: avc: denied { search } for pid=25506 comm="gogo.pl" name="root" dev=dm-0 ino=2450401 scontext=root:system_r:spacewalk_monitoring_t:s0 tcontext=root:object_r:user_home_dir_t:s0 tclass=dir So something tries to search /root. By stracing Tomcat and its children, I came to suspect code in monitoring/PerlModules/NP/SetID/SetID.pm which does ########## sub path { ########## my $self = shift; my @path; my @candidates = (join('/', $self->env('HOME'), 'bin'), @BASEPATH); foreach my $dir (@candidates) { next if (/^ROOT:/ and $self->euid != 0 and $self->ruid != 0); s/^ROOT://; push(@path, $dir) if (-d $dir); } return join(":", @path); } Version-Release number of selected component (if applicable): perl-NOCpulse-SetID-1.6.8-1.el5 How reproducible: Deterministic. Steps to Reproduce: 1. Enable monitoring, enable monitoring scout. 2. See /var/log/audit/autid.log. Actual results: The denial above. Expected results: No denial. And no statting "ROOT:..." paths in strace. Additional info:
Fixed in: ae7dd13ad1d27bbf06de2c14bd87072021cd9742 d6f1782b00ceb40dee771db565ecd0ff595bb7fb Package: perl-NOCpulse-SetID-1.6.11-1
moving back to space05
Spacewalk 0.5 released.
Spacewalk 0.5 has been released for long time ago.