You wrote:
> I think this (untested) patch would fix it:
> 
> --- /usr/lib/emacsen-common/packages/install/auctex   2008-09-08 
> 13:43:54.000000000 +0200
> +++ auctex    2008-11-28 22:08:49.000000000 +0100
> @@ -79,6 +79,7 @@
>           rm -f ${_db_logfile}
>           /usr/sbin//update-auctex-elisp ${FLAVOR} ;;
>           (File)
> +         rm -f ${_db_logfile}
>           echo >&2 -n "update-auctex-elisp: "
>           echo >&2 "Further output will appear in: ${_db_logfile}."
>           echo >&2 -n "auctex: "
> @@ -89,6 +90,7 @@
>               "${0##*/}: Unknown Debconf value doautofg = 
> \"${_db_doautofg}\"." ;;
>       esac ;;
>       (Background)
> +         rm -f ${_db_logfile}
>                                                       
> /usr/sbin//update-auctex-elisp ${FLAVOR} >> ${_db_logfile} 2>&1 3>&- &
>       echo >&2 -n "update-auctex-elisp[${!}]: "
>       echo >&2 "Further output will appear in: ${_db_logfile}." ;;
> 
> Note that I am neither the maintainer (just a lurker on the PTS), nor do
> I have time to do an NMU in case it is needed. Which might be the case,
> there are weeks where Davide is quite unresponsive.

That reduces the attack window, but it's not a solution.

I think the safe thing to do is to create the log file in
/var/lib/auctex or /var/log instead.

Ben.

-- 
Ben Hutchings
It is impossible to make anything foolproof because fools are so ingenious.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to