Salta al contenuto principale

8 /8-Stream / 9-Stream - General Support • Re: snmptrapd started by systemctl getting permission denied on MIB files

It's almost certainly selinux related. It's busy trying very hard to stop daemons that should not be able to access locations like /home from doing so and you are telling it to do so and it says "shan't" and stamps its foot.

If you put your MIBS in the correct location then I suspect it will be fixed: /usr/share/snmp/mibs/. If you mv them from where they are now, make sure you use mv -Z so that it resets the selinux context to the correct value as it moves them. If you cp them then cp will set the right context without being told.

Statistics: Posted by TrevorH — 2023/09/01 19:32:10