Viacheslav Blinov created IGNITE-22648:
------------------------------------------
Summary: Update DEB/RPM packaging to be closer to linux standards
Key: IGNITE-22648
URL: https://issues.apache.org/jira/browse/IGNITE-22648
Project: Ignite
Issue Type: Task
Affects Versions: 3.0.0-beta1
Reporter: Viacheslav Blinov
Fix For: 3.0.0-beta2
There are a few concerns with the current implementation of deb/rpm packages:
* Currently the work dir in the deb and rpm package points into the
/usr/share/ignite3db/work directory, which it shouldn’t by default. Linux
normally stores such files either in /var or in /opt directories. /usr might
have strictly limited space and might well be kept read only on some systems,
so it should not be used as default work location. Let’s change it to
/var/lib/ignite3db instead.
* Also it appears our deb/rpm create a ignite3 user, I would suggest to rename
it to just “ignite” instead. Having numbers in the user name is non-standard
for services in the unix world.
* Node name in vars.env file should default to the hosts' hostname, instead of
node1. To avoid accidental change post-installation this should be set in the
vars.env during the installation in the postInstall.sh script.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)