bugGluster - Bugs: bug #25746, gluster not installable by non-root

 
 

bug #25746: gluster not installable by non-root

Submitted by:  -Deleted Account- <findepi>
Submitted on:  Mon 02 Mar 2009 01:43:29 PM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build failure
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 2.0.0.rc2
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.

 

Mon 02 Mar 2009 08:25:04 PM UTC, comment #4:

`make -k` is what I actually did later on.

However, as I posted on glusterfs-users mailing list, neither glusterfs nor glusterfsd worked as non-root and the later failed without any notice or feedback.

So I could install programs as non-root into /tmp, but I had to sudo to run them.

-Deleted Account- <findepi>
Mon 02 Mar 2009 04:57:23 PM UTC, comment #3:

the problem why this fails is because of the installation of 'mount.glusterfs'. As of now you can still install things by doing make -k install, and use the code as non-root.

Amar Tumballi <amarts>
Project Member
Mon 02 Mar 2009 04:18:23 PM UTC, comment #2:

Well, this is FUSE-based. Many (majority?) FUSE filesystems are in the form of user-runnable programs.
For example: sshfs, encfs, gmailfs...

Generally there is no implication "filesystem" => "run from root".

-Deleted Account- <findepi>
Mon 02 Mar 2009 03:39:12 PM UTC, comment #1:

glusterfs is a filesystem and it needs to run as root. If you are trying to run it as a non-root, that is a special case, and its expected to fail. (mount.glusterfs has to go /sbin).

Marking it as invalid.

Amar Tumballi <amarts>
Project Member
Mon 02 Mar 2009 01:43:29 PM UTC, original submission:

I've:
- downloaded 2.0.0rc2 package from http://ftp.gluster.com/pub/gluster/glusterfs/2.0/LATEST/glusterfs-2.0.0rc2.tar.gz,
- untared it
- configuerd with --prefix=/tmp option
- run `make`
- run `make install`

`make install` should end with a success, but instead it failed with:
---------------------
...
make[4]: Leaving directory `/home/kp/azouk/glusterfs/glusterfs-2.0.0rc2/xlators/mount/fuse/src'
Making install in utils
make[4]: Entering directory `/home/kp/azouk/glusterfs/glusterfs-2.0.0rc2/xlators/mount/fuse/utils'
make[5]: Entering directory `/home/kp/azouk/glusterfs/glusterfs-2.0.0rc2/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 create regular file `/sbin/mount.glusterfs': Permission denied
make[5]: *** [install-utilSCRIPTS] Error 1
make[5]: Leaving directory `/home/kp/azouk/glusterfs/glusterfs-2.0.0rc2/xlators/mount/fuse/utils'
make[4]: *** [install-am] Error 2
make[4]: Leaving directory `/home/kp/azouk/glusterfs/glusterfs-2.0.0rc2/xlators/mount/fuse/utils'
...
---------------------

GlusterFS configure summary
===========================
FUSE client : yes
Infiniband verbs : no
epoll IO multiplex : yes
Berkeley-DB : no
libglusterfsclient : yes
mod_glusterfs : no ()
argp-standalone : no

I'm running
Linux ubuntu 2.6.24-19-generic (Hardy)

-Deleted Account- <findepi>

 

(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 amarts (Posted a comment)
  • -unavailable- added by findepi (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 02 Mar 2009 03:39:12 PM UTCamartsStatusNone=>Invalid
      Originator Name=>
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1