<div dir="ltr">Hi Edward,<br>&nbsp;The problem here is libfuse takes the liberty to add the nodev, nosuid option (if dev,suid is not specified) in later versions. <br><br>Currently I have committed a patch to solve this issue, as glusterfs explicitly specifies, &#39;dev, suid&#39; options. But with whatever release you are trying, you may have to edit the sourecode a bit and compile to get it working<br>
<br>open xlators/mount/fuse/src/fuse-bridge.c,<br>goto function &#39;init()&#39;<br>add <br>&nbsp;&nbsp; &quot;-o&quot;, &quot;dev&quot;, &quot;-o&quot;, &quot;suid&quot;, <br>to fuse_argv, and increment fuse_argc by 4 (from whatever value it has there).<br>
<br>compile glusterfs, install, and you should be good to solve this problem.<br><br>Regards,<br>Amar<br><br><div class="gmail_quote">2008/9/10 Edward Capriolo <span dir="ltr">&lt;<a href="mailto:edlinuxguru@gmail.com">edlinuxguru@gmail.com</a>&gt;</span><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>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Amar Tumballi<br>Gluster/GlusterFS Hacker<br>[bulde on #gluster/<a href="http://irc.gnu.org">irc.gnu.org</a>]<br><a href="http://www.zresearch.com">http://www.zresearch.com</a> - Commoditizing Super Storage!<br>

</div>