Bug#892955: [Pkg-mongodb-maintainers] Bug#892955: mongodb-server: enabling the 'oplog' config option makes server fail to start

2018-03-15 Thread Toni Mueller

Hi Apollon,

On Thu, Mar 15, 2018 at 09:38:17AM +0200, Apollon Oikonomopoulos wrote:
> Indeed, it appears the option has been called "diaglog" for the past 9 
> years, can you give it a try? We need to update the package's default 
> config I guess...

;}

I changed the config to say "diaglog=7", and the server starts with
that.


Cheers,
Toni



Bug#892955: [Pkg-mongodb-maintainers] Bug#892955: mongodb-server: enabling the 'oplog' config option makes server fail to start

2018-03-15 Thread Apollon Oikonomopoulos
Hi,

Thanks for the report!

On 21:13 Wed 14 Mar , Toni Mueller wrote:
> Package: mongodb-server
> Version: 1:3.2.11-2+deb9u1
> Severity: normal
> 
> I just installed mongodb and wanted to get more detailed logging, so I
> removed the comment from 'oplog = 0' and switched to 7:
> 
> # Set oplogging level where n is
> #   0=off (default)
> #   1=W
> #   2=R
> #   3=both
> #   7=W+some reads
> oplog = 7
> 
> 
> After that, the server refused to start, and I found this in the log:
> 
> ... mongod[385]: Error parsing INI config file: unrecognised option 'oplog'

Indeed, it appears the option has been called "diaglog" for the past 9 
years, can you give it a try? We need to update the package's default 
config I guess...

Cheers,
Apollon