|
From: | Richard Scott |
Subject: | [Jailkit-dev] Jailkit and Fuse mounted filesystems |
Date: | Thu, 13 Dec 2012 14:18:48 +0000 |
User-agent: | Webmail/1.0 |
Hi,
I'm having an issue with using JailKit and fuse mounted filesystem? Specifically GlusterFS: http://www.gluster.org/
I have written a bash script that creates a chroot with jailkit commands and sets the correct permissions etc and this works 100% of the time on an EXT4 FS:
1# Dec 12 15:37:34 recon jk_chrootsh[31029]: now entering jail /home/scott for user richard (1500) with arguments
However, when I create a chroot (via the same script) inside the fuse mounted GlusterFS filesystem I get an error:
2# Dec 12 15:43:02 recon jk_chrootsh[31796]: abort, /home/glusterfs/scottg is not a safe chroot jail.
In line #1 above I have used the chroot on ext4 and line #2 (the error) is the result from the GlusterFS fuse mounted file system. The same script was used to create both chroots and I am confident that permissions are all ok (as they are set in the script). One thing to note is that it used to work in the past (about 2 years ago). I've rolled back to an older version of GlusterFS and this hasn't fixed it but I've not been able to roll back jailkit due to the symlinks used on Fedora 17.
Does anyone have any ideas? Is this a bug?
Thanks,
Rich
---
Additional: How to create a GlusterFS volume on Fedora 17:
[Prev in Thread] | Current Thread | [Next in Thread] |