Bug 745951

Summary: post/preun/postun scriplets broken
Product: [Fedora] Fedora EPEL Reporter: Xavier Bachelot <xavier>
Component: openstack-swiftAssignee: Silas Sewell <silas>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: david, markmc, silas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-17 10:39:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Patch fixing scriptlets none

Description Xavier Bachelot 2011-10-13 14:06:41 UTC
Created attachment 528035 [details]
Patch fixing scriptlets

Description of problem:
On openstack-swift packages installation, pre/post scriptlet fail with :
""
  Installing : openstack-swift-account-1.0.2-5.el6.noarch
Non-fatal POSTIN scriptlet failure in rpm package openstack-swift-account-1.0.2-5.el6.noarch
error reading information on service swift-account: No such file or directory
warning: %post(openstack-swift-account-1.0.2-5.el6.noarch) scriptlet failed, exit status 1
  Installing : openstack-swift-proxy-1.0.2-5.el6.noarch
Non-fatal POSTIN scriptlet failure in rpm package openstack-swift-proxy-1.0.2-5.el6.noarch
error reading information on service swift-proxy: No such file or directory
warning: %post(openstack-swift-proxy-1.0.2-5.el6.noarch) scriptlet failed, exit status 1
  Installing : openstack-swift-object-1.0.2-5.el6.noarch
Non-fatal POSTIN scriptlet failure in rpm package openstack-swift-object-1.0.2-5.el6.noarch
error reading information on service swift-object: No such file or directory
warning: %post(openstack-swift-object-1.0.2-5.el6.noarch) scriptlet failed, exit status 1
  Installing : openstack-swift-auth-1.0.2-5.el6.noarch
Non-fatal POSTIN scriptlet failure in rpm package openstack-swift-auth-1.0.2-5.el6.noarch
error reading information on service swift-auth: No such file or directory
warning: %post(openstack-swift-auth-1.0.2-5.el6.noarch) scriptlet failed, exit status 1
  Installing : openstack-swift-container-1.0.2-5.el6.noarch
Non-fatal POSTIN scriptlet failure in rpm package openstack-swift-container-1.0.2-5.el6.noarch
error reading information on service swift-container: No such file or directory
warning: %post(openstack-swift-container-1.0.2-5.el6.noarch) scriptlet failed, exit status 1
""

Version-Release number of selected component (if applicable):
1.0.2-5.el6

How reproducible:
Always

Steps to Reproduce:
1. yum install openstack-swift
2.
3.
  
Actual results:
Installation throw out errors, services are not registered.

Expected results:
Installation ends quietly, services are registered.

Additional info:
Patch attached.

Comment 1 Mark McLoughlin 2011-10-17 10:38:44 UTC
*** Bug 733884 has been marked as a duplicate of this bug. ***

Comment 2 Mark McLoughlin 2011-10-17 10:39:51 UTC
Thanks Xavier, looks like this was already reported with a patch

*** This bug has been marked as a duplicate of bug 685155 ***