[
https://issues.apache.org/jira/browse/IGNITE-7108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448191#comment-16448191
]
Max Shonichev edited comment on IGNITE-7108 at 4/23/18 2:11 PM:
----------------------------------------------------------------
when user uninstalls package, the running service does not stop
{noformat}
yum remove apache-ignite
Loaded plugins: fastestmirror, ovl
Resolving Dependencies
--> Running transaction check
---> Package apache-ignite.noarch 0:2.5.0-1 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================================================================================================================================
Package Arch
Version
Repository Size
===================================================================================================================================================================================================================
Removing:
apache-ignite noarch
2.5.0-1
installed 277 M
Transaction Summary
===================================================================================================================================================================================================================
Remove 1 Package
Installed size: 277 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Erasing : apache-ignite-2.5.0-1.noarch
1/1
userdel: user ignite is currently used by process 57
removed '/var/run/apache-ignite/default-config.xml.pid'
removed directory: '/var/run/apache-ignite'
Verifying : apache-ignite-2.5.0-1.noarch
1/1
Removed:
apache-ignite.noarch 0:2.5.0-1
Complete!
[root@973e6de20f40 /]# ps -AF
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
root 1 0 0 10702 4640 6 13:10 ? 00:00:00 /usr/sbin/init
root 18 1 0 9211 7212 1 13:10 ? 00:00:00
/usr/lib/systemd/systemd-journald
root 20 0 0 2946 3000 0 13:10 ? 00:00:00 bash
ignite 57 1 0 3238 2980 4 13:14 ? 00:00:00 /bin/bash
/usr/share/apache-ignite/bin/ignite.sh /etc/apache-ignite/default-config.xml
ignite 171 57 1 1774292 323388 2 13:14 ? 00:00:39 /usr/bin/java
-Xms1g -Xmx1g -server -XX:+AggressiveOpts -XX:MaxMetaspaceSize=256m
-DIGNITE_QUIET=true -DIGNITE_SUCCESS_FILE=/usr/share/apache-ignit
root 553 20 0 11864 3288 5 14:03 ? 00:00:00 ps -AF
{noformat}
also, user ignite was not deleted
was (Author: mshonichev):
when user uninstalls package, the running service does not stop
{noformat}
yum remove apache-ignite
Loaded plugins: fastestmirror, ovl
Resolving Dependencies
--> Running transaction check
---> Package apache-ignite.noarch 0:2.5.0-1 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================================================================================================================================
Package Arch
Version
Repository Size
===================================================================================================================================================================================================================
Removing:
apache-ignite noarch
2.5.0-1
installed 277 M
Transaction Summary
===================================================================================================================================================================================================================
Remove 1 Package
Installed size: 277 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Erasing : apache-ignite-2.5.0-1.noarch
1/1
userdel: user ignite is currently used by process 57
removed '/var/run/apache-ignite/default-config.xml.pid'
removed directory: '/var/run/apache-ignite'
Verifying : apache-ignite-2.5.0-1.noarch
1/1
Removed:
apache-ignite.noarch 0:2.5.0-1
Complete!
[root@973e6de20f40 /]# ps -AF
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
root 1 0 0 10702 4640 6 13:10 ? 00:00:00 /usr/sbin/init
root 18 1 0 9211 7212 1 13:10 ? 00:00:00
/usr/lib/systemd/systemd-journald
root 20 0 0 2946 3000 0 13:10 ? 00:00:00 bash
ignite 57 1 0 3238 2980 4 13:14 ? 00:00:00 /bin/bash
/usr/share/apache-ignite/bin/ignite.sh /etc/apache-ignite/default-config.xml
ignite 171 57 1 1774292 323388 2 13:14 ? 00:00:39 /usr/bin/java
-Xms1g -Xmx1g -server -XX:+AggressiveOpts -XX:MaxMetaspaceSize=256m
-DIGNITE_QUIET=true -DIGNITE_SUCCESS_FILE=/usr/share/apache-ignit
root 553 20 0 11864 3288 5 14:03 ? 00:00:00 ps -AF
{noformat}
> Apache Ignite 2.5 RPM and DEB packages
> --------------------------------------
>
> Key: IGNITE-7108
> URL: https://issues.apache.org/jira/browse/IGNITE-7108
> Project: Ignite
> Issue Type: New Feature
> Components: binary
> Reporter: Peter Ivanov
> Assignee: Peter Ivanov
> Priority: Critical
> Labels: important
> Fix For: 2.5
>
>
> # (/) Update RPM build process to unify with DEB build.
> # (/) Prepare build of DEB package (using architecture and layout from RPM
> package).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)