Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 1995 15:55:41 +0100 (BST)
From:      Paul Richards <paul@netcraft.co.uk>
To:        ache@astral.msk.su (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= aka)
Cc:        asami@cs.berkeley.edu, CVS-commiters@freefall.cdrom.com, cvs-etc@freefall.cdrom.com
Subject:   Re: cvs commit: src/etc inetd.conf
Message-ID:  <199507291455.PAA06293@server.netcraft.co.uk>
In-Reply-To: <zDiHa6mGT1@astral.msk.su> 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

next in thread | previous in thread | raw e-mail | index | archive | help
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)



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