[pkg-lighttpd] Bug#383425: Bug#383425: lighttpd: Distinguish installation from activation

Pierre Habouzit madcoder at debian.org
Tue Jun 3 15:34:31 UTC 2008


On Tue, Jun 03, 2008 at 01:52:12PM +0000, Stefan Monnier wrote:
> >> Of course, this problem is not specific to lighttpd.  The same problem
> >> occurs with other daemons which you may notwant to enable system-wide
> >> but that users may want to use, such as MPD.  Of course, the problem
> >> also occurs in other circumstances, such as when creating a Debian
> >> system inside a chroot jail.  I understand the desire to make it easy
> >> for the end user to just "install&start" the thing, but that doesn't
> >> mean it should be the only way to operate.  More specifically, I think
> >> the packages should fundamentally distinguish installation from
> >> activation.  The default might be to activate at install time, but
> >> there should then be an option to prevent the activation step.  Making
> >> the install fail just because you can't start the thing is
> >> fundamentally incorrect.
> 
> >   No it's not.
> 
> Is.
> 
> > In a jail/chroot/whatever usually you hack your
> > invoke-rc.d and friends so that it doesnt start things in postinst.
> 
> You mean, you hack-up a poor man's activation control because the system
> doesn't provide it.  If this is so "obviously the right way to do it",
> then where is it documented? (actually, even if it's not The Right Way
> to do it, I'd love to know what are those hacks because I do have such
> chroot jails and keep bumping into this problem).

  Debian is intended to work "simply" for the most used scenario, and to
need a 10 liner configuration for the less common ones. It's more common
that people want their sole httpd to be started on install than users
having lots of chroots.

  The latter people are supposed to know how to disable the "launch
everything on install" thing using the debian's sysv-rc documentation:
  /usr/share/doc/sysv-rc/README.policy-rc.d.gz
  /usr/share/doc/sysv-rc/README.invoke-rc.d.gz

  So yes, lighttpd will continue to work this way for now. As any server
does in Debian (try to install two DNS servers e.g., you'll see if that
works fine!).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lighttpd-maintainers/attachments/20080603/9320817f/attachment.pgp 


More information about the pkg-lighttpd-maintainers mailing list