freeipa / freeipa-openshift-container

FreeIPA container for OpenShift 4
5 stars 7 forks source link

tmpfiles.py: fixed symlink creation (fixes #40) #41

Open jngrb opened 2 years ago

jngrb commented 2 years ago

detect 'broken links' and take care of them in classes SymlinkCreate and SymlinkRecreate

reason (tested with unmodified Fedora Rawhide): when evaluating /usr/lib/tmpfiles.d/gssproxy.conf, tmpfiles.py runs into error: FileExistsError: [Errno 17] File exists: '/run/gssproxy.default.sock' -> '/var/lib/gssproxy/default.sock'

see issue #40