From owner-cvs-etc Sat Jul 29 07:56:19 1995 Return-Path: cvs-etc-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id HAA26854 for cvs-etc-outgoing; Sat, 29 Jul 1995 07:56:19 -0700 Received: from server.netcraft.co.uk (server.netcraft.co.uk [194.72.238.2]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id HAA26836 ; Sat, 29 Jul 1995 07:56:03 -0700 Received: (from paul@localhost) by server.netcraft.co.uk (8.6.11/8.6.9) id PAA06293; Sat, 29 Jul 1995 15:55:42 +0100 From: Paul Richards Message-Id: <199507291455.PAA06293@server.netcraft.co.uk> Subject: Re: cvs commit: src/etc inetd.conf To: ache@astral.msk.su (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= aka) Date: Sat, 29 Jul 1995 15:55:41 +0100 (BST) Cc: asami@cs.berkeley.edu, CVS-commiters@freefall.cdrom.com, cvs-etc@freefall.cdrom.com In-Reply-To: from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= aka" at Jul 29, 95 06:23:40 pm Reply-to: paul@freebsd.org X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 2332 Sender: cvs-etc-owner@freebsd.org Precedence: bulk In reply to =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= aka who said > > In message <199507291038.DAA01983@silvia.HIP.Berkeley.EDU> Satoshi > Asami writes: > > > * Modified: etc inetd.conf > > * Log: > > * Rename in.identd -> identd according recent ports rename > > >The identd is in /usr/local/sbin, but shouldn't it be in > >/usr/local/libexec? There is no other "sbin" grep hits in inetd.conf, > >while there are tons of "libexec"s.... > > Really, I don't know. > There is lots of daemons even in _standard_ system sbin. > Rest of world don't know anything about recent libexec BSDsm... If it's only started by inetd it should be in libexec. I recently found out that the daemons in libexec *can't* be run from the command line. I'm not sure I like that lack of functionality. I'm working a lot on virtual domain support and not being able to run individual daemons was a bit annoying. Just some info on what I'm working on. I have a single machine that services several virtual domains, i.e. domains in DNS that point to an aliased ip address on my machine. For each virtual domain I set up a chroot'd environment. My aim is to make this work so well that when you log in to foo.com it looks as though you're on a completely independant machine to bar.com, even though they're both running on the same box. So far, I've got a hacked libc that looks up the hostname from /etc/hostname, rather than from the kernel, a new inetd that does a gethostname, gethostbyname and then binds to that specific ip address and a new sendmail that does the same. Next on the list is syslogd. Seems to work well, I can telnet and ftp into the virtual domain and work normally in the chrooted env and sendmail to the virtual domain goes to a sendmail daemon specifically for that domain which is a hell of a lot easier than writing sendmail configs to handle mail for lots of domains. All the new functionality is enabled by command-line options so they work as before by default, except the change to libc of course. When I get it all done I'll probably commit the changes with an #ifdef VIRTUAL_HOSTS or something. -- Paul Richards, Bluebird Computer Systems. FreeBSD core team member. Internet: paul@FreeBSD.org, http://www.freebsd.org/~paul Phone: 0370 462071 (Mobile), +44 1222 457651 (home)