-
Bug
-
Resolution: Done
-
Normal
-
None
-
6.15.0
Description of problem:
The procedure listed in "14.3.1. Synchronizing templates with an existing repository
Copy link" does not work.
The foreman user does not have write permission in its own home directory and is unable to create the `.gitconfig` directory.
How reproducible:
always
Is this issue a regression from an earlier version:
unknown
Steps to Reproduce:
1. Run `sudo -u foreman git config --global http.sslCAPath Path_To_My_Certificate`
Actual behavior:
Git config command fails:
```
- sudo -u foreman git config --global http.sslCAPath /etc/pki/tls/certs/2022-IT-Root-CA.pem
error: could not lock config file /usr/share/foreman/.gitconfig: Permission denied
- $ grep foreman /etc/passwd
foreman-proxy:x:990:988:Foreman Proxy daemon user:/usr/share/foreman-proxy:/bin/false
foreman:x:989:987:Foreman:/usr/share/foreman:/sbin/nologin
- ls -lad /usr/share/foreman/
drwxr-xr-x. 14 root root 4096 Apr 26 17:51 /usr/share/foreman/
```
Expected behavior:
This section should document how to allow Satellite to connect to a remote git repo.
Business Impact / Additional info:
- is related to
-
SAT-27349 Add support for using a http proxy when syncing templates
- In Progress