sbd cannot trigger kdump with "error: sysrq_trigger: Opening sysrq-trigger failed.: Permission denied (13)"

Solution Unverified - Updated -

Issue

  • sbd cannot trigger kdump with the following messages.

    sbd[8295]: /dev/mapper/mpatha1:    error: sysrq_trigger: Opening sysrq-trigger failed.: Permission denied (13)
    
    type=AVC msg=audit(1568700482.050:2720): avc:  denied  { append } for  pid=8295 comm="sbd" name="sysrq-trigger" dev="proc" ino=4026532099 scontext=system_u:system_r:sbd_t:s0 tcontext=system_u:object_r:sysctl_t:s0 tclass=file permissive=0
    type=SYSCALL msg=audit(1568700482.050:2720): arch=c000003e syscall=257 success=no exit=-13 a0=ffffff9c a1=55e2ce20a7ad a2=441 a3=1b6 items=0 ppid=1 pid=8295 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sbd" exe="/usr/sbin/sbd" 
    

Environment

  • Red Hat Enterprise Linux 8
  • sbd
  • SELinux: enforcing mode with targeted policy

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In