Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18290 - Fail in running "emerge /var/db/pkg/net-dns/bind-9.2.2_rc1-r2/bind-9.2.2_rc1-r2.ebuild config" for settting up the $CHROOT dir
Summary: Fail in running "emerge /var/db/pkg/net-dns/bind-9.2.2_rc1-r2/bind-9.2.2_rc1-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
: 18629 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-03-27 08:22 UTC by Carlos Silva
Modified: 2003-04-15 10:46 UTC (History)
2 users (show)

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 Carlos Silva 2003-03-27 08:22:03 UTC
ebuild doesn't initialize the $EXISTS var. So when I 
run "emerge /var/db/pkg/net-dns/bind-9.2.2_rc1-r2/bind-9.2.2_rc1-r2.ebuild 
config" a first time and the $CHROOT dir exists, when you delete the dir and 
run it again the $EXISTS var will be set to "yes" and the script will fail 
without any warnings. A simple $EXISTS="no" in the beginning will solve the 
problem.

Reproducible: Always
Steps to Reproduce:
1. set CHROOT="/chroot/dns" in /etc/conf.d/named
2. mkdir -p /chroot/dns
3. emerge /var/db/pkg/net-dns/bind-9.2.2_rc1-r2/bind-9.2.2_rc1-r2.ebuild config
4. rm -rf /chroot/dns
5. emerge /var/db/pkg/net-dns/bind-9.2.2_rc1-r2/bind-9.2.2_rc1-r2.ebuild config

Actual Results:  
It won't report any error (nor any output whatsoever) and won't configure the 
chroot dir.

Expected Results:  
Configure the /chroot/dns dir tree to suport chrooted bind.

It was a clean gentoo instalation.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-28 18:23:32 UTC
shouldn't it be ebuild .... config anyway instead of emerge .... config?
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-04-15 10:45:24 UTC
good point
fixed in cvs

thx
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-04-15 10:46:13 UTC
*** Bug 18629 has been marked as a duplicate of this bug. ***