Bug 2187554 - Nagios Plugin - check_disk segfault when using --skip-fake-fs argument
Summary: Nagios Plugin - check_disk segfault when using --skip-fake-fs argument
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: nagios-plugins
Version: epel8
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Guido Aulisi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-17 23:25 UTC by ian.hodgson
Modified: 2023-04-17 23:25 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
strace of a run of check_disk (13.65 KB, text/plain)
2023-04-17 23:25 UTC, ian.hodgson
no flags Details

Description ian.hodgson 2023-04-17 23:25:16 UTC
Created attachment 1957911 [details]
strace of a run of check_disk

Description of problem:

Nagios Plugin - check_disk segfault when using --skip-fake-fs argument



Version-Release number of selected component (if applicable):

Name        : nagios-plugins-disk
Version     : 2.3.3
Release     : 4.el8
Architecture: x86_64

How reproducible:
Can reliably reproduce on Oracle Linux 8.

Steps to Reproduce:
1./usr/lib64/nagios/plugins/check_disk -w 10% -c 5% --skip-fake-fs
2.
3.

Actual results:
[root@uslapld00002 system]# /usr/lib64/nagios/plugins/check_disk -w 10% -c 5% --skip-fake-fs
Segmentation fault (core dumped)


Expected results:
[root@uslapld00002 system]# /usr/lib64/nagios/plugins/check_disk -w 10% -c 5%
DISK OK - free space: / 3951 MiB (41.80% inode=63%); /boot 604 MiB (66.69% inode=99%); /opt 8164 MiB (78.47% inode=82%); /var 2220 MiB (21.34% inode=65%); /home 3648 MiB (97.80% inode=100%); /tmp 9450 MiB (99.99% inode=100%); /data 164445 MiB (88.21% inode=100%); /run/user/700228081 776 MiB (100.00% inode=100%); /var/lib/docker/overlay2/0cc70a71697a98e17c386e5612acf7555fdf1164bf8996cac7bdae838675ea06/merged 2220 MiB (21.34% inode=65%); /var/lib/docker/overlay2/38291bc033df70a18b63d3b0a24162da239b0818790e2a3e36440d36cf3fbad1/merged 2220 MiB (21.34% inode=65%); /var/lib/docker/overlay2/7ad885c072c70cc0e8f388822043f319259b2a034d07af096c052e94c97d67b9/merged 2220 MiB (21.34% inode=65%);| /=5500MiB;8981;9480;0;9979 /boot=301MiB;875;924;0;973 /opt=2239MiB;9884;10433;0;10983 /var=8183MiB;9884;10433;0;10983 /home=82MiB;3555;3753;0;3951 /tmp=0MiB;8981;9480;0;9979 /data=21973MiB;176823;186646;0;196470 /run/user/700228081=0MiB;698;737;0;776 /var/lib/docker/overlay2/0cc70a71697a98e17c386e5612acf7555fdf1164bf8996cac7bdae838675ea06/merged=8183MiB;9884;10433;0;10983 /var/lib/docker/overlay2/38291bc033df70a18b63d3b0a24162da239b0818790e2a3e36440d36cf3fbad1/merged=8183MiB;9884;10433;0;10983 /var/lib/docker/overlay2/7ad885c072c70cc0e8f388822043f319259b2a034d07af096c052e94c97d67b9/merged=8183MiB;9884;10433;0;10983

Additional info:


Note You need to log in before you can comment on or make changes to this bug.