Bug 1273290
Summary: | amavisd-snmp-subagent runs as init_t on RHEL-7.2 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Milos Malik <mmalik> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED WONTFIX | QA Contact: | Milos Malik <mmalik> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7.2 | CC: | lvrabec, mgrepl, mmalik, plautrba, pvrabec, ssekidde |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-04-28 12:52:25 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Milos Malik
2015-10-20 07:17:52 UTC
It is a perl script: # head -n 4 /usr/sbin/amavisd-snmp-subagent #!/usr/bin/perl -T #------------------------------------------------------------------------------ # This program implements a SNMP AgentX (RFC 2741) subagent for amavisd-new. # How is /usr/sbin/amavisd-snmp-subagent labeled? # matchpathcon /usr/sbin/amavisd-snmp-subagent /usr/sbin/amavisd-snmp-subagent system_u:object_r:antivirus_exec_t:s0 # ls -Z /usr/sbin/amavisd-snmp-subagent -rwxr-xr-x. root root system_u:object_r:antivirus_exec_t:s0 /usr/sbin/amavisd-snmp-subagent # ls -l /usr/sbin/amavisd-snmp-subagent -rwxr-xr-x. 1 root root 54172 Jan 27 2014 /usr/sbin/amavisd-snmp-subagent # grep ExecStart= /usr/lib/systemd/system/amavisd-snmp.service ExecStart=/usr/sbin/amavisd-snmp-subagent -D /var/spool/amavisd/db -P /var/run/amavisd/amavisd-snmp-subagent.pid # OK it looks we will need to have a helper script here, correct? |