From 27f61a6c698db9a6cf93a71330d0febaf298eecbed4bcba17e10f90946c5dd5e Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Sun, 5 Dec 2010 22:06:57 +0000 Subject: [PATCH 1/3] Updating link to change in openSUSE:Factory/bind revision 57.0 OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=4a76a7e3e1b27542698dd8579df63a8f --- bind.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bind.spec b/bind.spec index 1e4f6f1..a4dc3c5 100644 --- a/bind.spec +++ b/bind.spec @@ -1,5 +1,5 @@ # -# spec file for package bind (Version 9.7.2P2) +# spec file for package bind (Version 9.7.2P3) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -26,7 +26,7 @@ BuildRequires: libcap libcap-devel libmysqlclient-devel libxml2-devel openssl o BuildRequires: krb5-devel Summary: Domain Name System (DNS) Server (named) Version: 9.7.2P3 -Release: 2 +Release: 1 License: BSD3c(or similar) ; MIT License (or similar) Group: Productivity/Networking/DNS/Servers Provides: dns_daemon bind8 bind9 From 4207cef43a7cfdc81dbcf119716d7b81b203ef2ce7a6cd7e6b9513d284f04603 Mon Sep 17 00:00:00 2001 From: Uwe Gansert Date: Thu, 9 Dec 2010 15:33:29 +0000 Subject: [PATCH 2/3] Accepting request 55394 from home:mvyskocil:branches:network OBS-URL: https://build.opensuse.org/request/show/55394 OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=43 --- bind.changes | 5 +++++ bind.spec | 2 ++ named-direct-proc-mount.diff | 14 ++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 named-direct-proc-mount.diff diff --git a/bind.changes b/bind.changes index 8432b35..2ef1fa1 100644 --- a/bind.changes +++ b/bind.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 9 15:21:15 UTC 2010 - mvyskocil@suse.cz + +- fix bnc#656509 - direct mount of /proc in chroot + ------------------------------------------------------------------- Thu Dec 2 17:38:44 CET 2010 - ug@suse.de diff --git a/bind.spec b/bind.spec index a4dc3c5..2777dd5 100644 --- a/bind.spec +++ b/bind.spec @@ -47,6 +47,7 @@ Patch4: perl-path.diff Patch5: tmpfs.patch Patch51: pie_compile.diff Patch52: named-bootconf.diff +Patch54: named-direct-proc-mount.diff Source60: dlz-schema.txt %if %ul_version >= 1 %define VENDOR UL @@ -225,6 +226,7 @@ Authors: %endif %patch52 #%patch53 +%patch54 -p1 # modify settings of some files regarding to OS version and vendor function replaceStrings() { diff --git a/named-direct-proc-mount.diff b/named-direct-proc-mount.diff new file mode 100644 index 0000000..651a56b --- /dev/null +++ b/named-direct-proc-mount.diff @@ -0,0 +1,14 @@ +Index: bind-9.7.2P3/vendor-files/init/named +=================================================================== +--- bind-9.7.2P3.orig/vendor-files/init/named 2010-12-09 16:17:51.000000000 +0100 ++++ bind-9.7.2P3/vendor-files/init/named 2010-12-09 16:19:55.060044775 +0100 +@@ -183,8 +183,7 @@ + # mount /proc for multicore CPUs (bnc#470828) + if [ ! -e "${CHROOT_PREFIX}/proc/meminfo" ]; then + mkdir -p "${CHROOT_PREFIX}/proc" +- mount --bind /proc "${CHROOT_PREFIX}/proc" 2>/dev/null +- mount -o remount,ro,nosuid,nodev ${CHROOT_PREFIX}/proc 2>/dev/null ++ mount -tproc -oro,nosuid,nodev,noexec proc ${CHROOT_PREFIX}/proc 2>/dev/null + fi; + + ########################### From fb1221a33a0ea8bd5edd34129999c28fc19d6a1f777605d510547512b356762d Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 16 Dec 2010 14:32:05 +0000 Subject: [PATCH 3/3] Accepting request 55676 from home:coolo:branches:openSUSE:Factory looks good OBS-URL: https://build.opensuse.org/request/show/55676 OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=44 --- bind.changes | 5 +++++ bind.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/bind.changes b/bind.changes index 2ef1fa1..71c3a6f 100644 --- a/bind.changes +++ b/bind.changes @@ -3,6 +3,11 @@ Thu Dec 9 15:21:15 UTC 2010 - mvyskocil@suse.cz - fix bnc#656509 - direct mount of /proc in chroot +------------------------------------------------------------------- +Tue Dec 7 22:04:48 UTC 2010 - coolo@novell.com + +- prereq init scripts syslog and network + ------------------------------------------------------------------- Thu Dec 2 17:38:44 CET 2010 - ug@suse.de diff --git a/bind.spec b/bind.spec index 2777dd5..d419af3 100644 --- a/bind.spec +++ b/bind.spec @@ -172,6 +172,7 @@ Group: Productivity/Networking/DNS/Utilities Requires: %{name}-chrootenv Provides: dns_daemon PreReq: /usr/sbin/groupadd /usr/sbin/useradd +PreReq: sysvinit(network) sysvinit(syslog) %description lwresd Bind-lwresd provides resolution services to local clients using a