RE: Beta1: FeatureRequest

From: Murray S. Kucherawy <msk_at_cloudmark.com>
Date: Mon, 7 Nov 2011 16:50:56 -0800

> -----Original Message-----
> From: John Wood [mailto:john+opendkim_at_charpa.org]
> Sent: Monday, November 07, 2011 4:45 PM
> To: Murray S. Kucherawy
> Cc: opendkim-dev_at_lists.opendkim.org
> Subject: Re: Beta1: FeatureRequest
>
> > Interesting idea. Can you think of any extant RPM for some other
> > software that does this which I could use as a template?
>
> Another option is to do it in the start-up script. If chroot is
> selected/configured the script checks for an environment. If it is
> missing, it auto-creates. Shipping various start-up scripts for
> $whateverOS wouldn't be too difficult to manage (maybe 3 or 4 to
> start?). User submitted scripts for obscure Linux distros, etc. could go
> in contrib/, too.
>
> (this is what the BIND start-up script on FreeBSD (and other platforms) does)

OK, since I'm quite busy for the next two weeks, this is a call for such contributions. :-)

There's an opendkim command line flag "-e" that lets you pull one config variable. You could use this to check to see if the ChangeRootDirectory option is set and then run your jail setup commands/function.
Received on Tue Nov 08 2011 - 00:51:03 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:33:13 PST