Re: src.conf ignored; phantom named

From: David Cornejo <dave_at_dogwood.com>
Date: Fri, 2 Mar 2012 13:09:35 -1000
On Fri, Mar 2, 2012 at 12:41 PM, Rotate 13 <rabgvzr_at_gmail.com> wrote:
> I set WITHOUT_BIND="yes" in /etc/src.conf, and built/installed world.
> Not only does /usr/sbin/named exist - named is actually started!
> Several other WITHOUT_* variables also were apparently ignored, as
> evidenced by stuff installed on running system.
>
> My main question is - how do I debug this?  I have been combing over
> makefiles under /usr/src (not to mention, going through /etc/rc.d/
> trying to figure out what actually started named).  As far as I
> ascertain, _WITHOUT_SRCCONF is *not* set anywhere for world building;
> named_enable="no" in relevant rc.conf files; rpcbind and ntpd are not
> running either.  Since named daemonized, it's not easy to tell who
> started it - and grepping everything in sight, I can't figure out how
> it got built in the first place.
>
> uname -a:
> FreeBSD xyz.example.com 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Thu Feb 29
> 10:28:17 CST 2012    root_at_xyz.example.com:/usr/obj/usr/src/sys/CUSTOM
> amd64
>
> I focused substantial attention on /usr/src/share/bsd.own.mk and
> worked outward; but did not find anything obvious.
>
> Advice on where to poke for the right information, much appreciated.
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

check the timestamp on /usr/sbin/named, I bet it's old as make world
doesn't delete old stuff.

I think "make delete-old" in /usr/src might do that for you.

dave c
Received on Fri Mar 02 2012 - 22:38:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC