Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-83966

FRR doesn't send logs to stdout when running as a daemon [rhel-9.4.z]

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-9.4.z
    • rhel-9.4.z
    • frr
    • frr-8.5.3-4.el9_4.3
    • No
    • Important
    • ZStream
    • rhel-sst-cs-net-perf-services
    • ssg_core_services
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Configuring FRR with `log stdout` and starting it as a daemon, using `/usr/libexec/frr/frrinit.sh start` does not work properly because when frr is started as a daemon, it is unable to write logs to stdout.

      This was fixed here:
       [1] https://github.com/FRRouting/frr/pull/12050/commits/4d28aea95851dc14b3987b004f457d7a4a1535f8

       

       

      What is the impact of this issue to you?

      In RHOSO (Openstack), we need FRR to write logs on stdout because that's the way the container where it runs will write those logs to journal.

       

      Please provide the package NVR for which the bug is seen:

      rhel9.4 with frr-8.5.3-4.el9.x86_64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. add `log stdout` to frr.conf
      2. start frr with `/usr/libexec/frr/frrinit.sh start`
      3.  

      Expected results

      frr logs are written to stdout

      Actual results

      frr logs can't be seen in stdout

              rhn-support-bjmason Bryan Mason
              eolivare Eduardo Olivares Toledo
              Bryan Mason Bryan Mason
              Therese Cornell Therese Cornell
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: