-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-9.2.0
-
None
-
None
-
rhel-sst-cs-system-management
-
ssg_core_services
-
None
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
SELINUX denies net-snmp permission to create unix domain sockets in the /run/net-snmp directory.
Version-Release number of selected component (if applicable):
net-snmp-5.9.1-7.el9_0.1.x86_64
How reproducible:
Always
Steps to Reproduce:
1. Add "agentaddress /run/net-snmp/snmpd.sock" to config.
2.
3.
Actual results:
/var/log/audit/audit.log:type=AVC msg=audit(1671232991.834:42): avc: denied
{ create }for pid=1099 comm="snmpd" name="snmpd.sock" scontext=system_u:system_r:snmpd_t:s0 tcontext=system_u:object_r:snmpd_var_run_t:s0 tclass=sock_file permissive=1
Expected results:
Success.
Additional info:
- external trackers