Project

General

Profile

Actions

Bug #5210

closed

Package logging entries are not being removed from syslog.conf on package uninstall

Added by Kill Bill over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Package System
Target version:
Start date:
09/27/2015
Due date:
% Done:

100%

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

Description

This is what's being added for those packages - /etc/inc/system.inc

$syslogconf .= "!{$package['logging']['facilityname']}\n*.*\t\t\t\t\t\t {$log_directive}{$g['varlog_path']}/{$package['logging']['logfilename']}\n";

This is what's attempted to be removed on uninstall:

remove_text_from_file("/etc/syslog.conf", $pkg_info['logging']['facilityname'] . "\t\t\t\t" . $pkg_info['logging']['logfilename']);

These two very obviously do not match, cannot work.

Actions

Also available in: Atom PDF