Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jngrb
Copy link

@jngrb jngrb commented Aug 1, 2022

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

detect broken links and take care of it
in class 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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant