← Back to team overview

linux-traipu team mailing list archive

[Bug 704163] Re: Broken config leads to broken option parsing

 

** Changed in: drizzle
     Assignee: Monty Taylor (mordred) => (unassigned)

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Drizzle.
https://bugs.launchpad.net/bugs/704163

Title:
  Broken config leads to broken option parsing

Status in A Lightweight SQL Database for Cloud Infrastructure and Web Applications:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/drizzle/+bug/704163/+subscriptions