Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 227995 - bind-chroot-admin very broken
Summary: bind-chroot-admin very broken
Alias: None
Product: Fedora
Classification: Fedora
Component: bind
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Adam Tkac
QA Contact: Ben Levenson
: 228276 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2007-02-09 12:57 UTC by Florian La Roche
Modified: 2013-04-30 23:35 UTC (History)
2 users (show)

Fixed In Version: 9.3.4-7.fc7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-02-26 11:38:27 UTC

Attachments (Terms of Use)

Description Florian La Roche 2007-02-09 12:57:04 UTC
Description of problem:

The newest change to bind-chroot-admin is very broken:

[root@knorke /]# BIND_CHROOT_PREFIX=`grep "ROOTDIR" /etc/sysconfig/named |grep \"`
[root@knorke /]# echo $BIND_CHROOT_PREFIX
# ROOTDIR="/some/where" -- will run named in a chroot environment.
[root@knorke /]#                                                             

Why not source the file or at least do a ^ROOTDIR search?


Florian La Roche

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 Adam Tkac 2007-02-09 15:27:24 UTC
Could you please test bind-9.3.4-6.fc7 and send me results? Thanks, Adam

Comment 2 Adam Tkac 2007-02-12 14:32:19 UTC
*** Bug 228276 has been marked as a duplicate of this bug. ***

Comment 3 Florian La Roche 2007-02-12 14:38:32 UTC
This still looks very broken. Nearly the same code is a few lines below in
the function "rootdir()" and that code is sourcing the file to use the data.

This part of bind had so many problems, we should simplify and cleanup the code,
not add more confusion here.

Setting again to assigned, we should clean this up some more.


Florian La Roche

Comment 4 Adam Tkac 2007-02-23 16:32:50 UTC
(In reply to comment #3)
I've built bind-*9.3.4-7.fc7 . I think script is fine there. You could check it
and write comment or close this bug

Regards, Adam

Comment 5 Florian La Roche 2007-02-24 16:47:24 UTC
-7 didn't show up in rawhide, but the code in cvs looks good to me.

Thanks for working on the chroot bits,

Florian La Roche

Note You need to log in before you can comment on or make changes to this bug.