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

Ignore unlink error in ipa-otpd.socket #469

Closed
wants to merge 1 commit into from

Conversation

tiran
Copy link
Member

@tiran tiran commented Feb 15, 2017

Don't fail in case the file does not exist.

Signed-off-by: Christian Heimes cheimes@redhat.com

Don't fail in case the file does not exist.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
@martbab
Copy link
Contributor

martbab commented Feb 16, 2017

LGTM, but do we require this fix also in 4-4 branch?

@HonzaCholasta
Copy link
Contributor

This will ignore all errors, not just file does not exist. Are we OK with that?

@tiran
Copy link
Member Author

tiran commented Feb 17, 2017

Would you rather use /usr/bin/rm -f to only ignore missing files but propagate permission errors? I'm not sure why unlink was used in favor of rm. @simo5 ?

@simo5
Copy link
Contributor

simo5 commented Feb 17, 2017

@tiran I do not know, @npmccallum may know.

@npmccallum
Copy link
Contributor

We shouldn't use either. We should use RemoveOnStop= now.

@npmccallum
Copy link
Contributor

This PR can be closed.

@tiran tiran closed this Feb 17, 2017
@tiran tiran deleted the ipa_otpd_ignore_unlink branch February 17, 2017 14:16
@MartinBasti MartinBasti added the rejected Pull Request has been rejected label Feb 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rejected Pull Request has been rejected
Projects
None yet
6 participants