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

Piotr Kaczuba pepe at attika.ath.cx
Thu Jun 15 14:22:54 UTC 2006


Package: exim4-base
Version: 4.62-1
Severity: normal

/etc/cron.daily/exim4-base should unset TMPDIR, so when one is using pam_tmpdir, the cron script could sucessfully do its work. The cron script uses find with chuid, and as a result tempnam() fails because it doesn't have access to the temp directory set by pam_tmpdir.

Below is the error message of /etc/cron.daily/exim4-base:

/etc/cron.daily/exim4-base:
tempnam: Permission denied
run-parts: /etc/cron.daily/exim4-base exited with return code 1

Piotr Kaczuba

-- Package-specific info:
Exim version 4.62 #1 built 02-May-2006 11:54:25
Copyright (c) University of Cambridge 2006
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September  6, 2005)
Support for: crypteq iconv() IPv6 PAM Perl GnuTLS move_frozen_messages Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql
Authenticators: cram_md5 cyrus_sasl plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /var/lib/exim4/config.autogenerated
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'
#
# comments will be lost.

dc_eximconfig_configtype='internet'
dc_local_interfaces=''
dc_other_hostnames='orbiter:orbiter.attika.ath.cx:attika.ath.cx'
dc_readhost=''
dc_relay_domains=''
dc_relay_nets='10.0.0.0/8'
dc_smarthost=''
dc_minimaldns='false'
dc_localdelivery='maildir_home'
CFILEMODE='644'

dc_use_split_config='true'
dc_hide_mailname=''
dc_mailname_in_oh='true'
mailname:attika.ath.cx

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.20-orbiter.x86-64.1
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)

Versions of packages exim4-base depends on:
ii  adduser                       3.87       Add and remove users and groups
ii  cron                          3.0pl1-94  management of regular background p
ii  debconf [debconf-2.0]         1.5.2      Debian configuration management sy
ii  exim4-config [exim4-config-2] 4.62-1     configuration for the exim MTA (v4
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libdb4.3                      4.3.29-5   Berkeley v4.3 Database Libraries [
ii  netbase                       4.25       Basic TCP/IP networking system

Versions of packages exim4-base recommends:
ii  psmisc                        22.2-1     Utilities that use the proc filesy

-- debconf information:
  exim4/purge_spool: false
  exim4/move_exim3_spool: false




More information about the Pkg-exim4-maintainers mailing list