Package: anacron
Version: 2.3-13
Severity: normal

I had a job which was running under cron.  When I switched to anacron it
stopped working because $LOGNAME and $HOME aren't supplied by anacron,
though they are by cron.  I suggest this change to the default anacrontab:

--- anacrontab.~1~      2006-11-15 14:39:28.000000000 -0500
+++ anacrontab  2006-11-15 14:57:56.000000000 -0500
@@ -4,6 +4,8 @@
 
 SHELL=/bin/sh
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+LOGNAME=root
+HOME=/root
 
 # These replace cron's entries
 1      5       cron.daily       nice run-parts --report /etc/cron.daily

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (700, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-oliver.1
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages anacron depends on:
ii  debianutils                  2.8.4       Miscellaneous utilities specific t
ii  libc6                        2.3.6.ds1-7 GNU C Library: Shared libraries
ii  lsb-base                     3.1-15      Linux Standard Base 3.1 init scrip

Versions of packages anacron recommends:
ii  cron                      3.0pl1-86      management of regular background p
ii  nullmailer [mail-transpor 1.00RC7-20.0.2 simple relay-only mail transport a
ii  sysklogd [system-log-daem 1.4.1-16       System Logging Daemon

-- debconf information excluded

-- 
Roderick Schertler
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to