← Back to team overview

linux-traipu team mailing list archive

[Bug 983258] Re: drizzled: --help should work in any circumstances

 

** Changed in: drizzle
       Status: New => Triaged

** Changed in: drizzle
   Importance: Undecided => Medium

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

Title:
  drizzled: --help should work in any circumstances

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

Bug description:
  Hallo,

  drizzled --help should to print the help message and then exit. It should not do other things or do some other funny things.
  Especially it should not try to spawn a daemon, which appeareantly it tries...

  Example:
  # NB: I'm root here.
  # lets see what options we have.... The man tells to say drizzled --verbose --help
  drizzled --verbose --help
  Aborting:"required parameter is missing in 'verbose'. Use --help to get a list of available options. ". Abort was called from drizzled/drizzled.cc:1415 in init_variables_after_daemonizing()
  # ok, bug in man.... (I'll report that later)
  drizzled --help
  Aborting:"drizzled cannot be run as root, use --user to start drizzled up as another user". Abort was called from drizzled/drizzled.cc:578 in check_user()
  # mmmh, whats the option to set a user?

  drizzled --help --user drizzle 
  Aborting:"Can't start server, was unable to create PID file: mordor.loewenhoehle.pid". Abort was called from drizzled/drizzled.cc:414 in create_pid_file()
  # Why it is try to set the pid file -- all i wanted is the help? (Actually I tried to debug the cannot-open-pid-file issue...)

  coldtobi

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


References