From Fedora Project Wiki

Revision as of 16:49, 29 May 2018 by Lruzicka (talk | contribs) (Add procedure for testing (first part))

Note.png
Associated release criterion
This test case is associated with the Fedora_41_Beta_Release_Criteria#Remote_logging release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.


Description

This article is incomplete. Remote logging happens when the operating system logs events and errors to a different machine (server) over the network. This test case shows whether remote logging can be set up in a Fedora Server environment using system packages available after the installation.


How to test

  1. Run the default installation of Fedora Server on two different machines, either bare metal or virtual.
  2. When the systems are installed, check the following steps (3 and 4) on both machines.
  3. Check that rsyslog is installed on both machines.
    rpm -qi rsyslog
  4. Check that the rsyslog.service is up and running.
    systemctl status rsyslog.service
  5. If not, enable the service and start it.
    systemctl enable rsyslog.service
    systemctl start rsyslog.service
  6. On the server, edit the /etc/rsyslog.conf file.
    vi /etc/rsyslog.conf
  7. In the file, uncomment the following lines:
    module(load="imudp")
    input(type="imudp" port="514")
  8. On the server, open the UDP port 514 for incoming traffic.
    firewall-cmd --permanent --add-port=514/udp
    firewall-cmd --reload
  9. On the server, restart the rsyslog.service.
    systemctl restart rsyslog.service
  10. On the server, display the /var/log/messages so that it continues in the console.
    tail -f /var/log/messages

Expected Results

The following must be true to consider this a successful test run. Be brief ... but explicit.

  1. Step #1 completes without error
  2. The system boots into runlevel 5
  3. Program completes with exit code 0

Optional

Optionally provide hints for exploratory testing.