Bug 1579
| Summary: | Various problems with INN-2.2 RPM | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Mike McHenry <mmchenry> |
| Component: | inn | Assignee: | David Lawrence <dkl> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 1999-03-20 00:09:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Mike McHenry
1999-03-17 18:40:50 UTC
Ack, accidentally hit commit before I was done :/
- logcancelcomm: false should be logcancelcomm: true
- allownewnews: true should be allownewnews: false
- usecontrolchan: false should be usecontrolchan: true
- activedenable: false should be activedenable: true
(All of the above options will prevent various Denial of Service
attacks that are commonly seen in the Usenet world, changing these
options will prevent most of these attacks)
* /etc/cron.daily/inn-cron-expire should be su - news -c
"/usr/lib/news/bin/news.daily delayrm"
(the delayrm will call a specialized unlink program to expire
articles instead of a normal unlink call, improves expire time by a
factor of 10)
* inn.spec configure section should include --with-news-user=news --
with-news-group=news --with-news-master=news --enable-pgp-verify
* cron jobs, it would be nice to have some sort of check so that inn-
cron-expire and inn-cron-nntpsend in particular do not run unless inn
is running. It is somewhat annoying to get hourly emails from inn-
cron-nntpsend when the inn package is installed but not running. In
fact most people use streaming nntp anyway (innfeed) so maybe inn-
cron-nntpsend could just be removed?
* History file is not rebuild on an upgrade. On any kind of version
change to inn the history file needs to be rebuilt, how about adding
this section to the inn.spec file?
%post
if [ -f /var/lib/news/history ]; then
cd /var/lib/news
/usr/lib/news/bin/makehistory -i -r
for i in dir hash index pag; do
[ -f history.n.$i ] && mv history.n.$i history.$i
done
chown news.news history.*
chmod 644 history.*
else
cd /var/lib/news
cp /dev/null history
/usr/lib/news/bin/makehistory -i
for i in dir hash index pag; do
[ -f history.n.$i ] && mv history.n.$i history.$i
done
chown news.news history history.*
chmod 644 history history.*
fi
fixed in inn-2.2-4 and later. |