Dean,
Did you try the mount command?
I was able to successfully mount over the symlink and saw the correct
contents of the folder.
If this testing works, then I'll get rid of the symlink and use "mount
--bind" instead. We're using this now for a couple of other
directories, but seems like I forgot to change it for /jail.
Heiko
Quoting Dean Takemori <de...@ha...>:
>> From: "Heiko Zuerker" <he...@zu...>
>> Date: 2012-06-17 14:07
>>
>> Hey,
>>
>> I just saw /jail is still a symlink to /shm/jail.
>> Execute this command and then try again:
>> mount -n --bind /shm/jail /jail
>>
>> Let me know the results, so we can do the appropriate changes in the next DL
>> release.
>
> Doesn't work unfortunately, since /jail is a symlink to /shm/mail
> and /jail can't be deleted and replaced with a real directory due
> to it being on a read-only filesystem.
>
> But doing a test jk_init into a /tmp subdirectory did initialize
> the jail, so I expect chrooting the user should work as expected
> once the jail is created.
>
> I'm grabbing the build system/environment right now and will report
> on getting this working.
>
> -dean takemori
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Devil-linux-discuss mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss
--
Regards
Heiko Zuerker
http://www.devil-linux.org
|