Bug 41815

Summary: Extend rsyslog.conf template to allow a more fine-grained UCR based configuration
Product: UCS Reporter: Ingo Sieverdingbeck <sieverdingbeck>
Component: univention-base-filesAssignee: Philipp Hahn <hahn>
Status: CLOSED FIXED QA Contact: Felix Botner <botner>
Severity: enhancement    
Priority: P5 CC: gohmann, orrego
Version: UCS 3.2Flags: sieverdingbeck: Patch_Available+
Target Milestone: UCS 4.1-4-errata   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=15728
What kind of report is it?: Bug Report What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 2: Will only affect a few installed domains How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046 Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional): Forked for project
Max CVSS v3 score:
Attachments: Compatible extended rsyslog.conf template
Patch for univention-base-files.univention-config-registry-variables

Description Ingo Sieverdingbeck univentionstaff 2016-07-18 14:51:13 CEST
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
Comment 1 Ingo Sieverdingbeck univentionstaff 2016-07-18 15:04:08 CEST
Created attachment 7813 [details]
Patch for univention-base-files.univention-config-registry-variables
Comment 2 Daniel Orrego univentionstaff 2016-11-03 17:00:24 CET
extended logrotate options as in Bug 41816 are also relevant.
Comment 3 Philipp Hahn univentionstaff 2016-12-02 10:05:15 CET
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
Comment 4 Felix Botner univentionstaff 2016-12-02 16:24:34 CET
* 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
Comment 5 Philipp Hahn univentionstaff 2016-12-02 16:55:47 CET
(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
Comment 6 Felix Botner univentionstaff 2016-12-05 14:57:56 CET
OK - syslog ucr config
OK - univention-base-files.yaml
OK - merged to 4.2-0
Comment 7 Janek Walkenhorst univentionstaff 2016-12-07 13:48:01 CET
<http://errata.software-univention.de/ucs/4.1/353.html>