Bug 745951 - post/preun/postun scriplets broken
Summary: post/preun/postun scriplets broken
Keywords:
Status: CLOSED DUPLICATE of bug 685155
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: openstack-swift
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Silas Sewell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-13 14:06 UTC by Xavier Bachelot
Modified: 2011-10-17 10:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-17 10:39:51 UTC
Type: ---


Attachments (Terms of Use)
Patch fixing scriptlets (2.67 KB, patch)
2011-10-13 14:06 UTC, Xavier Bachelot
no flags Details | Diff

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 ***


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