Subject: re: CVS commit: basesrc
To: Johan Danielsson <joda@pdc.kth.se>
From: matthew green <mrg@eterna.com.au>
List: source-changes
Date: 08/08/2000 17:39:09
   
   > Jason R Thorpe <thorpej@netbsd.org> writes:
   > 
   > > The Kerberos KDC belongs in /usr/sbin, not in /usr/libexec.
   > 
   > Please explain why?
   
   Ok, this seem to have some support in hier(7), but doesn't this just
   prove that hier is pretty busted? To me it looks like thought out
   ideas on where to put stuff, mixed with random historical trivia.

nope, it doesn't.
   
   Why should inetd live in sbin, but telnetd in libexec? Why is inetd
   more likely to be `executed by the super-user' than telnetd?

because:

	- i can run "inetd" as the super user and it does something useful.

	- i can't run telnetd as the super user and have it do something
	useful, i really need to have it run *from* inetd.  if you look at
	all the programs in libexec, you'll see that you never have a reason
	to invoke *any* of them by hand.  but if, eg, i want to restart inetd,
	i just do that.  if i want to restart telnetd, i copy the new one to
	/usr/libexec/telnetd and run telnet(1), leaving inetd to spawn the
	server for me.


i haven't really looked closely at this issue, but jason appears to have
done what i'd call the right thing here.