Subject: Developers of Sympa
List archive
Re: [sympa-developpers] [sympa-commits] sympa[9135] branches/sympa-cleanup/src/sbin/bulk.pl.in: [-bug] use PIDDIR for stderr file
- From: Guillaume Rousse <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-developpers] [sympa-commits] sympa[9135] branches/sympa-cleanup/src/sbin/bulk.pl.in: [-bug] use PIDDIR for stderr file
- Date: Tue, 06 Aug 2013 16:36:01 +0200
Le 05/08/2013 15:52, IKEDA Soji a écrit :
As does the stderr ones, according to my own understanding of their purpose.Bascally, those PID files or STDERR files are both temporary files of
the same class: they normally exist only during the lifetime of a single
process, and should be removed during normal process termination. If
they are left behind, that's because a crash occured, and they should be
removed on next process startup. So I think it makes sense to host both
kind of files on /var/run/sympa, and to use a single build-time
configuration directive for it. It could use a better name than PIDDIR,
however, such as RUNDIR for instance.
It's in sense that PID files will be removed when the daemons
stopeed normally.
So, what's about my proposal ?
- use File::Temp for all create-and-forget files
- deprecated tmpdir configuration variable
- rename --piddir configure switch to --rundir
- use RUNDIR for both pid and stderr files
--
Guillaume Rousse
INRIA, Direction des systèmes d'information
Domaine de Voluceau
Rocquencourt - BP 105
78153 Le Chesnay
Tel: 01 39 63 58 31
Attachment:
smime.p7s
Description: Signature cryptographique S/MIME
-
Re: [sympa-developpers] [sympa-commits] sympa[9135] branches/sympa-cleanup/src/sbin/bulk.pl.in: [-bug] use PIDDIR for stderr file,
IKEDA Soji, 08/02/2013
-
Re: [sympa-developpers] [sympa-commits] sympa[9135] branches/sympa-cleanup/src/sbin/bulk.pl.in: [-bug] use PIDDIR for stderr file,
Guillaume Rousse, 08/05/2013
-
Re: [sympa-developpers] [sympa-commits] sympa[9135] branches/sympa-cleanup/src/sbin/bulk.pl.in: [-bug] use PIDDIR for stderr file,
IKEDA Soji, 08/05/2013
-
Re: [sympa-developpers] [sympa-commits] sympa[9135] branches/sympa-cleanup/src/sbin/bulk.pl.in: [-bug] use PIDDIR for stderr file,
Guillaume Rousse, 08/06/2013
- Re: [sympa-developpers] [sympa-commits] sympa[9135] branches/sympa-cleanup/src/sbin/bulk.pl.in: [-bug] use PIDDIR for stderr file, IKEDA Soji, 08/08/2013
-
Re: [sympa-developpers] [sympa-commits] sympa[9135] branches/sympa-cleanup/src/sbin/bulk.pl.in: [-bug] use PIDDIR for stderr file,
Guillaume Rousse, 08/06/2013
-
Re: [sympa-developpers] [sympa-commits] sympa[9135] branches/sympa-cleanup/src/sbin/bulk.pl.in: [-bug] use PIDDIR for stderr file,
IKEDA Soji, 08/05/2013
-
Re: [sympa-developpers] [sympa-commits] sympa[9135] branches/sympa-cleanup/src/sbin/bulk.pl.in: [-bug] use PIDDIR for stderr file,
Guillaume Rousse, 08/05/2013
Archive powered by MHonArc 2.6.19+.