Package: makejail
Version: 0.0.5-7
Severity: wishlist
Hi,
I'm missing an option to copy files from outside the chroot to a
different location inside the chroot.
Say I want to make a jail for apache. 'makejail apache.py' will then
see an access to /etc/apache/httpd.conf and copy that file into the
chroot. Using just that mechanism means that I have apache running
outside and inside the jail with identical config. The same happens if
I specify 'forceCopy=["/etc/apache/httpd.conf"]'. More usefull would
be if one could copy a different file so that thet jailed apache has a
specialized configuration.
I'm suggesting the following:
forceCopyTo When initializing the jail, copy the files matching
these patterns to the specified destination
according to the rules used by the Unix shell.
No tilde expansion is done, but *, ?, and character
ranges expressed with [] will be correctly matched.
If a destination ends in / specifies a directory
and the source file(s) are copied there under their
original name. If the source pattern matches
multiple files then the destination must end in /.
Format: [["src1", "dest1"],["src2", "dest2"]]
Default: []
MfG
Goswin
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (499, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31.6-xen-2010.02.18 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages makejail depends on:
ii binstats 1.08-8 Statistics tool for installed prog
ii psmisc 22.10-1 utilities that use the proc file s
ii python 2.5.4-9 An interactive high-level object-o
ii strace 4.5.19-1 A system call tracer
makejail recommends no packages.
makejail suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]