From owner-freebsd-questions Wed Apr 4 10: 1:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cgmd76206.chello.nl (d9168.upc-d.chello.nl [213.46.9.168]) by hub.freebsd.org (Postfix) with ESMTP id 4778837B720 for ; Wed, 4 Apr 2001 10:01:28 -0700 (PDT) (envelope-from edwin@cgmd76206.chello.nl) Received: by cgmd76206.chello.nl (Postfix, from userid 1001) id C5ABE24A; Wed, 4 Apr 2001 19:01:26 +0200 (CEST) Date: Wed, 4 Apr 2001 19:01:26 +0200 From: Edwin Groothuis To: kam@salsolutions.net Cc: freebsd-questions@freebsd.org Subject: Re: Does it matter? Message-ID: <20010404190126.X490@cgmd76206.chello.nl> Mail-Followup-To: Edwin Groothuis , kam@salsolutions.net, freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from netalchemist@hotmail.com on Wed, Apr 04, 2001 at 04:31:54PM -0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 04, 2001 at 04:31:54PM -0000, Kam Salisbury wrote: > I noticed that Samba (smbd and nmbd) are not being managed by inetd. Is this > a problem? Does it matter that they start and move to the background (daemon > process) via /usr/local/etc/rc.d shell script? Sometimes processes should be started via inetd (telnetd for example, since a telnetd isn't capable of spawning its own processes, it just listes to stdin and talks to stdout. This keeps the code small and configuration items related to network-security can for all applications being handled and configured in the inetd. Also, connections started from inetd are incidental and long living: a telnet session can easy last hours. Samba and apache on the other side have big configuration-files, so parsing them often would be a waste of cycles. And they have short living connections: people just grab an URL from your webserver or a file from your disk. As you see, it often depends on the application whether or not it's started from inetd or at reboot-time. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://FatalDimensions.nl.eu.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message