Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-13283

Imprecise instructions at RH342-8.4 Ch. 02 S. 09

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • RH342 - RHEL8.4-en-3-20230209
    • RH342
    • None
    • False
    • Hide

      None

      Show
      None
    • 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:

              alingaya@redhat.com Ashish Lingayat
              nehsingh@redhat.com Neha Singh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: