Summary: | periodic: remove obsolete news.expire | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Nils Johannsen <nilsjohannsen> | ||||
Component: | bin | Assignee: | Robert Wing <rew> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | nilsjohannsen, rew, thierry | ||||
Priority: | --- | Flags: | linimon:
mfc-stable13?
|
||||
Version: | 13.0-STABLE | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
I have a server running INN, and it does not run /etc/news.expire. The crontab entry is: 0 3 * * * /usr/local/news/bin/news.daily expireover lowmark and this does the job. Maybe in the past people thought that every BSD (or Unix) machine would run a news (as in NNTP) server. E.g., a small repertoire of syslog facilities includes news as well. But I think that we never had a news server in the base. And I expect that all "third-party" news server have their own stuff for periodic tasks. So, it should be fine to purge that periodic entry. Thanks Robert for your effort. But how to proceed now with review D30631? A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=901c52f13c46a755f18f008106c0384cd6fd220c commit 901c52f13c46a755f18f008106c0384cd6fd220c Author: Nils Johannsen <n.johannsen@beckhoff.com> AuthorDate: 2022-03-08 04:29:26 +0000 Commit: Robert Wing <rew@FreeBSD.org> CommitDate: 2022-03-08 04:37:42 +0000 periodic: remove obsolete news.expire With the initial import of 386BSD 0.1 in 1993, the daily execution of /etc/news.expire was introduced (see commit 1bf9d5d9518e). In 1997, this was brought into periodic resulting in daily/330.news (see commit 28dce04d1975). But as far as I see, /etc/news.expire has never existed. PR: 256238 MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30631 ObsoleteFiles.inc | 3 +++ share/man/man5/periodic.conf.5 | 8 +------ usr.sbin/periodic/etc/daily/330.news (gone) | 34 ----------------------------- usr.sbin/periodic/etc/daily/Makefile | 1 - usr.sbin/periodic/periodic.conf | 3 --- 5 files changed, 4 insertions(+), 45 deletions(-) ^Triage: assign to committer and set flag if possible interest in MFC. ^Triage: committed 2022-03-08. |
Created attachment 225351 [details] git commit to remove news.expire from periodic Together with the initial import of 386BSD 0.1 in 1993 the daily execution of /etc/news.expire was invented (see commit 1bf9d5d9518e). This excution was maintained throughout and transferred accordingly to periodic in 1997, resulting in daily/330.news (see e.g. commit 28dce04d1975). But as far as I see there was nevery any /etc/news.expire existing. I also asked several people but none was able to explain me what news.expire could be or was at any time...