Bug 223704
Summary: | krb5: non-failsafe install-info use in scriptlets | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ville Skyttä <ville.skytta> | ||||
Component: | krb5 | Assignee: | Nalin Dahyabhai <nalin> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | Keywords: | EasyFix, Patch | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-01-23 17:03:18 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Ville Skyttä
2007-01-21 20:47:31 UTC
Created attachment 146127 [details]
Make install-info use in scriptlets failsafe
For future reference, what's the rule here? If we call install-info last, we explicitly return 0, or is it that we need to if we call install-info at all? The scriptlet's exit code is the one of the last command executed in it, and execution does not (as of now) stop if an intermediate command returns non-zero. So if there are commands after install-info that are not known to fail in "normal" situations (such as %_excludedocs or read-only /usr/share), an explicit zero exit code is not needed. Oh, and this seems to be fixed in CVS, thanks. |