Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43313 - bind chroot config orphans /etc/bind/* config files
Summary: bind chroot config orphans /etc/bind/* config files
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Stewart (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-29 13:17 UTC by Zeek
Modified: 2004-03-01 10:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zeek 2004-02-29 13:17:08 UTC
Running the ebuild config to setup a chroot for bind leaves unused files in /etc (dups of what is copied into /chroot/dns/etc/bind)

mother bind # diff -ru /etc/bind /chroot/dns/etc/bind/
mother bind #

Is there a reason for this?  As is, you have a real set of config files, and a in the usual place but not used config files waiting to confuse someone.

Why not have /etc/bind symlinked to /chroot/dns/etc/bind?
Comment 1 Stewart (RETIRED) gentoo-dev 2004-03-01 10:56:12 UTC
I don't feel it's either safe or practical to remove any config files in an ebuild. Since files in /etc/ are protected by CONFIG_PROTECT anyways, they become the responsibility of the system administrator.

Moreover, if an administrator is chroot()'ing their BIND installation, it is assumed that they are adequately prepared to deal with "orphaned" config files.