Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2002 23:15:26 +0200
From:      Thomas Seck <tmseck@netcologne.de>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: No root crontab in 4.6-RELEASE?
Message-ID:  <20020709211526.GB778@laurel.tmseck.homedns.org>
In-Reply-To: <20020709165702.B23FF5D03@ptavv.es.net>
References:  <200207091651.g69Gp3Lg052679@apollo.backplane.com> <20020709165702.B23FF5D03@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Kevin Oberman (oberman@es.net):

> Also, as far as I know, the use of local periodic(8) scripts via
> periodic.conf(5) entries in 999.local is supported. 

Yes it is.

I assume that BSD traditionally used /etc/{daily,weekly,monthly}(.local)
where FreeBSD uses periodic(8). I do not know it for sure because I
started using BSD just two years ago when FreeBSD 4.0 came out so feel
free to correct me if you know better. 

Thus I guess the hook in periodic.conf for local scripts in /etc is for
backwards compatibility and to not violate POLA.

NetBSD uses /etc/{daily,weekly,monthly} - and NetBSD does not use
/etc/crontab in a default install, although their cron(8) would read it
if it were there, at least this is what the manpage states.

> mergemaster(8) should catch changes in periodic.conf(5).

No it does not - /etc/periodic.conf does not exist in a default install.
You have to check the assignments you make in /etc/{rc,periodic}.conf
against their counterparts in /etc/defaults/ after an update.
mergemaster at least does a sanity check for rc.conf via the new
option "-C" (it was introduced because of the changes in the sendmail
infrastructure).

-- 
Thomas Seck

This message was sent to a mailinglist I am subscribed to. Please send
your replies to the list - and do *not* CC me. Thank you.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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