[Bugs] [Bug 1315024] glusterfs-libs postun scriptlet fail /sbin/ldconfig: relative path `1' used to build cache

bugzilla at redhat.com bugzilla at redhat.com
Sun Mar 6 08:46:07 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1315024



--- Comment #2 from Ville Skyttä <ville.skytta at iki.fi> ---
(In reply to Vijay Bellur from comment #1)
> REVIEW: http://review.gluster.org/13613

Related to this, the end of a scriptlet body is the start of another, or
another section such as %files (ignoring empty lines).

In the Fedora docs, "exit 0" is not a pattern for ensuring where a script ends,
it is there for ensuring zero exit status from the script, more about that in
https://fedoraproject.org/wiki/Packaging:Scriptlets

Preventing non-zero exit status pretty much at all costs was necessary some 10
years ago, and I'm fairly confident that it is no longer so if an actual error
for which it is good to notify users occurs. No use in letting harmless
non-zero exit statuses through though. The "Non-zero exit codes from scriptlets
break..." chapter in the above packaging doc is outdated, I'll file a bug for
removing it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=BwxKdHUoEw&a=cc_unsubscribe


More information about the Bugs mailing list