Your message dated Thu, 14 Oct 2010 01:11:04 +0200
with message-id <[email protected]>
and subject line Re: Bug#599897: cron: /etc/default/locale may miss
has caused the Debian Bug report #599897,
regarding cron: /etc/default/locale may miss
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
599897: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599897
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cron
Version: 3.0pl1-114
Severity: minor

Extract from /usr/share/doc/cron/changelog.Debian.gz:

  * debian/cron.pam:
    - In addition to the reading /etc/security/pam_env.conf and 
      /etc/environment (obsolete config file) previous default,
      cron will now also read /etc/default/locale in order to setup
      the proper localisation environment for tasks.

When you install automatically some workstations with the debootstrap command 
for example,
the cron package will be installed (Priority: important).
The locales package is not mandatory so the configuration file 
/etc/default/locale may miss,
and cron do not execute any script from now.

I suggest to replace in /etc/pam.d/cron:
session       required   pam_env.so envfile=/etc/default/locale
by:
session       optional   pam_env.so envfile=/etc/default/locale

Thanks.



--- End Message ---
--- Begin Message ---
On 10/13/2010 11:17 AM, David Delon wrote:
> Hi Christian,
> 
>> I cannot reproduce this. When pam_env cannot find this file, it is
>> simply ignored.
> 
> You're right and there is no bug.

No worries.

Christian

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to