Bug 1145992 - package POSTIN scriptlet failure
Summary: package POSTIN scriptlet failure
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Bala.FA
QA Contact:
URL:
Whiteboard:
Depends On: 1145989
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-24 09:08 UTC by Lalatendu Mohanty
Modified: 2015-11-23 02:58 UTC (History)
8 users (show)

Fixed In Version: glusterfs-3.6.1
Clone Of: 1145989
Environment:
Last Closed: 2014-11-10 15:13:45 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Lalatendu Mohanty 2014-09-24 09:08:55 UTC
+++ This bug was initially created as a clone of Bug #1145989 +++

+++ This bug was initially created as a clone of Bug #1119205 +++

Description of problem:

glusterfs-libs-3.6.0.22-1.el6.x86_64 rpm package POSTIN scriptlet failure:


  Updating   : openssl-1.0.1e-28.el6.x86_64                                                106/360 
  Updating   : glusterfs-libs-3.6.0.22-1.el6.x86_64                                        107/360 
Non-fatal POSTIN scriptlet failure in rpm package glusterfs-libs-3.6.0.22-1.el6.x86_64
/sbin/ldconfig: relative path `2' used to build cache
warning: %post(glusterfs-libs-3.6.0.22-1.el6.x86_64) scriptlet failed, exit status 1
  Updating   : glusterfs-api-3.6.0.22-1.el6.x86_64                                         108/360 
  Installing : glusterfs-3.6.0.22-1.el6.x86_64                                             109/360 

This is related to bug 1100214.


Version-Release number of selected component (if applicable):
glusterfs-libs-3.6.0.22-1.el6.x86_64

How reproducible:
Assuming rapidly

Steps to Reproduce:
1. update to RHEL-6.6-DevelPhaseExit-1.0 glusterfs-libs*

Actual results:
  glusterfs-libs-3.6.0.22-1.el6.x86_64 POSTIN scriptlet failure

Expected results
  glusterfs-libs no scriptlet failure

Additional info:

--- Additional comment from Frantisek Reznicek on 2014-07-14 05:20:47 EDT ---

The action I was doing is an update from
# grep gluster rhel6.5_server_packages.140714.log
glusterfs-api-3.4.0.57rhs-1.el6_5.x86_64
glusterfs-libs-3.4.0.57rhs-1.el6_5.x86_64

to

# grep gluster rhel6.6_server_packages.140714.log
glusterfs-3.6.0.22-1.el6.x86_64
glusterfs-api-3.6.0.22-1.el6.x86_64
glusterfs-libs-3.6.0.22-1.el6.x86_64

--- Additional comment from Scott Haines on 2014-08-06 11:37:36 EDT ---

Moving back to MODIFIED since I can't attach it to the erratum.

--- Additional comment from errata-xmlrpc on 2014-08-06 13:37:35 EDT ---

Bug report changed to ON_QA status by Errata System.
A QE request has been submitted for advisory RHBA-2014:18089-01
https://errata.devel.redhat.com/advisory/18089

--- Additional comment from Lalatendu Mohanty on 2014-09-18 02:58:00 EDT ---

Installed GlusterFS client pkgs i.e. glusterfs-fuse-3.6.0.28-2.el6 using  http://download.devel.redhat.com/rel-eng/latest-RHEL-6/6.6/Server/x86_64/os/   on RHEL6.6 and did not find the issue.

Hence marking it as verified.

# yum install glusterfs-fuse
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package glusterfs-fuse.x86_64 0:3.6.0.28-2.el6 will be installed
--> Processing Dependency: glusterfs = 3.6.0.28-2.el6 for package: glusterfs-fuse-3.6.0.28-2.el6.x86_64
--> Running transaction check
---> Package glusterfs.x86_64 0:3.6.0.28-2.el6 will be installed
--> Processing Dependency: glusterfs-libs = 3.6.0.28-2.el6 for package: glusterfs-3.6.0.28-2.el6.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: glusterfs-3.6.0.28-2.el6.x86_64
--> Processing Dependency: libgfrpc.so.0()(64bit) for package: glusterfs-3.6.0.28-2.el6.x86_64
--> Processing Dependency: libgfxdr.so.0()(64bit) for package: glusterfs-3.6.0.28-2.el6.x86_64
--> Processing Dependency: libglusterfs.so.0()(64bit) for package: glusterfs-3.6.0.28-2.el6.x86_64
--> Running transaction check
---> Package glusterfs-api.x86_64 0:3.6.0.28-2.el6 will be installed
---> Package glusterfs-libs.x86_64 0:3.6.0.28-2.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                               Arch                          Version                                 Repository                          Size
======================================================================================================================================================
Installing:
 glusterfs-fuse                        x86_64                        3.6.0.28-2.el6                          latest-RHEL                         78 k
Installing for dependencies:
 glusterfs                             x86_64                        3.6.0.28-2.el6                          latest-RHEL                        1.3 M
 glusterfs-api                         x86_64                        3.6.0.28-2.el6                          latest-RHEL                         56 k
 glusterfs-libs                        x86_64                        3.6.0.28-2.el6                          latest-RHEL                        263 k

Transaction Summary
======================================================================================================================================================
Install       4 Package(s)

Total download size: 1.7 M
Installed size: 6.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): glusterfs-3.6.0.28-2.el6.x86_64.rpm                                                                                     | 1.3 MB     00:00     
(2/4): glusterfs-api-3.6.0.28-2.el6.x86_64.rpm                                                                                 |  56 kB     00:00     
(3/4): glusterfs-fuse-3.6.0.28-2.el6.x86_64.rpm                                                                                |  78 kB     00:00     
(4/4): glusterfs-libs-3.6.0.28-2.el6.x86_64.rpm                                                                                | 263 kB     00:00     
------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                 2.6 MB/s | 1.7 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : glusterfs-libs-3.6.0.28-2.el6.x86_64                                                                                               1/4 
  Installing : glusterfs-api-3.6.0.28-2.el6.x86_64                                                                                                2/4 
  Installing : glusterfs-3.6.0.28-2.el6.x86_64                                                                                                    3/4 
  Installing : glusterfs-fuse-3.6.0.28-2.el6.x86_64                                                                                               4/4 
  Verifying  : glusterfs-fuse-3.6.0.28-2.el6.x86_64                                                                                               1/4 
  Verifying  : glusterfs-3.6.0.28-2.el6.x86_64                                                                                                    2/4 
  Verifying  : glusterfs-api-3.6.0.28-2.el6.x86_64                                                                                                3/4 
  Verifying  : glusterfs-libs-3.6.0.28-2.el6.x86_64                                                                                               4/4 

Installed:
  glusterfs-fuse.x86_64 0:3.6.0.28-2.el6                                                                                                              

Dependency Installed:
  glusterfs.x86_64 0:3.6.0.28-2.el6             glusterfs-api.x86_64 0:3.6.0.28-2.el6             glusterfs-libs.x86_64 0:3.6.0.28-2.el6            

Complete!

Comment 1 Lalatendu Mohanty 2014-09-24 09:09:49 UTC
I saw similar issue with 3.6.0beta1 RPMs

"yum remove glusterfs-libs" giving some Non-fatal POSTUN scriptlet failure.

/sbin/ldconfig: relative path `0' used to build cache
warning: %postun(glusterfs-libs-3.6.0-0.1.beta1.fc20.x86_64) scriptlet failed, exit status 1
Non-fatal POSTUN scriptlet failure in rpm package glusterfs-libs-3.6.0-0.1.beta1.fc20.x86_64

