*BSD News Article 59769


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.hawaii.edu!ames!hookup!gatech!newsfeed.internetmci.com!swrinde!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: where do daemons go?
Date: 16 Jan 1996 10:58:15 GMT
Organization: Private BSD site, Dresden
Lines: 23
Message-ID: <4dg0c7$gtb@uriah.heep.sax.de>
References: <4cq4j5$flf@gol2.gol.com> <4cr51d$pl@uriah.heep.sax.de> <ufwx6xb0fo.fsf@cumulus.sky.bln.sub.org>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

martini@heaven7.snafu.de (Martin Ibert) writes:

> : Btw., don't place binaries into /etc.  Better put it into
> : /usr/local/sbin.  (RTFM hier(7))
> 
> Um, I don't think that hier(7) suggests /usr/local/sbin. I would much
> rather install local daemon binaries into /usr/local/libexec.

That's a question of whether the programs are runnable manually (like
sendmail), so they belong into .../sbin.  If they are only (or mostly
-- you see, it's not 1000 % clear) runnable by programs (e.g. by
inetd), they rather belong into .../libexec.

There's often no clear decision.  /usr/libexec/uucico could be started
manually to test a UUCP connection, and /usr/sbin/sliplogin is almost
always run by login(1), just to name two. :)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)