Closed zac90 closed 7 months ago
hi @zac90
Great catch, i have added this as a handler for all packages. Also the ability to not purge packages (this would clean everything even prior to remediate) it give the user th option then. Thanks again
uk-bolly
Describe the Issue A number of system apps aren't being completely removed. This causes either
systemctl
to report them as there ordpkg
to show them. The apps found so far in question areapport
,telnet
andrpc
. These should be fully removed from the system. However, to do this it requires anapt purge
not just a remove. So the tasks for example that usepackage
don't support thepurge
option.Which is not properly removing it.
Expected Behavior System apps are properly removed, and services removed.
Actual Behavior The app isn't removed and therefor can still be seen when running a
systemctl status apport
or adpkg-query
. This has been found so far on the three controls listed, but more may exist.Control(s) Affected 1.5.3, 2.3.4 and 2.3.6
Possible Solution Use the
apt
ansible module and add the parameterpurge: true
to it.