-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 3.6.15, 3.6.20
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
-
Service arch 2020-10-05, Service arch 2020-11-02, Service arch 2020-11-16, Service arch 2020-11-30
Attempting to spin up a v3.6.20-rc2 mongod reliably core dumps if either:
- the dbpath does not exist, or
- the dbpath is permissions restricted to the user that launches mongod.
This does not match expected behavior, where an error is instead thrown and the server terminates gracefully.
See attached repro file. All it takes is a chmod 444 on the dbpath to core dump the next mongod start attempt.