Jira (PDB-5229) CentOS 8 package uses legacy path in tmpfiles

11 views
Skip to first unread message

Tim Meusel (Jira)

unread,
Aug 10, 2021, 9:17:02 AM8/10/21
to puppe...@googlegroups.com
Tim Meusel created an issue
 
PuppetDB / Bug PDB-5229
CentOS 8 package uses legacy path in tmpfiles
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2021/08/10 6:16 AM
Priority: Normal Normal
Reporter: Tim Meusel

Hi,
during some playing with CentOS 8 I noticed the following error (I was installing the postgresql13-server package after puppetdb-7.5.0-1.el8.src.rpm):

Error in <unknown> scriptlet in rpm package postgresql13-server
[/usr/lib/tmpfiles.d/puppetdb.conf:1] Line references path below legacy directory /var/run/, updating /var/run/puppetlabs/puppetdb → /run/puppetlabs/puppetdb; please update the tmpfiles.d/ drop-in file accordingly.

the tmpfile:

# cat /usr/lib/tmpfiles.d/puppetdb.conf
d /var/run/puppetlabs/puppetdb 0755 puppetdb puppetdb -

could you in the next release update this from /var/run to /run? It's a symlink on CentOS 8:

# ls -la /var/run
lrwxrwxrwx. 1 root root 6 Dec  4  2020 /var/run -> ../run

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Tim Meusel (Jira)

unread,
Aug 10, 2021, 9:20:02 AM8/10/21
to puppe...@googlegroups.com
Tim Meusel updated an issue
Change By: Tim Meusel
Hi,
during some playing with CentOS 8 I noticed the following error (I was installing the postgresql13-server package after puppetdb-7.5.0-1.el8.src.rpm):
{code}

Error in <unknown> scriptlet in rpm package postgresql13-server
[/usr/lib/tmpfiles.d/puppetdb.conf:1] Line references path below legacy directory /var/run/, updating /var/run/puppetlabs/puppetdb → /run/puppetlabs/puppetdb; please update the tmpfiles.d/ drop-in file accordingly.
{code}

the tmpfile:
{code}

# cat /usr/lib/tmpfiles.d/puppetdb.conf
d /var/run/puppetlabs/puppetdb 0755 puppetdb puppetdb -
{code}


could you in the next release update this from /var/run to /run? It's a symlink on CentOS 8:

{code}

# ls -la /var/run
lrwxrwxrwx. 1 root root 6 Dec  4  2020 /var/run -> ../run
{code}

I reported the same bug to puppetserver in https://tickets.puppetlabs.com/browse/SERVER-3059

Molly Waggett (Jira)

unread,
Aug 16, 2021, 12:46:03 PM8/16/21
to puppe...@googlegroups.com

David McTavish (Jira)

unread,
Jan 12, 2022, 3:49:02 PM1/12/22
to puppe...@googlegroups.com
David McTavish updated an issue
 
Change By: David McTavish
Component/s: PuppetDB
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo

David McTavish (Jira)

unread,
Jan 12, 2022, 7:34:02 PM1/12/22
to puppe...@googlegroups.com
David McTavish updated an issue
Change By: David McTavish
Labels: low-hanging-fruit

David McTavish (Jira)

unread,
Feb 10, 2022, 9:50:01 AM2/10/22
to puppe...@googlegroups.com
David McTavish updated an issue
Change By: David McTavish
Labels: low-hanging-fruit security
Reply all
Reply to author
Forward
0 new messages