Project

General

Profile

Actions

Bug #11191

closed

Installing and Removing pfBlockerNG Leaves Shell Scripts in webConfigurator Messages

Added by Kris Phillips over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
pfBlockerNG
Target version:
-
Start date:
12/26/2020
Due date:
% Done:

0%

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

Description

On reboot after installing and then uninstalling pfBlockerNG, a few shell scripts remain in the shutdown/reboot message in the webConfigurator. These scripts also still exist.

Stopping package AWS VPC Wizard...done.
Stopping package IPsec Profile Wizard...done.
Stopping package OpenVPN Client Export Utility...done.
Stopping package Service Watchdog...done.
Stopping package System Patches...done.
Stopping /usr/local/etc/rc.d/pfb_dnsbl.sh...done.
Stopping /usr/local/etc/rc.d/pfb_filter.sh...done.

Actions #1

Updated by Kris Phillips over 3 years ago

Manually removing the two .sh files removes them from the UI, so it appears they are not cleaned up properly on uninstall.

Actions #2

Updated by BBcan177 . over 3 years ago

Before you uninstall, you need to uncheck "Keep Settings" in the General Tab.

Actions #3

Updated by Jim Pingle over 3 years ago

  • Project changed from pfSense to pfSense Packages
  • Category changed from Web Interface to pfBlockerNG

Is there a compelling reason to keep the shell scripts around even if the user didn't choose that? Typically a user would only expect "settings" to be kept (read: items in config.xml) and not files on the disk. But if there is a compelling case to keep them, it may be OK.

Ideally they should be cleaned up on uninstall, though.

Actions #4

Updated by Viktor Gurov over 3 years ago

BBcan177 . wrote:

Before you uninstall, you need to uncheck "Keep Settings" in the General Tab.

it doesn't help

Fix:
https://github.com/pfsense/FreeBSD-ports/pull/1013

Actions #5

Updated by Renato Botelho about 3 years ago

  • Status changed from New to Feedback
  • Assignee set to Viktor Gurov

PR has been merged. Thanks!

Actions #6

Updated by Kris Phillips about 3 years ago

Verified that this is no longer a problem. Unchecking the save settings checkbox and then removing the package properly removes these scripts and the messages from the shutdown messages.

Actions #7

Updated by Viktor Gurov about 3 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF