Bug#481765: marked as done (exim4-base: con.monthly recreate gnutls-params without read access)

Andreas Metzler ametzler at downhill.at.eu.org
Thu May 22 13:23:13 UTC 2008


On 2008-05-22 Marc Haber <mh+debian-packages at zugschlus.de> wrote:
> On Thu, May 22, 2008 at 01:52:24PM +0200, Andreas Metzler wrote:
[...]
> >        "$TIMEOUT" /usr/bin/certtool --generate-dh-params --bits 2048 \
> >        > "$tempgnutls" 2> /dev/null ; then
> > +    chmod 644 "$tempgnutls"
> >      mv -f "$tempgnutls" "$PARAMFILE"
> >    else
> >      rm -f "$tempgnutls"

> I think this one:
[...]
> -tempgnutls=$(tempfile -d $EXIM4_SPOOLDIR -p "gnutp" )
> +tempgnutls=$(tempfile --directory $EXIM4_SPOOLDIR --mode 644 --prefix  "gnutp" )
[...]
> is better. Do you agree?

Yes, it saves one exec.
thanks, cu andreas





More information about the Pkg-exim4-maintainers mailing list