Bug 223704 - krb5: non-failsafe install-info use in scriptlets
krb5: non-failsafe install-info use in scriptlets
Product: Fedora
Classification: Fedora
Component: krb5 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Brian Brock
: EasyFix, Patch
Depends On:
  Show dependency treegraph
Reported: 2007-01-21 15:47 EST by Ville Skyttä
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-01-23 12:03:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Make install-info use in scriptlets failsafe (977 bytes, patch)
2007-01-21 15:47 EST, Ville Skyttä
no flags Details | Diff

  None (edit)
Description Ville Skyttä 2007-01-21 15:47:31 EST
krb5's install-info use in scriptlets is not failsafe, fix attached.  More info:
Comment 1 Ville Skyttä 2007-01-21 15:47:31 EST
Created attachment 146127 [details]
Make install-info use in scriptlets failsafe
Comment 2 Nalin Dahyabhai 2007-01-22 14:53:25 EST
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?
Comment 3 Ville Skyttä 2007-01-23 12:01:52 EST
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.
Comment 4 Ville Skyttä 2007-01-23 12:03:18 EST
Oh, and this seems to be fixed in CVS, thanks.

Note You need to log in before you can comment on or make changes to this bug.