Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lvm): Add --nolocking to LVM commands #102

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

paraenggu
Copy link
Member

Adding --nolocking to the LVM commands to prevent SELinux denies on newer CentOS systems

type=AVC msg=audit(1704540662.912:347107): avc:  denied  { write } for  pid=504392 comm="pvs" name="D_system.devices" dev="tmpfs" ino=19738 scontext=system_u:system_r:zabbix_agent_t:s0 tcontext=system_u:object_r:lvm_lock_t:s0 tclass=file permissive=0

Adding --nolocking to the LVM commands prevents SELinux denies on newer CentOS systems

type=AVC msg=audit(1704540662.912:347107): avc:  denied  { write } for  pid=504392 comm="pvs" name="D_system.devices" dev="tmpfs" ino=19738 scontext=system_u:system_r:zabbix_agent_t:s0 tcontext=system_u:object_r:lvm_lock_t:s0 tclass=file permissive=0
@hairmare
Copy link
Member

hairmare commented Jan 6, 2024

What are "newer CentOS systems" in this context?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants