Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68292 - Small nagios plugins bug
Summary: Small nagios plugins bug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-20 10:54 UTC by Matt Van Wormer
Modified: 2004-11-21 03:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch -p0 <check_file_age.patch (check_file_age.patch,496 bytes, patch)
2004-10-20 11:16 UTC, Matt Van Wormer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Van Wormer 2004-10-20 10:54:35 UTC
In the net-analyzer/nagios-plugins package
/usr/nagios/libexec/contrib/check_file_age.pl has a bad #!.

Currently is #!/bin/perl -w
Should be (as all other .pl) #!/usr/bin/perl -w

Also, line 30 reads:
  use lib "utils.pm";
Should be:
  use utils;

Reproducible: Always
Steps to Reproduce:
1. run /usr/nagios/libexec/contrib/check_file_age.pl
Actual Results:  
OUTPUT: /bin/perl: bad interpreter: No such file or directory

Expected Results:  
OUTPUT: No file specified
Comment 1 Matt Van Wormer 2004-10-20 11:16:12 UTC
Created attachment 42258 [details, diff]
patch -p0 <check_file_age.patch

Gentoo is awesome.  Thanks, guys!
Comment 2 Matt Van Wormer 2004-10-20 11:21:42 UTC
Separate bug, less important: The permissions in the contrib folder are inconsistent.  Some .pl and .sh are executable, some aren't.  I am of the opinion that they all should be.

Thanks!

~matt
Comment 3 Eldad Zack (RETIRED) gentoo-dev 2004-11-21 03:09:19 UTC
all issues fixed in portage...
thanks for reporting!