-
Bug
-
Resolution: Done
-
Major
-
RH342 - RHEL8.4-en-3-20230209
-
None
-
False
-
-
False
-
ROLE
-
-
-
en-US (English)
Please fill in the following information:
URL: | https://rol.redhat.com/rol/app/courses/rh342-8.4/pages/ch02s09 |
Reporter RHNID: | robertscheck ( email id - rhn@linuxnetz.de) |
Section Title: | Lab: Configuring Baseline Data |
Issue description
https://rol.redhat.com/rol/app/courses/rh342-8.4/pages/ch02s09 says at "Procedure 2.5. Instructions" that "Create a rule that writes the syslog messages that each host generates to separate files under the /var/log/loghost directory.".
So far, so good. However, the provided workdir/rsyslog.conf.j2 refers to "/var/log/loghost/%HOSTNAME%/%syslogfacility-text%.log".
That's not really "each host generates to separate files under the /var/log/loghost directory". That sounds more like "/var/log/loghost/%HOSTNAME%" as target log file. So, that's quite imprecise instructions. Interestingly, my understanding practically even works and the grade script passes.
While one can assume that the task includes to edit the workdir/rsyslog.conf.j2 accordingly (and to cover this in the logrotate configuration with "/var/log/loghost/" as well), the solution at § 3.3 uses an unmodified configuration file but also suggests at § 3.5 to use "/var/log/loghost//*.log".
Conclusion: Please provide precise instructions at "Procedure 2.5. Instructions".
Steps to reproduce:
Workaround:
Expected result: