[Top][All Lists]

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

[Jailkit-users] Re: [Jailkit-dev] proposal for new jk_init functionality

From: Olivier Sessink
Subject: [Jailkit-users] Re: [Jailkit-dev] proposal for new jk_init functionality
Date: Mon, 02 Jul 2007 23:23:10 +0200
User-agent: Icedove (X11/20070607)

Olivier Sessink wrote:
Hi all,

in some situations it can be required to keep the ownership of files the same while copying them into the jail. For example a daemon that uses a file or directory to store current sessions. The current jk_init config file format does not allow to specify this.

I was thinking of replacing the old format (example):

executables = /bin/bash
regularfiles = /etc/bashrc
libraries = /lib/mylib.so
directories = /etc/terminfo

with a new format (example):

path =  /bin/bash,  /etc/bashrc, /lib/mylib.so, /etc/terminfo
path_w_owner = /var/lib/mydaemon/

the new format is now functional in the cvs version. The old format is still supported.

I also implemented wildcards in the cvs version

for example /lib/libnss*.so will now work in jk_init.ini


reply via email to

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