#747398 logcheck: make (almost) all cmdline flags settable in the config file

Package:
logcheck
Source:
logcheck
Submitter:
Network Operation Center
Date:
2023-03-13 12:48:05 UTC
Severity:
wishlist
Tags:
#747398#5
Date:
2014-05-08 09:12:18 UTC
From:
To:
i want to run multiple instances of logcheck on a syslog host, each configured
slightly differently (configuration for each instance lives in
/etc/${LC_INST}/, and the stats live in /var/lib(${LC_INST}).
i can do this with something like:
   /usr/sbin/logcheck \
	-c /etc/${LC_INST}/logcheck.conf \
	-L /etc/${LC_INST}/logcheck.logfiles \
	-S /var/lib/${LC_INST}

however, i fail to see why i cannot provide the stats-dir (as given with the
'-S' flag) and the logfiles-file ('-L') in the instance-specific config-file
('-c'), esp. since i *can* set the RULEDIR ('-r').

actually, I think one should be able to use set all cmdline flags in the
configfile (maybe with the exception of the '-c' flag).

most likely all this is already possible (looking at the source-code of
/usr/sbin/logcheck I see that it simply sources CONFIGFILE) but that's nowhere
documented.

fgmasdr
IOhannes

#747398#10
Date:
2023-03-13 12:46:00 UTC
From:
To:
Control: tags -1 - wontfix + confirmed
Control: severity -1 normal
nowhere


This annoys me as well... will take a look post bookworm - mostly a
documentation update is all that is needed.