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

/etc/pcp/pmcd/pmcd.conf getting rewritten without reason

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

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-9.6
    • rhel-9.6
    • pcp
    • None
    • pcp-6.3.1-1.el9
    • None
    • Low
    • 1
    • rhel-pt-pcp
    • ssg_platform_tools
    • 22
    • 1
    • QE ack, Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • Red Hat Enterprise Linux
    • PCP Sprint 11
    • Unspecified Release Note Type - Unknown
    • All
    • None

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

      # ls -l /etc/pcp/pmcd/pmcd.conf 
      # sleep 61; systemctl restart pmcd
      # ls -l /etc/pcp/pmcd/pmcd.conf 
      

      Please provide the package NVR for which bug is seen:

      pcp-6.2.2-2.el9

      How reproducible:

      Always

      Steps to reproduce

      1. ls -l /etc/pcp/pmcd/pmcd.conf
      2. sleep 61; systemctl restart pmcd
      3. ls -l /etc/pcp/pmcd/pmcd.conf

      Expected results

      # ls -l /etc/pcp/pmcd/pmcd.conf 
      -rw-r--r--. 1 root root 992 Jun 10 13:52 /etc/pcp/pmcd/pmcd.conf
      # systemctl restart pmcd
      # ls -l /etc/pcp/pmcd/pmcd.conf 
      -rw-r--r--. 1 root root 992 Jun 10 13:52 /etc/pcp/pmcd/pmcd.conf
      

      Actual results

      # systemctl restart pmcd
      # ls -l /etc/pcp/pmcd/pmcd.conf 
      -rw-r--r--. 1 root root 992 Jun 10 13:52 /etc/pcp/pmcd/pmcd.conf
      # sleep 61; systemctl restart pmcd
      # ls -l /etc/pcp/pmcd/pmcd.conf 
      -rw-r--r--. 1 root root 992 Jun 10 13:54 /etc/pcp/pmcd/pmcd.conf
      

      This is a re-manifestation of BZ2166819

              nathans@redhat.com Nathan Scott
              jkurik@redhat.com Jan Kurik
              pcp-maint pcp-maint
              Jan Kurik Jan Kurik
              Jacob Valdez Jacob Valdez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: