ports/142275: [patch] sysutils/anacron should have better configuration hints
Kenyon Ralph
kenyon at kenyonralph.com
Sun Jan 3 20:50:02 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list