-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.0.0
-
Component/s: None
-
None
-
ALL
-
The RHEL mongod init.d script will fail to shut down mongod when the value of processManagement.pidFilePath is set to a quoted string. This occurs because the quote characters are interpreted by the script as part of the filename and no match is found for the pid file. For example, stopping/restarting mongod fails with the following format:
processManagement:
pidFilePath: "/var/run/mongodb/mongod.pid"
and succeeds when the quotes are removed:
processManagement:
pidFilePath: /var/run/mongodb/mongod.pid
YAML formatted strings can be represented with single quotes, double quotes or no quotes when leading/trailing space truncation is not an issue. We should handle all cases in our init.d script.
- duplicates
-
SERVER-17389 YAML pidFilePath not handled correctly on RHEL / CentOS 6
- Closed
-
SERVER-17337 RPM Init script breaks with quotes in yaml config file
- Closed