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

Files under /var are not properly created in image-mode

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • frr-10.4.1-2.el10
    • None
    • Low
    • 1
    • rhel-net-perf
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • _N&P-Refined_
    • Requested
    • None
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Anything under /var needs to be handled by tmpfiles.d. This is a minor change in specfile, otherwise components might have problems logging as seen in some tests:
      [73567|mgmtd] sending configuration
      [73568|zebra] sending configuration
      can't open logfile /var/log/frr/frr-r2.log
      line 3: Failure to communicate[13] to mgmtd, line: log file /var/log/frr/frr-r2.log debug

      [73574|bgpd] sending configuration
      can't open logfile /var/log/frr/frr-r2.log
      line 3: Failure to communicate[13] to zebra, line: log file /var/log/frr/frr-r2.log debug

      can't open logfile /var/log/frr/frr-r2.log
      line 3: Failure to communicate[13] to bgpd, line: log file /var/log/frr/frr-r2.log debug

      [73584|staticd] sending configuration
      [73568|zebra] Configuration file[/etc/frr/vnc/frr.conf] processing failure: 13
      can't open logfile /var/log/frr/frr-r2.log
      line 3: Failure to communicate[13] to staticd, line: log file /var/log/frr/frr-r2.log debug
      ...
      Dir /var/log/frr/ needs to be created via the tmpfiles.d.

              mruprich@redhat.com Michal Ruprich
              mruprich@redhat.com Michal Ruprich
              Michal Ruprich
              Michal Ruprich Michal Ruprich
              Frantisek Hrdina Frantisek Hrdina
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: