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
RHEL7/CentOS7 check_disk autofs issue #141
Comments
I did some looking into this a couple months ago, and didn't find an obvious answer. I'll be looking again soon. |
Thanks for the update, looking forward to a fix! |
I was able to get around this by passing a --exclude_device=/etc/auto.r in
the check_disk command. This should still be addressed since passing the
-l should ignore NFS mounted filesystems.
Thanks.
…On Tue, Mar 21, 2017 at 1:41 PM, Jesse Olson ***@***.***> wrote:
Thanks for the update, looking forward to a fix!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#141 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACyuMo9Ej1Oi45BQLsbrTL6rTG7mi0CJks5roAu8gaJpZM4HhJ_Z>
.
|
We're using check_disk in an environment that makes extensive use I've dealt with the problem here by patching gl/mountlist.c as follows.
-- |
Fix for issue #141. Also put in logic to skip certain system "fake" mountpoints such as sysfs, proc, fusectl, tmpfs, etc.
Fixed in branch Will be in release 2.2.2 |
Fix for issue #141. Also put in logic to skip certain system "fake" mountpoints such as sysfs, proc, fusectl, tmpfs, etc.
Fix for issue #141. Also put in logic to skip certain system "fake" mountpoints such as sysfs, proc, fusectl, tmpfs, etc.
Fix for issue #141. Also put in logic to skip certain system "fake" mountpoints such as sysfs, proc, fusectl, tmpfs, etc.
Description:
Autofs appears to mount remote autofs disks when it is run, even when the
-l
flag is specified. Please see this forum post for more information:https://support.nagios.com/forum/viewtopic.php?f=35&t=37133
Reproduction:
Make an NFS server and use the following config in
/etc/exports
Connect a server to this NFS server using autofs. My examples is as follows.
You can see that the check_disk command mounts the remote fileshare even though the
-l
flag is for checking local filesystems only. This works perfectly fine on CentOS 6.The text was updated successfully, but these errors were encountered: