Ensure Whoopsie is not installed

Description

Ensure that the whoopsie service is not installed.

Rationale

Whoopsie collects the crash report generated by Apport and makes it possible to send them to Canonical.

Audit

packageInstalled() {
  dpkg -l | awk '{print $1, $2}' | grep "^ii.* $1"
}

@test "Verify that whoopsie is not installed" {
  run packageInstalled 'whoopsie'
  [ "$status" -eq 1 ]
}

Remediation

shell

apt-get --assume-yes purge whoopsie*

References

results matching ""

    No results matching ""