[Nagiosplug-devel] [ nagiosplug-Bugs-1904965 ] check_apt: SECURITY_RE is not correct

SourceForge.net noreply at sourceforge.net
Fri Feb 29 22:10:02 CET 2008


Bugs item #1904965, was opened at 2008-02-29 22:10
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1904965&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General plugin execution
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Sebastien Delafond (sdelafond)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_apt: SECURITY_RE is not correct

Initial Comment:
Because of the "[^ ]", it fails to recognize lines of this format, that *are* indeed security updates:

  *Inst linux-image-2.6-amd64 [2.6.18+6etch2] 2.6.18+6etch3 Debian:4.0r3/stable, Debian-Security:4.0/stable)

This can unfortunately not be worked around by passing the correct regex with --critical, because of another bug in add_to_regex, that adds a trailing space after the user-supplied regex no matter: this prevents
theuser-supplied regex from matching lines like the one above.

See attached patch.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1904965&group_id=29880




More information about the Devel mailing list