--daemon broken when --user passed

Bug #890910 reported by BJ Dierkes
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
High
Clint Byrum

Bug Description

In 2011.10.28, when running drizzled as the 'drizzle' user... --daemon works fine. However when starting as root, and passing the --user option the process never goes to background:

[root@derks-vm drizzle]# sudo drizzled --user drizzle --daemon
... runs forever in foreground ...

[root@derks-vm drizzle]# sudo -u drizzle drizzled --daemon
[root@derks-vm drizzle]#

Related branches

Changed in drizzle:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Clint Byrum (clint-fewbar)
Revision history for this message
Henrik Ingo (hingo) wrote :

Thanks, that was fast :-)

Just wanted to note, unless it is obvious to all readers, that your second example:

# sudo -u drizzle drizzled --daemon

...is a good workaround until the fix is merged.

Changed in drizzle:
status: In Progress → Fix Released
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.