Unexpected behaviour with file input and sincedb

Description

1. Fresh CentOS 6.5 64-bit host.

2. Add Logstash RPM repo.

3. yum install logstash

4. Add configuration

5. Edit /etc/sysconfig/logstash and set start to true.

6. service logstash start

7. Error output.

I see that in https://github.com/elasticsearch/logstash/blob/master/bin/logstash#L28 there is an expectation that HOME and SINCEDB_DIR will be passed in.

I also see in the packaging:

https://github.com/elasticsearch/logstash/blob/master/pkg/logstash.sysv.redhat#L76

That HOME should be set in the init script. It's looking like that isn't being passed through appropriately

testing discovered

Gliffy Diagrams

Activity

Show:

James Turnbull March 16, 2014 at 5:46 PM

Resolved in master.

James Turnbull March 16, 2014 at 5:46 PM

Okay - comparing the 1.3.3 RPMs init and 1.4.x/master it looks like this is resolved.

Apologies for the spam.

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Created March 16, 2014 at 5:38 PM
Updated March 16, 2014 at 6:02 PM
Resolved March 16, 2014 at 5:46 PM