[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BIND9 library reference?



Yikes, no. That was actually not the original point.

The point is that the line:

/usr/ports/net/bind9/w-bind-9.2.1p1/bind-9.2.1/lib/isc/unix/errno2result.c:107: unexpected error:

   seems to show that the libs are not linked in a place other than ./ports/. tree locations.

In my opinion this is wrong, and would break if the 'ports' tree was
NFS mounted on a source server in a facility, and then un-mounted
later....

Randy

Okan Demirmen wrote:
> 
> ATTR:Randy Lewis (Kenneth R. Lewis) (randy@rtmx.net) wrote concerning Re: BIND9 library reference?, on [02.11.05 11:49]:
> > Okan,
> >
> > Yes, I realize about the conf generator.
> >
> > I suppose, to be more clear about this, what I was trying to
> > point out is that the possible misconfiguration is ONLY revealed
> > under the exact circumstance I created. That is, a configuration
> > error causes some code to be run that REVEALS the
> > curious configuration issue...
> >
> > If I had done the FULLY EXPECTED steps, then this curiosity
> > would have never been observed. Wouldn't you agree?
> >
> > Randy
> >
> 
> Agreed.
> 
> I suppose looking at the port/package so the "bind9-enable" script does
> a bit more might be a good idea, which was your original point ;)
> 
> Okan
> 
> >
> > Okan Demirmen wrote:
> > >
> > > ATTR:Randy Lewis (Kenneth R. Lewis) (randy@rtmx.net) wrote concerning BIND9 library reference?, on [02.11.05 11:11]:
> > > > Hello Jakob, others...
> > > >
> > > > Whilest testing bind9 for our IPS Systems upgrade, I saw something
> > > > in an error message that leads me to believe that the bind9 port
> > > > is not fully configured to install away from the 'ports tree'
> > > > -----   sample from /var/log/messages  ---------
> > > >
> > > > srv3-meb# Nov  5 14:47:14 srv3-meb named[10034]: starting BIND 9.2.1 -t /var/named -u named
> > > > Nov  5 14:47:15 srv3-meb named[10034]: none:0: open: /etc/rndc.key: file not found
> > > > Nov  5 14:47:15 srv3-meb named[10034]: none:0: open: /etc/rndc.key: file not found
> > > > Nov  5 14:47:15 srv3-meb named[10034]: couldn't add command channel 127.0.0.1#953: file not found
> > > > Nov  5 14:47:15 srv3-meb named[10034]: none:0: open: /etc/rndc.key: file not found
> > > > Nov  5 14:47:15 srv3-meb named[10034]: couldn't add command channel ::1#953: file not found
> > > > Nov  5 14:47:15 srv3-meb named[10034]: none:0: open: /etc/rndc.key: file not found
> > >
> > > obvious about the missing file, try rndc-confgen(8)
> > >
> > > > Nov  5 14:47:15 srv3-meb named[10034]: /usr/ports/net/bind9/w-bind-9.2.1p1/bind-9.2.1/lib/isc/unix/errno2result.c:107: unexpected
> > > > error:
> > > > Nov  5 14:47:15 srv3-meb named[10034]: /usr/ports/net/bind9/w-bind-9.2.1p1/bind-9.2.1/lib/isc/unix/errno2result.c:107: unexpected
> > > > error:
> > > > Nov  5 14:47:15 srv3-meb named[10034]: unable to convert errno to isc_result: 6: Device not configured
> > > > Nov  5 14:47:15 srv3-meb named[10034]: unable to convert errno to isc_result: 6: Device not configured
> > > >
> > >
> > > 3.2 defaults to mounting /var nodev
> > >
> > > > srv3-meb# ps -ax |grep name
> > > > 10034 ??  Is      0:00.03 named -t /var/named -u named
> > > > ---------------------------------------- end of sample -------------------------------------------
> > > > Amoung other things, the "/usr/ports/net/bind9/w-bind-9.2.1p1/bind-9.2.1/lib/isc/unix/errno2result.c:107" line
> > > > seems to indicate that the lib linkages are using the wrong path?
> > > >
> > > > Understand that "I understand" it is, in fact, running...but I question the
> > > > configuration.
> > > >
> > > > Is this intended, or in need of some tweaks?
> > > > --
> > > > Randy Lewis, RTMX.NET
> > > > ----
> > > > http://rtmx.net
> > > > ----
> > > > 919 644 6456 (Hillsborough NOC)
> > > > 919 644 7869 (Hillsborough Engineering/Sales)
> > > > 919 259 7869 (Chapel Hill)
> > > > 919 328 7869 (Durham)
> > > > 336 303 7869 (Greensboro)
> > > > 919 227 7869 (Raleigh)
> > > > 910 744 7869 (Wilmington)
> > > > 336 531 7869 (Winston-Salem)
> >
> > --
> > Randy Lewis, RTMX.NET
> > ----
> > http://rtmx.net
> > ----
> > 919 644 6456 (Hillsborough NOC)
> > 919 644 7869 (Hillsborough Engineering/Sales)
> > 919 259 7869 (Chapel Hill)
> > 919 328 7869 (Durham)
> > 336 303 7869 (Greensboro)
> > 919 227 7869 (Raleigh)
> > 910 744 7869 (Wilmington)
> > 336 531 7869 (Winston-Salem)

-- 
Randy Lewis, RTMX.NET
----
http://rtmx.net
----
919 644 6456 (Hillsborough NOC)
919 644 7869 (Hillsborough Engineering/Sales)
919 259 7869 (Chapel Hill)
919 328 7869 (Durham)
336 303 7869 (Greensboro)
919 227 7869 (Raleigh)
910 744 7869 (Wilmington)
336 531 7869 (Winston-Salem)