[SERVER-25242] Link from /etc/init.d/mongod to /lib/init/upstart-job not created in Ubuntu 14.04 Created: 23/Jul/16  Updated: 01/Jun/22  Resolved: 01/Jun/22

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: None
Fix Version/s: 4.1 Desired

Type: Bug Priority: Trivial - P5
Reporter: Carles Sala Assignee: Alex Neben
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Steps To Reproduce:

Install mongodb-org in an Ubuntu 14.04 and find that link /etc/init.d/mongod does not exist.

Participants:

 Description   

I am sure that this has been reported before, but I haven't been able to find an issue for it, so I create it just in case.

From some minor version mongodb-3.0.X onwards and until the current 3.2 version, the link from /etc/init.d/mongodb to /lib/init/upstart-job is not created when installing mongodb-org package in Ubuntu 14.04.

And not only that: If a link already exists, it removes it.

The result is that the service mongodb * commands just work properly but bash autocomplete does not.

Creating the link manually with the command ln -s /lib/init/upstart-job /etc/init.d/mongod works properly.


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