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
[release-4.6] Bug 1933075: backport systemd dropin/units zero-length handling #2435
[release-4.6] Bug 1933075: backport systemd dropin/units zero-length handling #2435
Conversation
This fixes a problem were a previous dropin/unit is replaced with zero length file by ensuring that drops/units have actual content. Signed-off-by: Ben Howard <ben.howard@redhat.com> (cherry picked from commit c6df6d8)
The previous commit checks for IsNotExist as a return of checkFileContentsAndMode, which since we wrap the error, will never be the case, thus always erroring there. Instead check for the error in a separate case. Signed-off-by: Yu Qi Zhang <jerzhang@redhat.com> (cherry picked from commit 44d95f3) Signed-off-by: Ben Howard <ben.howard@redhat.com>
@darkmuggle: This pull request references Bugzilla bug 1933075, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 6 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Cherry-picks did not cleanly apply, this is a hand-crafted artisanal commit: |
Does this need to merge first? Or second? |
@darkmuggle: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
failing test is very red
/skip
@kikisdeliveryservice this should merge first |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: darkmuggle, kikisdeliveryservice, sinnykumari The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
(Patch Manager) met criteria. |
@darkmuggle: All pull requests linked via external trackers have merged: Bugzilla bug 1933075 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Dependency backports for Bug 1933077.
This fixes a problem were a previous dropin/unit is replaced with zero
length file by ensuring that drops/units have actual content.
Signed-off-by: Ben Howard ben.howard@redhat.com
(cherry picked from commit c6df6d8)
The previous commit checks for IsNotExist as a return of
checkFileContentsAndMode, which since we wrap the error, will
never be the case, thus always erroring there. Instead check
for the error in a separate case.
Signed-off-by: Yu Qi Zhang <jerzhang@redhat.