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
This commit is contained in:
parent
27f61a6c69
commit
4207cef43a
@ -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
|
||||
|
||||
|
@ -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()
|
||||
{
|
||||
|
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