Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2012 18:48:12 -0500
From:      Rotate 13 <rabgvzr@gmail.com>
To:        freebsd-current@freebsd.org
Cc:        Gary Palmer <gpalmer@freebsd.org>
Subject:   Re: src.conf ignored; phantom named
Message-ID:  <CADBSp1dDfeJwmbDVSiQQYBzATAdDGOW5FQzKwWFX8aTsPnhMGg@mail.gmail.com>
In-Reply-To: <20120302231645.GA65949@in-addr.com>
References:  <CADBSp1fwsbx96wZ1B7MXtNbkY1V78ASCRxqgx3iVJVOFscbmVw@mail.gmail.com> <20120302231645.GA65949@in-addr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 02 Mar 2012 18:16:45 -0500, Gary Palmer <gpalmer@freebsd.org> wrote:

> Does the datestamp on /usr/sbin/named reflect when you built the world
> or could named have been left over from a previous install?
>
> WITHOUT_BIND="yes" doesn't delete named if its already installed (not
> sure
> if 'make delete-old' cleans it up or not)

"stat /usr/sbin/named" leaves me in shame - yes, it is left over from
a previous buildworld.  (Thanks also to others, whose suggestion of
same problem just came in from where I sit.)  On to next problem...

> As for named running, if you do
>
> sh /etc/rc.d/named restart
>
> does it succeed?  If so, the 'named_enable="no"' flag must be set wrong.

"sh /etc/rc.d/named restart" gives exactly what you would expect
("Cannot `restart` named. Set named_enable to YES...").

> Also check to make sure that its not named from ports or some other
> location (e.g. check fstat or lsof or something to make sure its actually
> /usr/sbin/named and not from some other location)

"fstat | grep /named" returns nothing (!), likewise "fstat | grep
/sbin".  However:

# procstat -b `pgrep named`
  PID COMM             PATH
63121 named            /usr/sbin/named
63090 named            /usr/sbin/named

(I also never used ports BIND.)

I would really like to figure this out before I do the necessary work
to remove unwanted BIND from the system.  Processes running without
apparent reason, indicates something else is wrong.

Thanks for the help so far.  I am continuing to poke the system, just
looking for the right tool to find out how this got started (also
grepping logs which show start but don't seem to show why).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADBSp1dDfeJwmbDVSiQQYBzATAdDGOW5FQzKwWFX8aTsPnhMGg>