microsoft / omi

Open Management Infrastructure
Other
360 stars 114 forks source link

SELinux module not removed on uninstall/purge #683

Closed fl-max closed 3 years ago

fl-max commented 3 years ago

When running the steps outline here in the Azure Docs to remove OMS, the SELinux module omi-selinux remains.

# semodule -l | grep omi-selinux
omi-selinux 1.0

Environment

Steps to reproduce:

  1. Standup VM using the OpenLogic|CentOS|7-CI|7.4.20171212 Marketplace image
  2. wget https://raw.githubusercontent.com/Microsoft/OMS-Agent-for-Linux/master/installer/scripts/onboard_agent.sh
  3. sudo sh onboard_agent.sh --purge
  4. semodule -l | grep omi-selinux
JumpingYang001 commented 3 years ago

thanks for filing this issue, we have new a PR to fix it: #681

JumpingYang001 commented 3 years ago

Fixed in #681 and will be in next release, thanks.