Actions
Bug #31763
closedsatellite-clone restores postgresql.conf with root:root ownership causing failure to clone
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Tooling
Target version:
-
Description
When cloning a 6.7 Satellite server, we perform the following steps:
1) install postgresql server packages:
2) untar config files:
3) remove postgresql.conf
4) run satellite-installer:
The issue is that satellite-installer does not properly re-set file permissions on postgresql.conf to postgresql:postgresql upon execution of the Puppet code to configure this file, it ends up being root:root as it likely doesn't expect this file to be completely missing.
This causes postgreql server to fail to start and the clone to fail completely.
We need to investigate removing the step (3) above and see if we still need to continue removing this config file as test runs without this step complete properly.
Actions