Bug 220534

Summary: uucp: non-failsafe install-info usage, info files removed from index on update
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: uucpAssignee: Peter Vrabec <pvrabec>
Status: CLOSED RAWHIDE QA Contact: Bill Huang <bhuang>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: Reopened
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-04 16:45:29 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:

Description Ville Skyttä 2006-12-21 22:34:47 UTC
uucp's install-info usage is not failsafe, see
http://fedoraproject.org/wiki/Packaging/ScriptletSnippets#info

Additionally, the install-info --delete in %preun should be wrapped inside "if
[ $1 -eq 0 ]" to prevent the info files from being removed from the index on
upgrades.

Comment 1 Peter Vrabec 2007-01-03 13:48:29 UTC
fixed in uucp-1.07-13.fc7

Comment 2 Ville Skyttä 2007-01-03 16:17:58 UTC
%post can still fail, appending "|| :" to the install-info command in it or
adding a "exit 0" line as the last one in the script would take care of it.

Comment 3 Peter Vrabec 2007-01-04 16:45:29 UTC
fixed uucp-1.07-14.fc