Hello community, here is the log from the commit of package opensuse-bind-image for openSUSE:Factory checked in at 2020-03-21 00:00:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opensuse-bind-image (Old) and /work/SRC/openSUSE:Factory/.opensuse-bind-image.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opensuse-bind-image" Sat Mar 21 00:00:01 2020 rev:3 rq:786960 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/opensuse-bind-image/opensuse-bind-image.changes 2019-12-19 11:53:14.807809237 +0100 +++ /work/SRC/openSUSE:Factory/.opensuse-bind-image.new.3160/opensuse-bind-image.changes 2020-03-21 00:03:17.405161455 +0100 @@ -1,0 +2,6 @@ +Fri Mar 20 14:43:53 UTC 2020 - Thorsten Kukuk <ku...@suse.com> + +- Create and handle rndc.key in entrypoint script +- Drop config.sh, fixed in busybox container + +------------------------------------------------------------------- Old: ---- config.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ root.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/usr/local/bin/entrypoint.sh new/usr/local/bin/entrypoint.sh --- old/usr/local/bin/entrypoint.sh 2019-10-23 13:22:36.441788448 +0200 +++ new/usr/local/bin/entrypoint.sh 2020-03-20 17:27:16.349756444 +0100 @@ -10,15 +10,19 @@ # populate default bind configuration if it does not exist if [ ! -d ${DATA_DIR}/etc ]; then - mkdir ${DATA_DIR}/etc + mkdir -p ${DATA_DIR}/etc + chmod 0750 ${DATA_DIR}/etc mv /etc/named.conf ${DATA_DIR}/etc/ sed -i -e 's|include "/etc/named.conf.include";|#include "/etc/named.conf.include";|g' ${DATA_DIR}/etc/named.conf mv /etc/named.d ${DATA_DIR}/etc/ + /usr/sbin/rndc-confgen -a -b 512 -c ${DATA_DIR}/etc/rndc.key + chmod 0640 ${DATA_DIR}/etc/rndc.key + chown root:named ${DATA_DIR}/etc/rndc.key fi - rm -rf /etc/named.conf /etc/named.d + rm -rf /etc/rndc.key /etc/named.conf /etc/named.d ln -sf ${DATA_DIR}/etc/named.conf /etc/named.conf ln -sf ${DATA_DIR}/etc/named.d /etc/named.d - chmod -R 0750 ${DATA_DIR}/etc + ln -sf ${DATA_DIR}/etc/rndc.key /etc/rndc.key chown -R ${BIND_USER}:${BIND_USER} ${DATA_DIR}/etc if [ ! -d ${DATA_DIR}/lib ]; then