Re: [PATCH / request for votes] Cannot statfs net:[********]#***: No such file or directory logged twice per every 10 minutes
Bart Van Assche <[email protected]>
| Newsgroups | gmane.network.net-snmp.devel |
|---|---|
| Message-ID | <[email protected]> |
On 06/20/18 02:46, Josef Ridky wrote: > Error log is written twice when processing /proc/mtab and calling > statfs() for each line in it. Did you mean /etc/mtab or /proc/mounts? I'm not aware of any /proc/mtab file on Linux. > It stumbles upon this line: > > proc net:[4026532288] proc rw,nosuid,nodev,noexec,relatime 0 0 > > Looking into the code, "Cannot statfs %s" is logged with "error" level. > snmpd should log the error only once. Although the patch itself looks fine to me: should the mount table parser be updated such that it understands that line? Thanks, Bart. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot