bugGluster - Bugs: bug #23932, RPM post-install fails on...

 
 

bug #23932: RPM post-install fails on mod_glusterfs if RPM is built --without mod_glfs

Submitted by:  Pieter Enslin <tng>
Submitted on:  Thu 24 Jul 2008 08:39:00 PM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Improper behaviour
Status: FixedPrivacy: Public
Assigned to: harshavardhana <harshavardhana>Originator Name: Bulde
Open/Closed: ClosedRelease: 1.4.0qa30
Operating System: GNU/LinuxReproducibility: Every Time

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 25 Jul 2008 06:57:31 AM UTC, comment #2:

Hi Pieter,

what is the exact command line did you pass during the rpm
build is it "--without mod_glfs" or "--without modglfs"? coz
the latter is the proper one. I have tested it on RHEL WS4.5,
during post install i don't see your errors.

My command line
[root@sysrq SOURCES]# rpmbuild -ta glusterfs-1.4.0qa30.tar.gz --without ibverbs --without modglfs

[root@sysrq x86_64]# rpm -ivh glusterfs-1.4.0qa31-1.x86_64.rpm
Preparing... ########################################### [100%]
1:glusterfs ########################################### [100%]
[root@sysrq x86_64]#

Can you please re check your command line. Please report if
if you see the problem again.

Thanks
Harshavardhana

harshavardhana <harshavardhana>
Project MemberIn charge of this item.
Thu 24 Jul 2008 08:43:30 PM UTC, comment #1:

Hi Pieter,
Thanks for this report. will have it fixed with next qa release. Should be out within another week.

Regards,
Amar

Amar Tumballi <amarts>
Project Member
Thu 24 Jul 2008 08:39:00 PM UTC, original submission:

System: RHEL5.1 x86-64 (HP BL460c)
Built RPM with: rpmbuild -tb glusterfs-1.4.0qa30.tar.gz --without ibverbs --without modglfs
(It builds without any problems)

When installing the RPM, the post-install fails when presumably attempting to install the (non-existing) apache bits.

rpm -ivh /usr/src/redhat/RPMS/x86_64/glusterfs-1.4.0qa30-1.x86_64.rpm
Preparing... ########################################### [100%]
1:glusterfs ########################################### [100%]
/usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool' /usr/lib64/glusterfs/1.4.0qa30/apache-1.3/mod_glusterfs.so /usr/lib64/httpd/modules
/usr/lib64/apr-1/build/libtool --mode=install cp /usr/lib64/glusterfs/1.4.0qa30/apache-1.3/mod_glusterfs.so /usr/lib64/httpd/modules/
cp /usr/lib64/glusterfs/1.4.0qa30/apache-1.3/mod_glusterfs.so /usr/lib64/httpd/modules/mod_glusterfs.so
cp: cannot stat `/usr/lib64/glusterfs/1.4.0qa30/apache-1.3/mod_glusterfs.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
error: %post(glusterfs-1.4.0qa30-1.x86_64) scriptlet failed, exit status 1

Pieter Enslin <tng>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by harshavardhana (Posted a comment)
  • -unavailable- added by amarts (Posted a comment)
  • -unavailable- added by tng (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 12 Aug 2008 05:44:39 PM UTCharshavardhanaStatusWorks For Me=>Fixed
      Open/ClosedOpen=>Closed
    Fri 25 Jul 2008 06:57:31 AM UTCharshavardhanaStatusNone=>Works For Me
      Assigned toNone=>harshavardhana
    Thu 24 Jul 2008 08:43:30 PM UTCamartsOriginator Name=>Bulde

    Back to the top


    Powered by Savane 3.1-cleanup1