Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114770 - net-dns/bind new install missing named.conf
Summary: net-dns/bind new install missing named.conf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
: 117569 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-07 09:16 UTC by edacval
Modified: 2006-01-03 04:06 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 edacval 2005-12-07 09:16:48 UTC
error (maybe typos) in /usr/portage/net-dns/bind/bind-9.2.5-r6.ebuild :

line 159 : "insinto /etc/bind ; newins ${FILESDIR}/named.conf-r2 named.conf"

file ${FILESDIR}/named.conf-r2 not exist!!!

correct line:  "insinto /etc/bind ; newins ${FILESDIR}/named.conf-r3 named.conf"




Reproducible: Always
Steps to Reproduce:
1.emerge --sync
2.emerge -avC bind
3.emerge -avn --noconfmem bind

Actual Results:  
 /etc/init.d/named start
 * Caching service dependencies ...                                            
                                                           [ ok ]
 * Starting named ...
 * No /etc/bind/named.conf file exists!
grep: /etc/bind/named.conf: No such file or directory 

missing named.conf in /etc/bind :(

Expected Results:  
run as expected:)

attaching diff:

--- /usr/portage/net-dns/bind/bind-9.2.5-r6.ebuild 2005-12-07 19:05:14.000000000
+0200
+++ ~/bind-9.2.5-r6.ebuild       2005-12-07 19:06:20.000000000 +0200
@@ -156,7 +156,7 @@
       dodir /etc/bind /var/bind/{pri,sec}
       keepdir /var/bind/sec

-       insinto /etc/bind ; newins ${FILESDIR}/named.conf-r2 named.conf
+       insinto /etc/bind ; newins ${FILESDIR}/named.conf-r3 named.conf
       # ftp://ftp.rs.internic.net/domain/named.ca:
       insinto /var/bind ; doins ${FILESDIR}/named.ca
       insinto /var/bind/pri ; doins ${FILESDIR}/{127,localhost}.zone
Comment 1 edacval 2005-12-07 09:28:19 UTC
(In reply to comment #0)
> error (maybe typos) in /usr/portage/net-dns/bind/bind-9.2.5-r6.ebuild :
> 
> line 159 : "insinto /etc/bind ; newins ${FILESDIR}/named.conf-r2 named.conf"
> 
> file ${FILESDIR}/named.conf-r2 not exist!!!
> 
> correct line:  "insinto /etc/bind ; newins ${FILESDIR}/named.conf-r3 named.conf"
> 
> 
> 
> 
> Reproducible: Always
> Steps to Reproduce:
> 1.emerge --sync
> 2.emerge -avC bind
> 3.emerge -avn --noconfmem bind
> 
> Actual Results:  
>  /etc/init.d/named start
>  * Caching service dependencies ...                                            
>                                                            [ ok ]
>  * Starting named ...
>  * No /etc/bind/named.conf file exists!
> grep: /etc/bind/named.conf: No such file or directory 
> 
> missing named.conf in /etc/bind :(
> 
> Expected Results:  
> run as expected:)
> 
> attaching diff:
> 
> --- /usr/portage/net-dns/bind/bind-9.2.5-r6.ebuild 2005-12-07 19:05:14.000000000
> +0200
> +++ ~/bind-9.2.5-r6.ebuild       2005-12-07 19:06:20.000000000 +0200
> @@ -156,7 +156,7 @@
>        dodir /etc/bind /var/bind/{pri,sec}
>        keepdir /var/bind/sec
> 
> -       insinto /etc/bind ; newins ${FILESDIR}/named.conf-r2 named.conf
> +       insinto /etc/bind ; newins ${FILESDIR}/named.conf-r3 named.conf
>        # ftp://ftp.rs.internic.net/domain/named.ca:
>        insinto /var/bind ; doins ${FILESDIR}/named.ca
>        insinto /var/bind/pri ; doins ${FILESDIR}/{127,localhost}.zone

workaround:
su -
cd /etc/bind
cp /usr/portage/net-dns/bind/files/named.conf-r3 named.conf
chown named:root named.conf
chmod 0600 named.conf
/etc/init.d/named restart
Comment 2 Matthias Egger 2005-12-25 06:15:27 UTC
> workaround:
> su -
> cd /etc/bind
> cp /usr/portage/net-dns/bind/files/named.conf-r3 named.conf
> chown named:root named.conf
> chmod 0600 named.conf
> /etc/init.d/named restart

Thanks for the workaround.

Can somebody tell me why 3 Weeks later nobody corrected the Problem? As far as i can see there has just to be changed one number in the ebuild.
Comment 3 Matthias Egger 2005-12-27 13:54:00 UTC
> Can somebody tell me why 3 Weeks later nobody corrected the Problem? As far as
> i can see there has just to be changed one number in the ebuild.
> 

Well, as told me i watched devaway and saw there, that voxus is on holiday from Dec. 8 2005 until Jan. 1 2006. I think that's the reason ;-)


Comment 4 Konstantin Arkhipov (RETIRED) gentoo-dev 2006-01-02 09:54:02 UTC
named.conf-r2 restored in portage.
sorry guys.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-01-03 04:06:13 UTC
*** Bug 117569 has been marked as a duplicate of this bug. ***