cancel
Showing results for 
Search instead for 
Did you mean: 

Repeated Syslog Entry from XMC

Repeated Syslog Entry from XMC

Christopher_Tay
Contributor

Hello,

The syslog in my XMC is constantly getting the following entry:

“snmpd[2703]: Cannot statfs /sys/kernel/debug/tracing: Permission denied”

the source is the XMC itself.

We are running version 8.5.6.17

This entry is new and I think it started after the upgrade to 8.5.6.17

Does anyone know how to correct this?

Thank you,

2 REPLIES 2

Robert_Haynes
Extreme Employee
We are currently reviewing this behavior.

The debugfs and tracefs mounts are active in Ubuntu OS when this particular event is logged. Simply typing 'umount tracefs' will temporarily resolve it. Ultimately filtering out such a message if it continues to re-appear periodically may be the workaround / solution here.

Robert_Haynes
Extreme Employee
A general web search suggests that this behavior is expected whenever the snmpd (daemon) source /proc/mounts and encounters a path it can not find or access. In this case - an access issue.

https://wiki.opennms.org/wiki/SNMP_spams_my_log is a reference point.

This suggests one workaround - to filter out this particular message - which I've tested and indeed does appear to work.


The /sys/kernel/debug/tracing sub-directory is owned by 'root' and snmpd is run as a separate user Debian-snmp.

drwx------ 8 root root 0 Sep 22 10:55 tracing/

So changing this path (unknown consequences) using 'chmod 755 tracing' to allow non-root users access appears to also suppress / prevent snmpd from logging this issue.

drwxr-xr-x 8 root root 0 Sep 22 10:55 tracing/


I would opt for filtering versus changing path permissions.
GTM-P2G8KFN