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 <[email protected]>
Signed-off-by: Adam Vest <[email protected]>
  • Loading branch information
arif-ali committed Aug 17, 2023
1 parent d71e6b5 commit 18a219c
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 18a219c

Please sign in to comment.