[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#26612: anacron: the anacron script in init.d has an incorrect position for the daemon



The anacron script in the package does NOT specify /usr/bin.  Do not
know why yours does.

ancalvo@mx2.redestb.es wrote:
> 
> Package: anacron
> Version: 2.0.1-2
> 
> -- System Information
> Debian Release: 2.0
> Kernel Version: Linux ice 2.0.34 #1 sáb ago 29 16:07:22 CEST 1998 i586 unknown
> 
> Versions of the packages anacron depends on:
> ii  libc6           2.0.7t-1       The GNU C library version 2 (run-time files)
> ii  sysklogd        1.3-26         Kernel and system logging daemons
> ii  smail           3.2.0.101-4.5  Electronic mail transport system.
> sendmail        Not installed or no info
> ii  smail           3.2.0.101-4.5  Electronic mail transport system.
>         ^^^ (Provides virtual package mail-transport-agent)
> 
> --- Begin /etc/anacrontab (modified conffile)
> SHELL=/bin/sh
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
> 1       10      cron.daily      run-parts /etc/cron.daily
> 7       15      cron.weekly     run-parts /etc/cron.weekly
> 30      20      cron.monthly    run-parts /etc/cron.monthly
> 
> --- End /etc/anacrontab
> 
> --- Begin /etc/init.d/anacron (modified conffile)
> PATH=/bin:/usr/bin:/sbin:/usr/sbin
> DAEMON=/usr/bin/anacron
> ^^^^^^      ^^^  is sbin NOT bin
> NAME=anacron
> test -f $DAEMON || exit 0
> case "$1" in
>   start)
>     echo -n "Starting anac(h)ronistic cron: anacron"
>     $DAEMON
>     echo "."
>     ;;
>   stop)
>     IGNORE=1
>     ;;
>   *)
>     echo "Usage: /etc/init.d/$NAME start"
>     exit 1
>     ;;
> esac
> exit 0
> 
> --- End /etc/init.d/anacron
> 
> --
> To UNSUBSCRIBE, email to debian-qa-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
Can't buy what I want because it's free.
		-- Pearl Jam


Reply to: