Bug 2060377 - Metrics role, with "metrics_from_mssql" option does not configure /var/lib/pcp/pmdas/mssql/mssql.conf on first run [rhel-8.7.0]
Summary: Metrics role, with "metrics_from_mssql" option does not configure /var/lib/pc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rhel-system-roles
Version: 8.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.7
Assignee: Noriko Hosoi
QA Contact: David Jež
Gabi Fialová
URL:
Whiteboard: role:metrics
Depends On: 2058655
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-03 12:15 UTC by RHEL Program Management Team
Modified: 2022-11-08 10:35 UTC (History)
7 users (show)

Fixed In Version: rhel-system-roles-1.18.0-1.el8
Doc Type: Bug Fix
Doc Text:
.Configuration by the `metrics` RHEL System Role follows symbolic links correctly When the `mssql pcp` package is installed, the `mssql.conf` file is located in `/etc/pcp/mssql/` and is targeted by the symbolic link `/var/lib/pcp/pmdas/mssql/mssql.conf`. Previously, however, the `metrics` role overwrote the symbolic link instead of following it and configuring `mssql.conf`. Consequently, running the `metrics` role changed the symbolic link to a regular file and the configuration therefore only affected the `/var/lib/pcp/pmdas/mssql/mssql.conf` file. This resulted in a failed symbolic link, and the main configuration file `/etc/pcp/mssql/mssql.conf` was not affected by the configuration. The problem is now fixed and the `follow: yes` option to follow the symbolic link has been added to the `metrics` role. As a result, the `metrics` role preserves the symbolic links and correctly configures the main configuration file.
Clone Of: 2058655
Environment:
Last Closed: 2022-11-08 09:40:46 UTC
Type: ---
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-114349 0 None None None 2022-03-03 12:20:13 UTC
Red Hat Product Errata RHEA-2022:7568 0 None None None 2022-11-08 09:41:10 UTC

Comment 4 Fedora Update System 2022-05-11 01:17:58 UTC
FEDORA-2022-2da3a47337 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2022-05-11 01:24:06 UTC
FEDORA-2022-d6e6c7c37c has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2022-05-11 01:34:24 UTC
FEDORA-2022-671a5d63e6 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 errata-xmlrpc 2022-11-08 09:40:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (rhel-system-roles bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:7568


Note You need to log in before you can comment on or make changes to this bug.