]> git.pld-linux.org Git - packages/unbound.git/commitdiff
disable chroot in the default config
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 25 Apr 2014 09:08:21 +0000 (11:08 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 25 Apr 2014 09:23:14 +0000 (11:23 +0200)
With chroot enabled (the default):
– the auto trust anchor file /var/lib/unbound/root.key is not available
– unbound has no access to /dev/random for entropy source

I don't think those problems can be solved in an elegant way and don't
think there is a big risk running this without a chroot.

chroot can always be enabled in a custom configuration

unbound.spec

index 724c56cc01295bb8589e17f0f4f52a1469acdebd..df4bd9b125d1ecacf37ca58b7bd60aad163d16e7 100644 (file)
@@ -117,6 +117,7 @@ Pythonowy interfejs do biblioteki unbound.
 %configure \
        %{?with_python:--with-pyunbound} \
        --with-pidfile=/run/%{name}.pid \
+       --with-chroot-dir="" \
        --with-conf-file=%{_sysconfdir}/%{name}/%{name}.conf \
        --with-rootkey-file=/var/lib/%{name}/root.key \
        --with-rootcert-file=%{_sysconfdir}/%{name}/icannbundle.pem
This page took 0.114292 seconds and 4 git commands to generate.