URL: https://github.com/SSSD/sssd/pull/5825 Author: sumit-bose Title: #5825: krb5: use hidden file when creating config snippets Action: opened
PR body: """ When creating config snippets fir libkrb5 SSSD first creates a temporary file with a random suffix and renames this file after all content is written. If this temporary file is not properly removed or renamed dur to an error it might confuse libkrb5.
To avoid this confusion with this patch the temporary files are created as hidden files, the name will start with a '.', which are ignored by libkrb5.
Resolves: https://github.com/SSSD/sssd/issues/5824 """
To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/5825/head:pr5825 git checkout pr5825
URL: https://github.com/SSSD/sssd/pull/5825 Title: #5825: krb5: use hidden file when creating config snippets
Label: +Bugzilla
URL: https://github.com/SSSD/sssd/pull/5825 Title: #5825: krb5: use hidden file when creating config snippets
alexey-tikhonov commented: """ There is `ding-libs/path_utils` that has relevant functions but I think it doesn't make sense to pull it in... """
See the full comment at https://github.com/SSSD/sssd/pull/5825#issuecomment-942226742
URL: https://github.com/SSSD/sssd/pull/5825 Author: sumit-bose Title: #5825: krb5: use hidden file when creating config snippets Action: synchronized
To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/5825/head:pr5825 git checkout pr5825
URL: https://github.com/SSSD/sssd/pull/5825 Title: #5825: krb5: use hidden file when creating config snippets
sumit-bose commented: """
There is `ding-libs/path_utils` that has relevant functions but I think it doesn't make sense to pull it in...
Hi,
yes, there are the POSIX `basename()` and `dirname` calls as well, but those and the ding-libs versions are not aware of talloc, so I thought implementing it directly would be more efficient.
bye, Sumit
"""
See the full comment at https://github.com/SSSD/sssd/pull/5825#issuecomment-942348678
URL: https://github.com/SSSD/sssd/pull/5825 Title: #5825: krb5: use hidden file when creating config snippets
alexey-tikhonov commented: """ Thank you, ACK. """
See the full comment at https://github.com/SSSD/sssd/pull/5825#issuecomment-942396039
URL: https://github.com/SSSD/sssd/pull/5825 Title: #5825: krb5: use hidden file when creating config snippets
Label: +Accepted
URL: https://github.com/SSSD/sssd/pull/5825 Title: #5825: krb5: use hidden file when creating config snippets
Label: +Ready to push
URL: https://github.com/SSSD/sssd/pull/5825 Title: #5825: krb5: use hidden file when creating config snippets
pbrezina commented: """ Pushed PR: https://github.com/SSSD/sssd/pull/5825
* `master` * 794127106627e01e4ab9d242b8087bb5cccb9524 - krb5: use hidden file when creating config snippets
"""
See the full comment at https://github.com/SSSD/sssd/pull/5825#issuecomment-942552117
URL: https://github.com/SSSD/sssd/pull/5825 Title: #5825: krb5: use hidden file when creating config snippets
Label: +Pushed
URL: https://github.com/SSSD/sssd/pull/5825 Title: #5825: krb5: use hidden file when creating config snippets
Label: -Accepted
URL: https://github.com/SSSD/sssd/pull/5825 Author: sumit-bose Title: #5825: krb5: use hidden file when creating config snippets Action: closed
To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/5825/head:pr5825 git checkout pr5825
URL: https://github.com/SSSD/sssd/pull/5825 Title: #5825: krb5: use hidden file when creating config snippets
Label: -Ready to push
sssd-devel@lists.fedorahosted.org