From 709c0c9ee2f614828fcf67be4b5718a72508102d0f930c0e4da95e22546a9f88 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 16 Feb 2018 14:01:14 +0000 Subject: [PATCH] Accepting request 577255 from home:bmwiedemann:branches:network Add /dev/urandom to chroot env note: it is not world writable to make our rpmlint security checker happy - and it is not required anyway without this, named start shows warnings in journal: Feb 16 13:28:35 testleap named[1514]: could not open entropy source /dev/urandom: file not found Feb 16 13:28:35 testleap named[1514]: using pre-chroot entropy source /dev/urandom OBS-URL: https://build.opensuse.org/request/show/577255 OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=232 --- bind.changes | 5 +++++ bind.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/bind.changes b/bind.changes index c192bb1..6846bba 100644 --- a/bind.changes +++ b/bind.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 16 12:59:41 UTC 2018 - bwiedemann@suse.com + +- Add /dev/urandom to chroot env + ------------------------------------------------------------------- Wed Feb 7 15:17:17 UTC 2018 - navin.kukreja@suse.com diff --git a/bind.spec b/bind.spec index 1aa574c..4fc6e23 100644 --- a/bind.spec +++ b/bind.spec @@ -767,6 +767,7 @@ fi %ghost %{_var}/lib/named/dev/log %attr(0666, root, root) %dev(c, 1, 3) %{_var}/lib/named/dev/null %attr(0666, root, root) %dev(c, 1, 8) %{_var}/lib/named/dev/random +%attr(0664, root, root) %dev(c, 1, 9) %{_var}/lib/named/dev/urandom %{_var}/lib/named%{_localstatedir}/lib/named %{_var}/lib/named%{_localstatedir}/log %{_fillupdir}/sysconfig.named-common