Jira (PUP-9970) Regression in Docker Images - puppetdb.conf permission denied

6 views
Skip to first unread message

Robert (JIRA)

unread,
Aug 20, 2019, 11:33:04 AM8/20/19
to puppe...@googlegroups.com
Robert created an issue
 
Puppet / Bug PUP-9970
Regression in Docker Images - puppetdb.conf permission denied
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2019/08/20 8:32 AM
Environment:

Docker

Priority: Critical Critical
Reporter: Robert

Puppet Version: NA
Puppet Server Version: 5.x, possibly more**
OS Name/Version: Docker

Starting last week docker images published on Dockerhub stopped working with this error-
Server Error: Permission denied - /etc/puppetlabs/puppet/puppetdb.conf
 

Desired Behavior:

The server should work.

Actual Behavior:

 
Server Error: Permission denied - /etc/puppetlabs/puppet/puppetdb.conf
This happens because the script that fixes the permissions for the docker container is run before the puppetdb.conf file is created.

Fix:

Add this line to the dockerfile-

RUN cp /docker-entrypoint.d/20-set-permissions.sh /docker-entrypoint.d/90-set-permissions.sh

This makes sure that the permissions are fixed after the file is created and allows puppet to run like normal.

 

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Morgan Rhodes (JIRA)

unread,
Aug 21, 2019, 3:08:02 PM8/21/19
to puppe...@googlegroups.com

Morgan Rhodes (JIRA)

unread,
Aug 21, 2019, 3:09:03 PM8/21/19
to puppe...@googlegroups.com
Morgan Rhodes updated an issue
Change By: Morgan Rhodes
Team: Release Engineering
Sprint: Release Engineering Kanban

Ethan Brown (JIRA)

unread,
Aug 22, 2019, 7:15:04 PM8/22/19
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages