Univention Bugzilla – Bug 41815
Extend rsyslog.conf template to allow a more fine-grained UCR based configuration
Last modified: 2016-12-07 13:48:01 CET
Created attachment 7811 [details] Compatible extended rsyslog.conf template Please include the attached fully compatible but more flexible rsyslog.conf template into the univention-base-files package
Created attachment 7813 [details] Patch for univention-base-files.univention-config-registry-variables
extended logrotate options as in Bug 41816 are also relevant.
4.1-4: r74854 | Bug #15728.Bug #41815 base: syslog r74914 | Bug #15728 base: Enable remote syslog logging r74920 | Bug #41815 base: Remove duplicate description 4.2-0: r74922 | Bug #41815 base: More fine-grained logging configuration Package: univention-base-files Version: 5.0.1-3.217.201612011627 Version: 5.0.1-4.218.201612020906 Branch: ucs_4.1-0 Scope: errata4.1-4 r74921 | Bug #15728,Bug #41815,Bug #41816: base YAML univention-base-files.yaml
* ucr set syslog/remote=':omrelp:10.200.7.150:514' Setting syslog/remote File: /etc/rsyslog.conf Traceback (most recent call last): File "<stdin>", line 11, in <module> AttributeError: 'NoneType' object has no attribute 'split' IF syslog/remote/fallback is not set -> check if syslog/remote/fallback is set before split() * could not load module '/usr/lib/rsyslog/omrelp.so' if remote is activated (rsyslog-relp is not installed) -> do we want to added rsyslog-relp to the dependencies? * syslog/auth: <empty> If this option is activated, log messages belonging to the syslog facilities auth and authpriv are written to the file '/var/log/auth.log'. -> the variable is not set, but auth messages are logged to auth.log, so the default is to log (not "if this option is activated") applies to all syslog facility ucr vars * syslog/remote: <empty> Address of a logging servers, -> A server * syslog/remote/fallback: <empty> Space separated list of logging servers, which are used in that order, ich the servers given in 'syslog/remote' are not reachable. -> could not process this sentence
(In reply to Felix Botner from comment #4) > IF syslog/remote/fallback is not set fixed > * could not load module '/usr/lib/rsyslog/omrelp.so' Added as recommends. > * syslog/auth: <empty> Description inverted. > * syslog/remote: <empty> > Address of a logging servers, Fixed. > * syslog/remote/fallback: <empty> > Space separated list of logging servers, which are used in that order, ich > the servers given in 'syslog/remote' are not reachable. Fixed. r74947 | Bug #41815: Fix QA issues (4.1-4) r74949 | Bug #41815: Fix QA issues (4.2-0) Package: univention-base-files Version: 5.0.1-5.221.201612021651 Branch: ucs_4.1-0 Scope: errata4.1-4 r74948 | Bug #41815: Fix QA issues YAML univention-base-files.yaml
OK - syslog ucr config OK - univention-base-files.yaml OK - merged to 4.2-0
<http://errata.software-univention.de/ucs/4.1/353.html>