RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1992263 - postgresql:10/postgresql: tmpfiles config is using deprecated path, causing a warning to be logged
Summary: postgresql:10/postgresql: tmpfiles config is using deprecated path, causing a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: postgresql
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: beta
: ---
Assignee: Filip Januš
QA Contact: Vaclav Danek
URL:
Whiteboard:
: 1970249 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-10 20:20 UTC by Bill Yodlowsky
Modified: 2024-10-01 19:10 UTC (History)
7 users (show)

Fixed In Version: postgresql-10-8060020211108140204.d63f516d
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-10 13:47:23 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-93121 0 None None None 2021-08-10 20:25:07 UTC
Red Hat Product Errata RHSA-2022:1830 0 None None None 2022-05-10 13:47:38 UTC

Description Bill Yodlowsky 2021-08-10 20:20:23 UTC
Description of problem:

All postgresql streams ship a postgresql-server package with a deprecated path in /usr/lib/tmpfiles.d/postgresql.conf, causing systemd to complain in the logs.

-- default modular stream postgresql:10 --
[root@46b401145e03 /]# rpm -q postgresql-server && cat /usr/lib/tmpfiles.d/postgresql.conf 
postgresql-server-10.17-1.module+el8.4.0+11249+895597ab.x86_64
d /var/run/postgresql 0755 postgres postgres -

-- stream postgresql:9.6 --
[root@46b401145e03 /]# rpm -q postgresql-server && cat /usr/lib/tmpfiles.d/postgresql.conf
postgresql-server-9.6.22-1.module+el8.4.0+11244+beebcf7e.x86_64
d /var/run/postgresql 0755 postgres postgres -

-- stream postgresql:12 --
[root@46b401145e03 /]# rpm -q postgresql-server && cat /usr/lib/tmpfiles.d/postgresql.conf
postgresql-server-12.7-1.module+el8.4.0+11288+c193d6d7.x86_64
d /var/run/postgresql 0755 postgres postgres -

-- stream postgresql:13 --
[root@46b401145e03 /]# rpm -q postgresql-server && cat /usr/lib/tmpfiles.d/postgresql.conf
postgresql-server-13.3-1.module+el8.4.0+11254+85259292.x86_64
d /var/run/postgresql 0755 postgres postgres -


Version-Release number of selected component (if applicable):

postgresql-server-10.17-1.module+el8.4.0+11249+895597ab.x86_64
postgresql-server-9.6.22-1.module+el8.4.0+11244+beebcf7e.x86_64
postgresql-server-12.7-1.module+el8.4.0+11288+c193d6d7.x86_64
postgresql-server-13.3-1.module+el8.4.0+11254+85259292.x86_64


How reproducible:


Steps to Reproduce:
1. dnf module enable postgresql:{9.6,10,12,13}
2. dnf -y install postgresql-server
3. cat /usr/lib/tmpfiles.d/postgresql.conf
4. systemd-tmpfiles will log the deprecation warning


Actual results:

[/usr/lib/tmpfiles.d/postgresql.conf:1] Line references path below legacy directory /var/run/, updating ...; please update the tmpfiles.d/ drop-in file accordingly."

Expected results:

no warning

Additional info:

Comment 1 mkulik 2021-09-07 15:50:44 UTC
Fix from fedora upstream waiting for review and merge into RHEL8.6.

Comment 7 Filip Januš 2021-11-15 13:53:41 UTC
*** Bug 1970249 has been marked as a duplicate of this bug. ***

Comment 11 errata-xmlrpc 2022-05-10 13:47:23 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 (Moderate: postgresql:10 security 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/RHSA-2022:1830


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