Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 195947 Details for
Bug 275684
net-dns/bind chroot improvement suggestion
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bind.patch
bind.patch (text/plain), 1.67 KB, created by
Christian Ruppert (idl0r)
on 2009-06-28 13:07:05 UTC
(
hide
)
Description:
bind.patch
Filename:
MIME Type:
Creator:
Christian Ruppert (idl0r)
Created:
2009-06-28 13:07:05 UTC
Size:
1.67 KB
patch
obsolete
>--- /usr/portage/net-dns/bind/bind-9.4.3_p2.ebuild 2009-04-15 22:07:33.000000000 +0200 >+++ bind-9.4.3_p2.ebuild 2009-06-28 15:01:03.000000000 +0200 >@@ -180,9 +180,9 @@ src_install() { > newinitd "${FILESDIR}"/named.init-r5 named > newconfd "${FILESDIR}"/named.confd-r2 named > >- dosym ../../var/bind/named.ca /var/bind/root.cache >- dosym ../../var/bind/pri /etc/bind/pri >- dosym ../../var/bind/sec /etc/bind/sec >+ dosym /var/bind/named.ca /var/bind/root.cache >+ dosym /var/bind/pri /etc/bind/pri >+ dosym /var/bind/sec /etc/bind/sec > > # Let's get rid of those tools and their manpages since they're provided by bind-tools > rm -f "${D}"/usr/share/man/man1/{dig.1,host.1,nslookup.1,nsupdate.1} >@@ -253,12 +253,9 @@ pkg_config() { > if [ ! "$EXISTS" = yes ]; then > einfo ; einfon "Setting up the chroot directory..." > mkdir -m 700 -p ${CHROOT} >- mkdir -p ${CHROOT}/{dev,etc,var/run/named} >- chown -R named:named ${CHROOT}/var/run/named >- cp -R /etc/bind ${CHROOT}/etc/ >+ mkdir -p ${CHROOT}/{dev,etc,var/{run,log}/named} >+ chown -R named:named ${CHROOT}/var/{run,log}/named > cp /etc/localtime ${CHROOT}/etc/localtime >- chown named:named ${CHROOT}/etc/bind/rndc.key >- cp -R /var/bind ${CHROOT}/var/ > chown -R named:named ${CHROOT}/var/ > mknod ${CHROOT}/dev/zero c 1 5 > chmod 666 ${CHROOT}/dev/zero >@@ -269,9 +266,7 @@ pkg_config() { > mknod ${CHROOT}/dev/random c 1 8 > chmod 666 ${CHROOT}/dev/random > fi >- echo "none ${CHROOT}/proc proc defaults 0 0" >>/etc/fstab > mkdir ${CHROOT}/proc >- mount -t proc none ${CHROOT}/proc > if [ -f '/etc/syslog-ng/syslog-ng.conf' ]; then > echo "source jail { unix-stream(\"${CHROOT}/dev/log\"); };" >>/etc/syslog-ng/syslog-ng.conf > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 275684
: 195947 |
195948