Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
src.conf ignored; phantom named
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rotate 13  
View profile  
 More options Mar 2 2012, 5:41 pm
Newsgroups: mailing.freebsd.current
From: rabg...@gmail.com (Rotate 13)
Date: Fri, 2 Mar 2012 17:41:28 -0500
Local: Fri, Mar 2 2012 5:41 pm
Subject: src.conf ignored; phantom named
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    r...@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-curr...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gary Palmer  
View profile  
 More options Mar 2 2012, 6:16 pm
Newsgroups: mailing.freebsd.current
From: gpal...@freebsd.org (Gary Palmer)
Date: Fri, 2 Mar 2012 18:16:45 -0500
Local: Fri, Mar 2 2012 6:16 pm
Subject: Re: src.conf ignored; phantom named

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)

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.
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)

Regards,

Gary
_______________________________________________
freebsd-curr...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dimitry Andric  
View profile  
 More options Mar 2 2012, 6:37 pm
Newsgroups: mailing.freebsd.current
From: d...@FreeBSD.org (Dimitry Andric)
Date: Sat, 03 Mar 2012 00:37:22 +0100
Local: Fri, Mar 2 2012 6:37 pm
Subject: Re: src.conf ignored; phantom named
On 2012-03-02 23:41, Rotate 13 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.

Have you run "make delete-old" and "make delete-old-libs" after
installing world?  You will have to do this the first time, to properly
get rid of all the stuff you disabled using WITHOUT_XXX settings.
_______________________________________________
freebsd-curr...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Cornejo  
View profile  
 More options Mar 2 2012, 6:09 pm
Newsgroups: mailing.freebsd.current
From: d...@dogwood.com (David Cornejo)
Date: Fri, 2 Mar 2012 13:09:35 -1000
Local: Fri, Mar 2 2012 6:09 pm
Subject: Re: src.conf ignored; phantom named

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
_______________________________________________
freebsd-curr...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yuri Pankov  
View profile  
 More options Mar 2 2012, 6:09 pm
Newsgroups: mailing.freebsd.current
From: yuri.pan...@gmail.com (Yuri Pankov)
Date: Sat, 03 Mar 2012 03:09:10 +0400
Local: Fri, Mar 2 2012 6:09 pm
Subject: Re: src.conf ignored; phantom named

src.conf controls what is (not) built. To actually remove the bits
marked as WITHOUT_ from the system, try running `make delete-old` in
/usr/src.
_______________________________________________
freebsd-curr...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rotate 13  
View profile  
 More options Mar 2 2012, 6:48 pm
Newsgroups: mailing.freebsd.current
From: rabg...@gmail.com (Rotate 13)
Date: Fri, 2 Mar 2012 18:48:12 -0500
Local: Fri, Mar 2 2012 6:48 pm
Subject: Re: src.conf ignored; phantom named

On Fri, 02 Mar 2012 18:16:45 -0500, Gary Palmer <gpal...@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).
_______________________________________________
freebsd-curr...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »