Broken config leads to broken option parsing

Bug #704163 reported by BJ Dierkes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Confirmed
Low
Unassigned

Bug Description

This is not a major issue, however it is a bit misleading. Essentially, the config file is broken... but the output "unknown option ..." error is not clear where the 'unknown option' is... and could be mistaken for broken option parsing (like if I passed '--asfasdfa'). It then says use --help to get a list of available options... which doesn't work cause they option parsing is broken by the broken config.

[root@fc14 ~]# cat /etc/drizzle/drizzled.cnf
pid-file = /var/run/drizzle/drizzled.pid
datadir = /var/lib/drizzle
asfasdfa= sdfasdf

[root@fc14 ~]# sudo -u drizzle drizzled --help
unknown option asfasdfa
Use --help to get a list of available options
Aborting
_mcleanup: gmon.out: Permission denied

Changed in drizzle:
importance: Undecided → Low
assignee: nobody → Monty Taylor (mordred)
status: New → Confirmed
Monty Taylor (mordred)
Changed in drizzle:
assignee: Monty Taylor (mordred) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.