[SERVER-18060] init.d script for cents does not support YAML config therefore cannot configure WiredTiger Created: 15/Apr/15  Updated: 14/Apr/16  Resolved: 22/Apr/15

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 3.0.1, 3.0.2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Paul Hill Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-13595 Red Hat init.d script error: YAML con... Closed
related to SERVER-16720 Init script in Red Hat fails if using... Closed
related to SERVER-17337 RPM Init script breaks with quotes in... Closed
Operating System: Linux
Steps To Reproduce:

Any attempt to use a YAML config breaks the init.d/mongod script. There is no way to add WiredTiger to old style config.

Participants:

 Description   

This problem has been reported many times for 2.6.x versions of mongo. I also present in 3.0.1 & 3.0.2 for CentOS/RHEL.

By default the package uses the old style configuration file. Using YAML breaks the AWK code for PIDFILEPATH etc. However the old style configuration has not to support WiredTiger.

Therefore current release makes using WiredTiger Engine very difficult.



 Comments   
Comment by Ernie Hershey [ 22/Apr/15 ]

Feel free to re-open this if you still have problems.

Comment by Paul Hill [ 15/Apr/15 ]

I'll try again with 3.0.2 to use the YAML style config. Will upload all relevant upload output.

Comment by Ernie Hershey [ 15/Apr/15 ]

Hi ravenshill - I'm sorry you're having difficulty. We've made recent improvements to init script config file parsing in 3.0.2 but we may have missed something. Would it be possible for you to share the configuration file you're using that causes problems?

Thanks,
Ernie

Generated at Thu Feb 08 03:46:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.