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
This commit is contained in:
Dirk Mueller 2018-02-16 14:01:14 +00:00 committed by Git OBS Bridge
parent c27658fca1
commit 709c0c9ee2
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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