Why does systemd-pstsore fails to start due to avc denial?

Solution Verified - Updated -

Issue

  • Why does systemd-pstsore fails to start due to avc denial?
# sealert -l 60dbbfb0-1d2f-4a65-b4e8-0526f08c66c8
SELinux is preventing /usr/lib/systemd/systemd-pstore from read access on the file dmesg-efi-167966589514001.

Raw Audit Messages
type=AVC msg=audit(1679666060.853:130): avc:  denied  { read } for  pid=1410 comm="systemd-pstore" name="dmesg-efi-167966589514001" dev="pstore" ino=1248 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:pstore_t:s0 tclass=file permissive=0

Environment

  • Red Hat Enterprise Linux 8.
  • Red Hat Enterprise Linux 9.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content