jailkit-dev
[Top][All Lists]
Advanced

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

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


From: Olivier Sessink
Subject: Re: [Jailkit-dev] proposal for new jk_init functionality
Date: Mon, 02 Jul 2007 23:23:10 +0200
User-agent: Icedove 1.5.0.12 (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):

--------
[mysection]
executables = /bin/bash
regularfiles = /etc/bashrc
libraries = /lib/mylib.so
directories = /etc/terminfo
--------

with a new format (example):

--------
[mysection]
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

regards,
        Olivier




reply via email to

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