Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERR snmpd[18]: Cannot statfs /root/host: Permission denied #22

Closed
stcheng opened this issue May 2, 2017 · 4 comments · Fixed by sonic-net/sonic-buildimage#977
Closed

Comments

@stcheng
Copy link
Contributor

stcheng commented May 2, 2017

 ERR snmpd[18]: Cannot statfs /root/host: Permission denied
 ERR snmpd[18]: Cannot statfs /root/dev: Permission denied
 ERR snmpd[18]: Cannot statfs /root/dev/pts: Permission denied
@stcheng
Copy link
Contributor Author

stcheng commented May 2, 2017

https://askubuntu.com/questions/828769/snmpd-cannot-statfs-directory
https://blog.emeidi.com/2017/02/19/elk-snmpd-cannot-statfs

According to the above two posts, either we ignore the errors by editing the rsyslog configuration, or change the snmpd log level.

@liatgrozovik
Copy link

If they are unrelated and should never be caught they should be added to the ignore list files.
if they are not related to specific test the relevant test ignore file should be updated.

Please review the common ignore files and update it if needed.

@lguohan
Copy link
Contributor

lguohan commented May 11, 2017

the root cause is those directories are not available after we do aufs. @qiluo-msft, is there any way to not show the /root/dev, /root/dev/pts, /root/host in the /proc/mounts?

admin@str-s6000-acs-7:/var/log$ sudo grep root /proc/mounts
rootfs / rootfs rw 0 0
udev /root/dev devtmpfs rw,relatime,size=10240k,nr_inodes=1020200,mode=755 0 0
devpts /root/dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
/dev/sda3 /root/host ext4 rw,relatime,data=ordered 0 0
/dev/loop0 /root squashfs ro,relatime 0 0

@xinliu-seattle
Copy link

Reopen this. But low priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants