[SERVER-52806] deb install files assume systemd Created: 12/Nov/20  Updated: 29/Oct/23  Resolved: 30/Nov/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0, 4.0.22, 3.6.22, 4.4.3, 4.2.12

Type: Bug Priority: Major - P3
Reporter: Daniel Moody Assignee: Ryan Egesdahl (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-52937 mongodb-org 4.2.11 debian package is ... Closed
Related
is related to SERVER-46342 DEB installs of MDB do not issue syst... Closed
is related to SERVER-54386 mongodb 3.6.22 install fails if syste... Closed
is related to SERVER-50888 Consider SERVER-46342 for backport to... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2, v4.0, v3.6
Sprint: Dev Platform 2020-11-30
Participants:
Linked BF Score: 41

 Description   

In SERVER-46342, systemd reload command was used to make sure systemd was aware of the unit files after install. The commit associated with that ticket assumes systemd is in use, and issues the command. When it was backported to older branches that happen to test distros without systemd, the issue was seen.

We need to check if systemd is in use and if it is then issue the command.

 

 



 Comments   
Comment by Githook User [ 09/Dec/20 ]

Author:

{'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}

Message: SERVER-52806 Don't assume systemd on all Debian systems

(cherry picked from commit 0e69ddaa39b360d4083a55041b2f792c1cd61ec5)
(cherry picked from commit c18a49d65c2488745694e17ed5d93e4601ce1174)
(cherry picked from commit f3e9474a1482f4de4454480150ec77139c6e626f)
(cherry picked from commit b11f0546ede0a6894d23e9b5435d35be9426af9e)
Branch: v3.6
https://github.com/mongodb/mongo/commit/58e82dba8e734c5dd06e23ae0da8cb29d5fc45b9

Comment by Githook User [ 08/Dec/20 ]

Author:

{'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}

Message: SERVER-52806 Don't assume systemd on all Debian systems

(cherry picked from commit 0e69ddaa39b360d4083a55041b2f792c1cd61ec5)
(cherry picked from commit c18a49d65c2488745694e17ed5d93e4601ce1174)
(cherry picked from commit f3e9474a1482f4de4454480150ec77139c6e626f)
Branch: v4.0
https://github.com/mongodb/mongo/commit/b11f0546ede0a6894d23e9b5435d35be9426af9e

Comment by Githook User [ 08/Dec/20 ]

Author:

{'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}

Message: SERVER-52806 Don't assume systemd on all Debian systems

(cherry picked from commit 0e69ddaa39b360d4083a55041b2f792c1cd61ec5)
(cherry picked from commit c18a49d65c2488745694e17ed5d93e4601ce1174)
Branch: v4.2
https://github.com/mongodb/mongo/commit/f3e9474a1482f4de4454480150ec77139c6e626f

Comment by Githook User [ 08/Dec/20 ]

Author:

{'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}

Message: SERVER-52806 Don't assume systemd on all Debian systems

(cherry picked from commit 0e69ddaa39b360d4083a55041b2f792c1cd61ec5)
Branch: v4.4
https://github.com/mongodb/mongo/commit/c18a49d65c2488745694e17ed5d93e4601ce1174

Comment by Githook User [ 24/Nov/20 ]

Author:

{'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}

Message: SERVER-52806 Don't assume systemd on all Debian systems
Branch: master
https://github.com/mongodb/mongo/commit/0e69ddaa39b360d4083a55041b2f792c1cd61ec5

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