[Ilugc] Debian installation

  • From: linux@xxxxxxxxxxxxxxxx (Suresh Ramasubramanian)
  • Date: Sat, 29 May 2004 15:27:24 +0530

Prabhu Ramachandran wrote:

    SRS> 2. running daemons from inetd

Whats the problem with that?

probably the worst possible way to run a daemon, I'd say. xinetd is a 
bit better,

Call an inetd run program often enough and it starts limiting the number 
of conenctions possible to it - and if it doesn't do so, it is 
vulnerable to a trivial attack where you call it multiple times, and it 
forks multiple copies to make your system crawl.

More efficient is the standard unix tcp daemon mode - running 
continuously in the background (like sendmail -bd) rather than waking up 
when called and forking a copy of the program like [x]inetd does.

If you want a far better alternative to [x]inetd there's ucspi-tcp and 
daemontools (which might be familiar from a qmail install, but which has 
the sort of license that will prevent it from being bundled with debian 
except as "non free")

I manage.  So I atleast have one case where the reverse is true.  Its
not like Debian policy forces you not to install packages from source.

Not debian policy - but the installations are so completely different 
that a standard source install will hopelessly break things.

Not so in slackware or freebsd.

        srs

Other related posts: