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

Re: Bug#612752: Bind fails to start if $OPENSSL_CONF is set

On Fri, Feb 25, 2011 at 9:55 AM, Peter Palfrader <weasel@debian.org> wrote:
> We should probably start a campaign in Debian to have all init scripts
> sanitize the environment of daemons they start.
> I usually run initscripts using "env -i /etc/init.d/$foo start" to
> achieve exactly that, but ideally the init script itself would do that.
> Maybe start-stop-daemon should have an option to delete all but a
> specified set of environment variables, maybe even enabled by default.

Why start-stop-daemon?
I'd create /lib/deb/init-functions and either supply a function to
sanitize the environment or do this automatically.


Reply to: