[SERVER-16154] uninstalling mongodb packages does not stop the mongod if it's running Created: 14/Nov/14  Updated: 01/Jun/22  Resolved: 01/Jun/22

Status: Closed
Project: Core Server
Component/s: Admin, Packaging
Affects Version/s: 2.6.5, 2.8.0-rc0
Fix Version/s: 4.1 Desired

Type: Improvement Priority: Minor - P4
Reporter: Jalpa Trivedi (Inactive) Assignee: Alex Neben
Resolution: Won't Fix Votes: 1
Labels: 28qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Uninstalling MongoDB community or enterprise package on SUSE11 and RHEL6, does not stop the mongod service if it's already running.

The issue exists for all platforms using .rpm installer.

Steps to reproduce:

  • zypper addrepo --no-gpgcheck http://downloads-distro.mongodb.org/repo/suse/os/x86_64/ mongodb
  • zypper install mongodb-org
  • service mongod start
  • ensure that the service is running
  • zypper remove 'mongo*'
  • notice that the service is still running by running command: ps aux | grep mongod

Steps to reproduce on RHEL6 and CentOS 6.4 for community (enterprise also has the same issue):


Generated at Thu Feb 08 03:40:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.