Bug 23246
Summary: | RFE - support initscripts options, chroot hooks | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Pekka Savola <pekkas> | ||||
Component: | bind | Assignee: | Bernhard Rosenkraenzer <bero> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.1 | CC: | dr, herrold | ||||
Target Milestone: | --- | Keywords: | FutureFeature | ||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Enhancement | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2001-01-04 13:46:23 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Pekka Savola
2001-01-03 20:38:42 UTC
Created attachment 7003 [details]
init.d/named patch to be more options/chroot friendly
Disclaimer: Not really tested. As a matter of coding defensively, PLEASE place options variables as shown inside double quotes, thus: OPTIONS=" -t " ... with the /etc/sysconfig/network-scripts/ifcfg-eth0:1 aliases, omitting the quotes confused the updated initscript in 6.0 or 6.1 for /etc/rc.d/init.d/network ... It would have avoided much pain ... Done in 9.1.0-0.b1.1 The attached patch is quite broken, but a modified form thereof works, thanks. Now that I think about this.. if you want to rndc.conf to reside inside chroot, you probably must pass ROOTDIR to rndc with -c (configuration file) Having rndc.conf residing in the chroot structure is not a good idea. rndc.conf contains secret keys; if someone manages to break into the system over bind, he shouldn't have access to this file. He won't if it's outside the chroot jail. Uhm... btw... is Florence planned to come with bind9 only, or will bind8 still be provided (hopefully as default)? |