<div dir="ltr">Have you enabled SETUID for VServer?<br><br><a href="http://linux-vserver.org/Capabilities_and_Flags#System_capabilities_.28bcaps.29">http://linux-vserver.org/Capabilities_and_Flags#System_capabilities_.28bcaps.29</a><br>
<br><br>KwangErn<br><br><div class="gmail_quote">On Thu, Sep 11, 2008 at 5:11 AM, Edward Capriolo <span dir="ltr">&lt;<a href="mailto:edlinuxguru@gmail.com">edlinuxguru@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am attempting to install linux vserver to a glusterfs volume across<br>
two nodes. Everything is working well for normal files. I can bind<br>
mount a gluster volume as /opt for example. I am unable to make the /<br>
filesystem on a glusterfs brick.<br>
<br>
I notice that even though I can configure the system like this:<br>
vi /etc/fstab<br>
/opt/jtg/conf/jtg-client.vol &nbsp; &nbsp;/opt/jtg/mnt/shared &nbsp; &nbsp; glusterfs<br>
&nbsp;setuid,dev,rw,nouser,exec &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; 0<br>
<br>
After a mount the permissions are always the same.<br>
vi /etc/mtab<br>
glusterfs /opt/jtg/mnt/shared fuse<br>
rw,nosuid,nodev,allow_other,default_permissions,max_read=1048576 0 0<br>
<br>
It seems that the nosuid argument is always ignored as i can run<br>
setuid scripts. ./ping <a href="http://127.0.0.1" target="_blank">127.0.0.1</a><br>
More importantly I believe the &#39;dev&#39; option is required linux-vserver,<br>
but it does not seem like I can activate this mount option.<br>
<br>
bash-3.2# cat null<br>
cat: null: Permission denied<br>
<br>
If anyone has any hints let me know.<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
</blockquote></div><br></div>