0

I noticed on my some servers shorewall service is installed but it's not running.I want to uninstall it.

I executed the command sudo systemctl status shorewall to check status of shorewall and got the below output.

shorewall.service - Shorewall IPv4 firewall
Loaded: loaded (/lib/systemd/system/shorewall.service; disabled; vendor preset: enabled)
Active: inactive (dead)

Then I executed sudo apt-get purge --auto-remove shorewall command to uninstall the shorewall. After uninstalling it, I checked the status of shorewall with this command again sudo systemctl status shorewall then It' giving output like below.

shorewall.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
Jul 08 20:24:23 ip-10-10-10-10 systemd[1]: Stopped Shorewall IPv4 firewall.

Can anyone confirm please that is shorewall uninstalled successfully?, why is it giving the output like this?

1 Answers1

0

The output of systemctl status shorewall indicates that you successfully removed it from your computer. However, the log entries remain from when it was previously installed. The log entries are not deleted.

Michael Hampton
  • 237,123
  • 42
  • 477
  • 940
  • Just now I deleted the shorewall logs files like ```shorewall-init.log*``` from ```/var/log/```. After that I executed the status command but it showing same output as I mentioned previously. If shorewall is uninstalled completely then status command ```sudo systemctl status shorewall``` should show the output something like this ```shorewall is not found``` or ```shorewall services is unknown```. – rajeev singh Jul 08 '20 at 19:07
  • That is what it said! – Michael Hampton Jul 08 '20 at 19:12