anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0249-udev-rules-prandom-character-device-node-permissions.patch

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