Bug 55251 - ERROR: JAVA_HOME is not set при запуске ignite3db.service (java не устанавливается по зависимостям)
Summary: ERROR: JAVA_HOME is not set при запуске ignite3db.service (java не устанавлив...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: apache-ignite (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-17 14:46 MSK by Alexander Makeenkov
Modified: 2025-07-19 14:47 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2025-07-17 14:46:00 MSK
Версия пакета: ignite3-db-3.0.0-alt2.x86_64

Сервис ignite3db.service не запускается:

systemd[1]: Started ignite3db.service - Apache Ignite Database Service.
start.sh[2142]: ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
start.sh[2142]:     Please set the JAVA_HOME variable in your environment to match the
start.sh[2142]:     location of your Java installation.
systemd[1]: ignite3db.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: ignite3db.service: Failed with result 'exit-code'.

java по зависимостям не ставится, т.к. ни у одного бинарного пакета нет на неё зависимости:

# rpm -qR ignite3-cli ignite3-db ignite3-java-client | grep -c java
0

В спеке https://packages.altlinux.org/ru/sisyphus/srpms/apache-ignite/specfiles/#line-24 зависимость прописана не в том месте.
Comment 1 Repository Robot 2025-07-19 14:47:45 MSK
apache-ignite-3.0.0-alt3 -> sisyphus:

Sat Jul 19 2025 Andrey Cherepanov <cas@altlinux> 3.0.0-alt3
- Fixed homedir for user ignite (ALT #55250).
- Requires java >= 11 for ignite3-db (ALT #55251).