To avoid issues like:
/etc/cron.daily/logrotate:
gzip: stdin: file size changed while zipping
This change is harmless and will prevent errors like this one
stderror still open after calling /etc/init.d/logstash start
You should redirect stderror AND stdout of logstash to /dev/null, so all outputs are closed cleanly and automation tools reading the output of the init-script can quit cleanly.
This fixes#893. The previous dependency "default-jre-headless" is just
a metapackage pointing at openjre6, but "java6-runtime-headless" is a
'Provides' entry that openjdk packages seem to provide for java versions
6 and 7. This should ensure we are correctly requesting *any* java 6+
implementation instead of requiring a specific java package.
To recap, the goal is to keep the commit sha1 in the package release
number after the always-incrementing timestamp, and not in logstash's
version number.
Otherwise, we risk having dpkg/rpm believe the package will be
downgraded in the case let's say you have an 1.2.3.dev-abc123 version
which arrives after 1.2.3.dev-def456.
Fixed the following warnings:
[root@localhost rpmbuild]# rpmbuild -bb SPECS/logstash.spec
varning: bogus date in %changelog: Fri May 6 2013 sjir@basefarm.se 1.1.10-3
varning: bogus date in %changelog: Sat Feb 1 2013 Richard Pijnenburg <richard@i spavailability.com> - 1.1.9-1
varning: bogus date in %changelog: Fri May 6 2013 sjir@basefarm.se 1.1.10-3
varning: bogus date in %changelog: Sat Feb 1 2013 Richard Pijnenburg <richard@i spavailability.com> - 1.1.9-1
Fixed the following warnings:
[root@localhost rpmbuild]# rpmbuild -bb SPECS/logstash.spec
varning: bogus date in %changelog: Fri May 6 2013 sjir@basefarm.se 1.1.10-3
varning: bogus date in %changelog: Sat Feb 1 2013 Richard Pijnenburg <richard@i spavailability.com> - 1.1.9-1
varning: bogus date in %changelog: Fri May 6 2013 sjir@basefarm.se 1.1.10-3
varning: bogus date in %changelog: Sat Feb 1 2013 Richard Pijnenburg <richard@i spavailability.com> - 1.1.9-1
Fixed the following warnings:
[root@localhost rpmbuild]# rpmbuild -bb SPECS/logstash.spec
varning: bogus date in %changelog: Fri May 6 2013 sjir@basefarm.se 1.1.10-3
varning: bogus date in %changelog: Sat Feb 1 2013 Richard Pijnenburg <richard@i spavailability.com> - 1.1.9-1
varning: bogus date in %changelog: Fri May 6 2013 sjir@basefarm.se 1.1.10-3
varning: bogus date in %changelog: Sat Feb 1 2013 Richard Pijnenburg <richard@i spavailability.com> - 1.1.9-1