[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LSB-ize daemon without pidfile handling



This one time, at band camp, Marc Haber said:
> On Sat, 10 Nov 2007 17:01:38 +0100, Wouter Verhelst
> <wouter@debian.org> wrote:
> >On Fri, Nov 09, 2007 at 10:24:46PM +0100, Adeodato Simó wrote:
> >> Well, it's obvious it's the best approach if you're willing to do it. ;-)
> >
> >It's three lines of code to write a PID file, and it's the best approach
> >to make sure you don't break stuff.
> 
> How many seconds until the "please make pidfile location configurable"
> wishlist bug?

Which is another, what, 5-10 lines of code?

> >> As a Debian packager, though, I would most likely just trust the authors
> >> of start-stop-daemon and its --make-pidfile.
> >
> >--make-pidfile, --exec, and friends, are all ugly workarounds for buggy
> >daemons that can't write a pidfile.
> 
> And I think that it is less broken to use them than to patch
> third-party software.

Patching third-party software is the majority of what we do.  Why is
this a problem?
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature


Reply to: