You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps some error checking should be added to validate that the daemon has permission to read the directory, or to at least only log the error once to syslog, as was done here:
snmpd is spamming my syslog with the following error message:
"Cannot statfs /sys/kernel/debug/tracing: Permission denied"
This is due to the fact that the permissions on a parent directory don't permit this to be read:
and the daemon runs as "Debian-snmp" on Ubuntu, which doesn't have root permissions:
It looks like snmpd blindly runs a statfs on every (psuedo) filesystem in /proc/mounts
Perhaps some error checking should be added to validate that the daemon has permission to read the directory, or to at least only log the error once to syslog, as was done here:
https://bugzilla.redhat.com/show_bug.cgi?id=1314610
The text was updated successfully, but these errors were encountered: