bugGluster - Bugs: bug #26258, install error for unprivileged user

 
 

bug #26258: install error for unprivileged user

Submitted by:  None
Submitted on:  Mon 20 Apr 2009 11:18:40 PM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build failure
Status: PostponedPrivacy: Public
Assigned to: NoneOriginator Name: bulde
Originator Email: -unavailable-Open/Closed: Closed
Release: 2.0.0rc7Operating System: GNU/Linux
Reproducibility: Every Time

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 25 Jun 2009 04:22:32 AM UTC, comment #4:

This bug has been moved to http://bugs.gluster.com

Please track the progress of the bug at http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=57

--
Gowda

Basavanagowda Kanur <gowda>
Project Member
Wed 29 Apr 2009 10:33:01 PM UTC, comment #3:

thanks Amar that worked fine. it also craps out trying to install the init.d script:

make[3]: Entering directory `/var/tmp/gluster-2.0.0rc9/extras/init.d'
mkdir -p -- /etc/init.d
/usr/bin/install -c ../../extras/init.d/glusterfsd-Redhat /etc/init.d/glusterfsd
/usr/bin/install: cannot create regular file `/etc/init.d/glusterfsd': Permission denied

i hunted high and low in the configure script but can't see any flags. also i promise this is the last problem, i manually fix it and everything else is fine.

Anonymous
Wed 29 Apr 2009 02:21:13 AM UTC, comment #2:

run ./configure --with-mountutildir=/different/path/ and your make should succeed.

Amar Tumballi <amarts>
Project Member
Tue 28 Apr 2009 11:11:43 PM UTC, comment #1:

this happens in rc9 too. one might think it isn't really a problem since one doesn't normally try and install gluster without root privileges. but that is not true. i want to install multiple copies of gluster on the same machine for testing. i want to install everything into /usr/local/glusterfs-2.0.0rc7 or /usr/local/glusterfs-2.0.0rc9 as an unprivileged user, and not have /sbin/mount.glustfs overwritten.

Anonymous
Mon 20 Apr 2009 11:18:40 PM UTC, original submission:

./configure --prefix=/usr/local/glusterfs-2.0.0rc7
make ; make install

fails with

make[5]: Entering directory `/var/tmp/glusterfs-2.0.0rc7/xlators/mount/fuse/utils'
make[5]: Nothing to be done for `install-exec-am'.
test -z "/sbin" || mkdir -p -- "/sbin"
/usr/bin/install -c 'mount.glusterfs' '/sbin/mount.glusterfs'
/usr/bin/install: cannot remove `/sbin/mount.glusterfs': Permission denied
make[5]: *** [install-utilSCRIPTS] Error 1
make[5]: Leaving directory `/var/tmp/glusterfs-2.0.0rc7/xlators/mount/fuse/utils'
make[4]: *** [install-am] Error 2
make[4]: Leaving directory `/var/tmp/glusterfs-2.0.0rc7/xlators/mount/fuse/utils'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/var/tmp/glusterfs-2.0.0rc7/xlators/mount/fuse'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/var/tmp/glusterfs-2.0.0rc7/xlators/mount'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/glusterfs-2.0.0rc7/xlators'
make: *** [install-recursive] Error 1

since i don't have permission to write to /sbin, and
xlators/mount/fuse/utils/Makefile sets

utildir = $(destdir)/sbin

but destdir is not set to anything. i think destdir should be set to the eprefix specified by the configure script (which defaults to prefix).

Anonymous

 

(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 gowda (Posted a comment)
  • -unavailable- added by amarts (Posted a comment)
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 25 Jun 2009 04:22:32 AM UTCgowdaStatusNone=>Postponed
      Open/ClosedOpen=>Closed
    Wed 29 Apr 2009 02:21:13 AM UTCamartsOriginator Name=>bulde
      Originator Email=>-unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1