[Logwatch] Help Version 7.0 Problems
Bjorn L.
bl_logwatch at mblmail.net
Tue Oct 18 13:02:58 MST 2005
Ann Hopkins wrote:
> I copied everything over. Changed it to my location in logwatch.pl.
> I made copies of the files conf files to be changed and placed them in the
> /etc/logwatch/conf/logfiles and services (sendmail). I assume that is what I
> want I should do, or do I copy the full distribution of default.conf into
> /etc/logwatch/conf.
>
> I run it and it immediately comes back with.
>
> Nonexistent service to disable: zz-network
Mike already touched on this, but I thought I'd add some comments:
- The non-existent service message seems to indicate that you didn't
copy the zz-network config files to your new location.
So if you are trying to optimize disk space by removing services
that you don't run, then you can uncomment the line in
default.conf/logwatch.conf, as Bob Hutchinson suggested. But if
disk space is not a problem, then the preferred method of defining
which services to run (or not run) is to modify the "Service"
variable.
I'll try to update the documentation to clarify things, but for the
vast majority of users:
- If you want the default logwatch, just install (or upgrade) to
the new package. Removing (rpm -e logwatch) the old package
before installing the new one is recommended if you did not create
any locally modified files in the old /etc/log.d directory. Not
removing the old package should not be harmful, except that some
old files might remain in the old /etc/log.d directory.
- If you want to modify configuration files for a local system,
copy only the files to be modified from
/usr/share/logwatch/default.conf to /etc/logwatch/conf, and
modify them there. Future logwatch upgrades should not touch
those modified files.
- /etc/logwatch/conf should only contain configuration files that you
are modifying locally. So if you want to use the stock logwatch,
no files are needed in that directory (or its subdirectories).
(And that's the way logwatch ships - the files that are in that
directory contain nothing but comments.)
More information about the Logwatch
mailing list