Bug#373786: /etc/cron.daily/exim4-base should unset TMPDIR

Piotr Kaczuba pepe at attika.ath.cx
Wed Oct 4 18:57:48 UTC 2006


Piotr Kaczuba napisał(a):
> Marc Haber napisał(a):
> [...]
>> Link to svn:
>> http://svn.debian.org/wsvn/pkg-exim4/exim/trunk/debian/exim4-base.cron.daily?op=file&rev=0&sc=0
>>
>> Piotr, can you please try if this works on your system with
>> libpam-tmpdir?
> 
> It seems to work fine, but it turns out that the same problem is also
> present in /usr/share/exim4/exim4_refresh_gnutls-params, which also uses
> start-stop-daemon and is invoked later in the exim4-base cron script.
> I guess you'll have to add the su alternative there, too.

I did some further tests and noticed that there are no log entries for
su in auth.log. After investigating a little it turned out that the su
part never got called because start-stop-daemon didn't fail.
It was exim4_refresh_gnutls-params, which is also using
start-stop-daemon to change the uid, that failed from the very
beginning, so I have to apologize for not investigating this problem
closely enough in the first place before reporting.
However, the su solution is still needed for exim4_refresh_gnutls-params
and we can argue if it should be also left in place for the find part in
 the cron script, if exim_tidydb should ever want to write to TMPDIR.

Thanks,
Piotr Kaczuba





More information about the Pkg-exim4-maintainers mailing list