[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] Jailkit and Fuse mounted filesystems

From: Olivier Sessink
Subject: Re: [Jailkit-users] Jailkit and Fuse mounted filesystems
Date: Thu, 13 Dec 2012 16:18:02 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 12/13/2012 01:00 PM, Richard Scott wrote:
> 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?

you can compile jk_chrootsh with more debugging information, enable
#define DEBUG in the top of the file and recompile. This will probably
give a little more information on why it aborts.


Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]