Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  3 Jan 2010 12:43:59 -0800 (PST)
From:      Kenyon Ralph <kenyon@kenyonralph.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/142275: [patch] sysutils/anacron should have better configuration hints
Message-ID:  <20100103204359.83AEF39884@gauss.kenyonralph.com>
Resent-Message-ID: <201001032050.o03Ko1eU076823@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         142275
>Category:       ports
>Synopsis:       [patch] sysutils/anacron should have better configuration hints
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 03 20:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Kenyon Ralph
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD gauss.kenyonralph.com 8.0-STABLE FreeBSD 8.0-STABLE #0 r200959: Thu Dec 24 12:30:25 PST 2009 root@gauss.kenyonralph.com:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Anacron's pkg-message configuration hints should mention that anacron should be run periodically, not just at boot time. If it's not run periodically, then a system which is up for several days without rebooting will not have its anacron jobs run at all.
>How-To-Repeat:
	
>Fix:
--- /usr/ports/sysutils/anacron/files/pkg-message.in	2005-06-16 08:51:38.000000000 -0700
+++ pkg-message.in	2010-01-03 12:25:02.000000000 -0800
@@ -3,5 +3,7 @@
 - Edit %%PREFIX%%/etc/anacrontab
 - Deactivate the 'periodic' commands in /etc/crontab
 - Add anacron_enable="YES" to /etc/rc.conf
+- Add a daily invocation of anacron to /etc/crontab such as this:
+  30 10 * * * root /usr/local/etc/rc.d/anacron start > /dev/null
 - Read anacron(8) and anacrontab(5)
 
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100103204359.83AEF39884>