Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
PDB 2.3.8
-
None
-
[rbhe@puppet ~]$ rpm -qa | grep puppetdb
puppetdb-terminus-2.3.8-1.el7.noarch
puppetdb-2.3.8-1.el7.noarch
-
HA
-
2
-
HA 2020-05-19
-
Security Fix
-
Description
The package "puppetdb" creates template /etc/puppetdb/conf.d/jetty.ini with proper permissions of puppetdb:puppetdb.
When running /sbin/puppetdb ssl-setup the file permissions change to "root" "root". If your umask is restrictive (e.g. 027) puppetdb start failes.
The attached fix keeps the original file permissions initially set via rpm.
Another note: commands should be chained with && to avoid creating "broken" config files.