Re: install daemon without starting it



On Thu, Apr 02, 2009 at 02:23:38PM -0400, Celejar wrote:
On Thu, 02 Apr 2009 10:12:54 -0500 Manoj Srivastava wrote:

There are mechanisms by which the site admin can tailor the
selection of daemons that start -- but the default should be I
installed it, and I installed it for a reason, so I want the thing
running.

But perhaps I don't want it to run until after I modify the default
configuration. I may install a web server, but I may want it to serve
only over a LAN interface, and not over my public interface. I know I
can block this at the firewall, but I want defense in depth, and I'm
suggesting that there can be perfectly common use cases where I want
the thing installed, and eventually even running, but not just yet, or
right now.

The package maintainer makes the determination of whether a package
runs by default or not. In my experience web servers and firewalls
don't run, probably for reasons such as you describe, and the admin
needs to go in and configure them, or in some cases edit a setting
under /etc/default/<package> or elsewhere. Many packages do run by
default, and I appreciate and have never had a problem with that. It
would probably be reasonable to file a bug for a package that one
thinks does the wrong thing (first checking for existing bugs
of course), or maybe as a wishlist item.

I flagged the first response to this thread as a possibly useful trick
for the event that I might want to prevent a package from starting
automatically, but likely will never use it.

Ken
--
Ken Irving


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Sources.list Question
    ... updating the package list. ... Repeat if you need to upgrade just that package, either by install it ... I need to upgrade Opendkim version 2.0.1 but squeeze repository remains ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: OpenSSH
    ... > did make an exe it wouldn't be in a format nobody can use. ... > anyone state a single good reason for using bzip, ... Because some people use it to package things that you might want. ... since it's no harder to install ...
    (comp.unix.sco.misc)
  • Re: How to avoid screen blanking?
    ... So I do have the package gnome-screensaver installed, ... I do not have that command (gnome-screensaver-preferences) installed and ... Or do I need to install ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Merging all 30+ Debian CDs onto hard drive
    ... time I want to install a new package. ... fun stuff (and set apt-get to download only). ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Why cant I reinstall locales? [SOLVED]
    ... dummy package, and the real package that locales really requires is ... Says apt-get install. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)