Project

General

Profile

Actions

Bug #738

closed

Incorrect filter.inc packages

Added by Warren Baker over 15 years ago. Updated over 14 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
07/13/2010
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:

Description

In the function discover_pkg_rules() in /etc/inc/filter.inc, if a package returns errors in the parsing of the filter rules the errors are dumped to $g['tmp_path']}/rules.packages.{$pkg_inc}.
This should be $g['tmp_path']}/rules.packages.{$pkg} otherwise it tries to dump rules to the path of the include file appended to rules.packages.

For example, HAVP filter errors tries to get dumped to /tmp/rules.packages./usr/local/pkg/havp.inc instead of /tmp/rules.packages.havp.

Simple patch attached.


Files

filter.inc.patch (702 Bytes) filter.inc.patch Warren Baker, 07/13/2010 06:45 AM
Actions

Also available in: Atom PDF