tag 599895 + unreproducible thanks Hi David,
On 10/12/2010 09:55 AM, David Delon wrote: > 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 cannot reproduce this. When pam_env cannot find this file, it is simply ignored. Could you please post some additional details on what exactly is failing, eg the relevant crontab? > 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 The first approach is the one taken by other packages as well, eg: login, sshd, su (with login being Priority: required). Christian
signature.asc
Description: OpenPGP digital signature

