SELinux is preventing rngd from accessing /dev/ttyUSB0

Solution Unverified - Updated -

Issue

  • SELinux is preventing rngd from accessing /dev/ttyUSB0
  • SELinux forbids rngd to read hardware random generator
  • After update to RHEL 7.4, rngd is unable to access /dev/ttyUSB0

Environment

RHEL 7.4
rng-tools-5-11.el7
selinux-policy-3.13.1-166.el7_4.4

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