Comment 3 for bug 422189

Revision history for this message
James Troup (elmo) wrote : Re: [Bug 422189] Re: Can't exec "id" errors from pg_maintenance after upgrading to 87ubuntu1

Martin Pitt <email address hidden> writes:

> Hm, this exact change has been in intrepid onwards without such
> reports, and $PATH in cron.d defaults to "/usr/bin:/bin" in Lenny and
> Karmic, so I don't think this changed just recently. Is that default
> $PATH change a local customization on your servers?

So my babble about $PATH and cron was clearly rubbish, sorry. However,
the following might be more relevant:

james@druzhnaya:/etc/cron.d$ grep PATH /usr/sbin/pg_maintenance -B1
# untaint environment
$ENV{'PATH'} = '';

?

--
James