dryang / rpms / systemd

Forked from rpms/systemd a year ago
Clone
803fb7
From 3b2d089812cb540456f3b93aa5e3a95df6a66778 Mon Sep 17 00:00:00 2001
803fb7
From: Lukas Nykryn <lnykryn@redhat.com>
803fb7
Date: Tue, 22 Sep 2015 12:28:28 +0200
803fb7
Subject: [PATCH] udev-rules: prandom character device node permissions
803fb7
803fb7
rhel-only
803fb7
Resolves: #1264112
803fb7
---
803fb7
 rules/40-redhat.rules | 3 +++
803fb7
 1 file changed, 3 insertions(+)
803fb7
803fb7
diff --git a/rules/40-redhat.rules b/rules/40-redhat.rules
803fb7
index 305e75228..9a48adde1 100644
803fb7
--- a/rules/40-redhat.rules
803fb7
+++ b/rules/40-redhat.rules
803fb7
@@ -11,3 +11,6 @@ ACTION=="add", SUBSYSTEM=="module", KERNEL=="bridge", RUN+="/usr/lib/systemd/sys
803fb7
 
803fb7
 # load SCSI generic (sg) driver
803fb7
 SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST!="[module/sg]", RUN+="/sbin/modprobe -bv sg"
803fb7
+
803fb7
+# Rule for prandom character device node permissions
803fb7
+KERNEL=="prandom", MODE="0644"