Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 172703 Details for
Bug 247979
net-dns/bind-9.4.2_p2: emerge --config doesn't set chroot properly
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch against bind-9.4.2_p2.ebuild
proposed_patch.diff (text/plain), 947 bytes, created by
Walter
on 2008-11-21 15:51:34 UTC
(
hide
)
Description:
Proposed patch against bind-9.4.2_p2.ebuild
Filename:
MIME Type:
Creator:
Walter
Created:
2008-11-21 15:51:34 UTC
Size:
947 bytes
patch
obsolete
>--- /usr/portage/net-dns/bind/bind-9.4.2_p2.ebuild 2008-11-05 01:08:26.000000000 +0100 >+++ /usr/portage/local/net-dns/bind/bind-9.4.2_p2-r2.ebuild 2008-11-21 15:34:45.000000000 +0100 >@@ -266,8 +266,20 @@ > cp -R /var/bind ${CHROOT}/var/ > chown -R named:named ${CHROOT}/var/ > mknod ${CHROOT}/dev/zero c 1 5 >- mknod ${CHROOT}/dev/random c 1 8 >- chmod 666 ${CHROOT}/dev/{random,zero} >+ chmod 666 ${CHROOT}/dev/zero >+ if use urandom; then >+ mknod ${CHROOT}/dev/urandom c 1 9 >+ chmod 666 ${CHROOT}/dev/urandom >+ else >+ 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 > chown root:named ${CHROOT} > chmod 0750 ${CHROOT} >
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 247979
: 172703