Bug 1145989 - package POSTIN scriptlet failure
Summary: package POSTIN scriptlet failure
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Bala.FA
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1145992 1312374 1315024 1315935
TreeView+ depends on / blocked
 
Reported: 2014-09-24 09:03 UTC by Lalatendu Mohanty
Modified: 2016-03-09 03:44 UTC (History)
7 users (show)

Fixed In Version: glusterfs-3.7.0
Clone Of: 1119205
: 1145992 (view as bug list)
Environment:
Last Closed: 2015-05-14 17:27:48 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Lalatendu Mohanty 2014-09-24 09:03:25 UTC
+++ 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:11:04 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:35:06 UTC
REVIEW: http://review.gluster.org/8835 (build: remove /sbin/ldconfig as interpreter) posted (#1) for review on master by Bala FA (barumuga)

Comment 3 Anand Avati 2014-09-24 11:44:19 UTC
REVIEW: http://review.gluster.org/8835 (build: remove /sbin/ldconfig as interpreter) posted (#2) for review on master by Bala FA (barumuga)

Comment 4 Anand Avati 2014-09-25 17:29:32 UTC
COMMIT: http://review.gluster.org/8835 committed in master by Vijay Bellur (vbellur) 
------
commit 94b0ac65c35d5e167d8e761f198edffe78c7dab2
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: 1145989
    Change-Id: Ic321f200d92d2e49ff797965a006f63f483d29be
    Signed-off-by: Bala.FA <barumuga>
    Reviewed-on: http://review.gluster.org/8835
    Reviewed-by: Lalatendu Mohanty <lmohanty>
    Tested-by: Lalatendu Mohanty <lmohanty>
    Reviewed-by: Niels de Vos <ndevos>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>
    Tested-by: Gluster Build System <jenkins.com>

Comment 5 Niels de Vos 2015-05-14 17:27:48 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.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 6 Niels de Vos 2015-05-14 17:35:37 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.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 7 Niels de Vos 2015-05-14 17:37:59 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.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 8 Niels de Vos 2015-05-14 17:44:01 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.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


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