Remove fork:true and pidfile management

Description

Upstream distribution ships with systemd managing the forking and no pidfile. Having fork:true and pidfile in the config file we are shipping complicates migration, and also hides any errors with parameters in mongod.conf at startup time from the user.

Environment

None

Activity

Show:

surabhi.bhat December 2, 2024 at 12:53 PM

The changes have been merged to release-8.0.4-1 branch. Thank you.

surabhi.bhat November 29, 2024 at 10:13 AM
Edited

Yes, since forking has been removed, I don’t think it’s required to have STDOUT/STDERR be written to separate files since systemd handles it directly. If you want to verify if this works as expected, I can rebuild the 7.0.15-9 experimental packages with the changes. Thank you.

Jan Mynar November 26, 2024 at 1:39 PM
Edited

please note the following decision of the team:

please revert the code to be only for 8.0
please document it accordingly

surabhi.bhat November 25, 2024 at 9:19 AM

Hi ,

I shall investigate on the fix for the below issues and update the task. Thank you.

Jan Mynar November 14, 2024 at 1:02 PM

Flag added

will remain open until we have all major releases out

Flagged
Done

Details

Assignee

Reporter

Needs QA

Yes

Needs Doc

Yes

Needs Packaging

Yes

Components

Sprint

Fix versions

Priority

Smart Checklist

Created October 8, 2024 at 1:52 PM
Updated December 17, 2024 at 4:54 PM
Resolved December 3, 2024 at 2:21 PM