Skip to content

Commit

Permalink
[selinux] Add ubuntu check and plugin
Browse files Browse the repository at this point in the history
Signed-off-by: Arif Ali <arif.ali@canonical.com>
Signed-off-by: Adam Vest <adam.vest@canonical.com>
  • Loading branch information
arif-ali authored and TurboTurtle committed Aug 17, 2023
1 parent e98e658 commit 1d4a6b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sos/report/plugins/selinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
#
# See the LICENSE file in the source distribution for further information.

from sos.report.plugins import Plugin, RedHatPlugin, PluginOpt
from sos.report.plugins import Plugin, RedHatPlugin, UbuntuPlugin, PluginOpt


class SELinux(Plugin, RedHatPlugin):
class SELinux(Plugin, RedHatPlugin, UbuntuPlugin):

short_desc = 'SELinux access control'

Expand All @@ -20,7 +20,7 @@ class SELinux(Plugin, RedHatPlugin):
PluginOpt('fixfiles', default=False,
desc='collect incorrect file context labels')
]
packages = ('libselinux',)
packages = ('libselinux', 'selinux-utils')

def setup(self):
self.add_copy_spec([
Expand Down

0 comments on commit 1d4a6b1

Please sign in to comment.