Accepting request 56204 from network
Accepted submit request 56204 from user msmeissn OBS-URL: https://build.opensuse.org/request/show/56204 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bind?expand=0&rev=58
This commit is contained in:
commit
a7cdc4854c
10
bind.changes
10
bind.changes
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@ -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
|
||||
@ -171,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
|
||||
@ -225,6 +227,7 @@ Authors:
|
||||
%endif
|
||||
%patch52
|
||||
#%patch53
|
||||
%patch54 -p1
|
||||
# modify settings of some files regarding to OS version and vendor
|
||||
function replaceStrings()
|
||||
{
|
||||
|
14
named-direct-proc-mount.diff
Normal file
14
named-direct-proc-mount.diff
Normal file
@ -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;
|
||||
|
||||
###########################
|
Loading…
Reference in New Issue
Block a user