Feedback on providing RPM packages

Hey folks,

I am currently preparing a pull request to be able to create RPM packages
during build by calling "mvn rpm:rpm" via a maven plugin (you must have the
rpm development packages of your distribution installed in order to get
this working!).

The pull request is available at

I would be very glad if someone with more administration and packaging
skills than me (shouldnt be too hard actually) could take a look at the
created packages. I'm thankful for any input on how to improve the created
package.

I tried to create an RPM which supports systemd as well as starting via old
fashioned init script, so both are included and you can choose your
preferred start up method (and thus need to configure runlevels manually
via chkconfig in the init script case). Both scripts drop root privileges
on startup and run as elasticsearch user.

I hope that this package can run own fedora, centos as well as opensuse in
order to cover as many of the big distributions as possible.

So, anyone interested in an RPM, please test and give some feedback. Thanks!

--Alexander

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Does this create a single RPM for all ElasticSearch stuff, including
plugins? I'm not familiar with the Maven RPM archetype, so I can't quite
tell what it's doing... :slight_smile:

-Sean

On Wednesday, March 13, 2013 6:41:27 AM UTC-7, Alexander Reelsen wrote:

Hey folks,

I am currently preparing a pull request to be able to create RPM packages
during build by calling "mvn rpm:rpm" via a maven plugin (you must have the
rpm development packages of your distribution installed in order to get
this working!).

The pull request is available at
https://github.com/elasticsearch/elasticsearch/pull/2758

I would be very glad if someone with more administration and packaging
skills than me (shouldnt be too hard actually) could take a look at the
created packages. I'm thankful for any input on how to improve the created
package.

I tried to create an RPM which supports systemd as well as starting via
old fashioned init script, so both are included and you can choose your
preferred start up method (and thus need to configure runlevels manually
via chkconfig in the init script case). Both scripts drop root privileges
on startup and run as elasticsearch user.

I hope that this package can run own fedora, centos as well as opensuse in
order to cover as many of the big distributions as possible.

So, anyone interested in an RPM, please test and give some feedback.
Thanks!

--Alexander

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey,

this only creates a RPM package of the elasticsearch distribution (contents
are similar to the zipfile). There are no extra plugins packaged. You still
need to install them via the plugin command..

Hope this helps,
--Alex

On Wed, Mar 13, 2013 at 4:57 PM, VegHead organicveggie@gmail.com wrote:

Does this create a single RPM for all ElasticSearch stuff, including
plugins? I'm not familiar with the Maven RPM archetype, so I can't quite
tell what it's doing... :slight_smile:

-Sean

On Wednesday, March 13, 2013 6:41:27 AM UTC-7, Alexander Reelsen wrote:

Hey folks,

I am currently preparing a pull request to be able to create RPM packages
during build by calling "mvn rpm:rpm" via a maven plugin (you must have the
rpm development packages of your distribution installed in order to get
this working!).

The pull request is available at https://github.com/**
elasticsearch/elasticsearch/**pull/2758https://github.com/elasticsearch/elasticsearch/pull/2758

I would be very glad if someone with more administration and packaging
skills than me (shouldnt be too hard actually) could take a look at the
created packages. I'm thankful for any input on how to improve the created
package.

I tried to create an RPM which supports systemd as well as starting via
old fashioned init script, so both are included and you can choose your
preferred start up method (and thus need to configure runlevels manually
via chkconfig in the init script case). Both scripts drop root privileges
on startup and run as elasticsearch user.

I hope that this package can run own fedora, centos as well as opensuse
in order to cover as many of the big distributions as possible.

So, anyone interested in an RPM, please test and give some feedback.
Thanks!

--Alexander

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey there,

I just created an RPM from the current master branch (which basically is
just released the RC1 version). I would be grateful for any kind of
feedback.

Go here and download the RPM
https://docs.google.com/file/d/0BxIQ48d0OE1pNHZrVEtwcm5wdGM/edit

So, if you install the RPM, I would be glad if you could check for the
following features

  • Does it install flawlessly
  • Does it start automatically
  • Does it run under elasticsearch user privileges?
  • Are there log files owned by the elasticsearch user at
    /var/log/elasticsearch
  • Do data files exist at /var/lib/elasticsearch ?
  • Can the package be removed without problems
  • Is the elasticsearch user removed after the uninstallation?

If you find anything suspicious in between, drop me a mail including your
distribution, its version and a little information what failed.

If you are using a systemd enabled system (like opensuse) you can ignore
the init script.
Otherwise chkconfig and the init script should be used to enable the
service.

Thanks!

On Wed, Mar 13, 2013 at 5:13 PM, Alexander Reelsen alr@spinscale.de wrote:

Hey,

this only creates a RPM package of the elasticsearch distribution
(contents are similar to the zipfile). There are no extra plugins packaged.
You still need to install them via the plugin command..

Hope this helps,
--Alex

On Wed, Mar 13, 2013 at 4:57 PM, VegHead organicveggie@gmail.com wrote:

Does this create a single RPM for all ElasticSearch stuff, including
plugins? I'm not familiar with the Maven RPM archetype, so I can't quite
tell what it's doing... :slight_smile:

-Sean

On Wednesday, March 13, 2013 6:41:27 AM UTC-7, Alexander Reelsen wrote:

Hey folks,

I am currently preparing a pull request to be able to create RPM
packages during build by calling "mvn rpm:rpm" via a maven plugin (you must
have the rpm development packages of your distribution installed in order
to get this working!).

The pull request is available at https://github.com/**
elasticsearch/elasticsearch/**pull/2758https://github.com/elasticsearch/elasticsearch/pull/2758

I would be very glad if someone with more administration and packaging
skills than me (shouldnt be too hard actually) could take a look at the
created packages. I'm thankful for any input on how to improve the created
package.

I tried to create an RPM which supports systemd as well as starting via
old fashioned init script, so both are included and you can choose your
preferred start up method (and thus need to configure runlevels manually
via chkconfig in the init script case). Both scripts drop root privileges
on startup and run as elasticsearch user.

I hope that this package can run own fedora, centos as well as opensuse
in order to cover as many of the big distributions as possible.

So, anyone interested in an RPM, please test and give some feedback.
Thanks!

--Alexander

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.