[vserver] problems mounting fuse filesystem

From: Ed W <lists_at_wildgooses.com>
Date: Wed 03 Mar 2010 - 18:28:24 GMT
Message-ID: <4B8EAA48.4050408@wildgooses.com>

Hi, I could use some help figuring out how to mount a fuse filesystem
under a vserver

The goal is to use glusterfs as a server from within a vserver (will
eventually want it as a client also)

A "working" configuration is simply to add SYS_ADMIN to bcapabilities

Instead I tried adding to ccapabilities:
SECURE_MOUNT
SECURE_REMOUNT
BINARY_MOUNT
FS_SECURITY

This doesn't work and glusterfs gives the following error:
[2010-03-03 18:19:50] C [posix.c:4876:init] brick: Extended attribute
not supported, exiting.

strace shows:

stat("/mnt/gluster-export", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lsetxattr("/mnt/gluster-export", "trusted.glusterfs.test", "working", 8,
0) = -1 EPERM (Operation not permitted)

Can anyone please help with a suggestion on what capabilities will let
my guest run lsetxattr here?

Kernel: 2.6.32.8-grsec2.1.14-vs2.3.0.36.29.1

Thanks

Ed W
Received on Wed Mar 3 18:28:49 2010

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 03 Mar 2010 - 18:28:50 GMT by hypermail 2.1.8