Package: fcron Version: 2.9.6-2 Severity: normal Given a fcrontab of
* * * * * foo submitted by the user wohler and a file foo containing: echo user=$USER echo logname=$LOGNAME the output is: user=wohler logname=root However, LOGNAME should be set to wohler per cron compatibility. This is the way fcron used to work before a recent upgrade. I don't think fcron changed, but bash changed from version 2 to version 3. Since bash might not be the only culprit, please let me know if you'd like me to include my aptitude log output that shows all the packages that changed. I discovered this in one of my cronned scripts that stopped working after the upgrade. It had a bug in that it expected LOGNAME to be set to my login name, not root. This script has been running correctly for years, so I'm pretty sure that LOGNAME used to be set correctly and now it's not. In the meantime, a workaround is to set LOGNAME explicitly in the fcrontab. For example: LOGNAME=wohler * * * * * foo -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (600, 'testing'), (80, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-1-686 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US) Versions of packages fcron depends on: ii adduser 3.67.0 Add and remove users and groups ii debconf [debconf-2.0] 1.4.58 Debian configuration management sy ii dpkg 1.13.11 package maintenance system for Deb ii libc6 2.3.5-6 GNU C Library: Shared libraries an ii libpam0g 0.76-23 Pluggable Authentication Modules l ii libselinux1 1.24-4 SELinux shared libraries ii postfix [mail-transport-agent 2.2.4-1 A high-performance mail transport ii sysklogd [system-log-daemon] 1.4.1-17 System Logging Daemon fcron recommends no packages. -- debconf information: * fcron/anacronwarn: -- Bill Wohler <[EMAIL PROTECTED]> http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]