Actions
Bug #5210
closedPackage logging entries are not being removed from syslog.conf on package uninstall
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.
Updated by Kill Bill about 9 years ago
https://github.com/pfsense/pfsense/pull/1939 (RELENG_2_2)
https://github.com/pfsense/pfsense/pull/1940 (master)
The problem here is that system_syslogd_start() is called at wrong time.
Updated by Renato Botelho about 9 years ago
- Status changed from New to Feedback
- Target version set to 2.2.5
- % Done changed from 0 to 100
Pull requests have been merged. Thanks!
Actions