elasticsearch/logstash — pull request #1343 by z0rc (2014-05-08 10:04:37+00:00)
Title: Pass correct HOME env into chroot

Without this patch the logstash isn't able to start on Debian 7 while using file input, as both `HOME` and `SINCEDB_DIR` aren't set in chroot.

Simple `echo` claims that `HOME` isn't set before the export. At least on Debian. Also `chroot --userspec` doesn't change the `HOME` env either.