Comment 2 Anand Avati 2014-09-24 10:39:35 UTC
REVIEW: http://review.gluster.org/8836 (build: remove /sbin/ldconfig as interpreter) posted (#1) for review on release-3.6 by Bala FA (barumuga)

Comment 3 Anand Avati 2014-09-24 11:42:31 UTC
REVIEW: http://review.gluster.org/8836 (build: remove /sbin/ldconfig as interpreter) posted (#2) for review on release-3.6 by Bala FA (barumuga)

Comment 4 Anand Avati 2014-09-25 17:29:57 UTC
COMMIT: http://review.gluster.org/8836 committed in release-3.6 by Vijay Bellur (vbellur) 
------
commit de39dd2c9ec0b6645c3d859d38780605e8f3a5c2
Author: Bala.FA <barumuga>
Date:   Wed Jul 2 14:21:39 2014 +0530

    build: remove /sbin/ldconfig as interpreter
    
    using /sbin/ldconfig as interpreter in pre/post/postun throws error
    /sbin/ldconfig: relative path `1' used to build cache
    
    BUG: 1145992
    Change-Id: If28415e60061ccf043a89511c192e444f162b754
    Signed-off-by: Bala.FA <barumuga>
    Reviewed-on: http://review.gluster.org/8836
    Reviewed-by: Humble Devassy Chirammal <humble.devassy>
    Reviewed-by: Lalatendu Mohanty <lmohanty>
    Tested-by: Lalatendu Mohanty <lmohanty>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>
    Reviewed-by: Niels de Vos <ndevos>

Comment 5 Niels de Vos 2014-11-10 15:13:45 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.6.1, please reopen this bug report.

glusterfs-3.6.1 has been announced [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html
[2] http://supercolony.gluster.org/mailman/listinfo/gluster-users


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