Skip to content

/scanning/audit-rules-syscalls-grouping should run in a VM #673

Description

@comps

The test does potentially destructive operations to the OS, via augenrules --load, touching the kernel audit subsystem. Even though we backup/restore the audit rules, if something fails (the load after restore seems to fail on CentOS Stream), the OS is damaged for any subsequent tests.

Further, touching kernel auditing subsystem is not really compatible with containers, it talks directly to the un-namespaced kernel.

For the same reasons as #658 and #657, the test should just use a VM -- a generic snapshotted VM is fine (reused from other tests), so the test is still fast, but safe and compatible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions