Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398279 - app-emulation/ganeti crashes on startup if /dev/log doesn't exist
Summary: app-emulation/ganeti crashes on startup if /dev/log doesn't exist
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Lance Albertson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-09 19:15 UTC by Daniel Kuehn (RETIRED)
Modified: 2012-05-12 08:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Kuehn (RETIRED) gentoo-dev 2012-01-09 19:15:47 UTC
The ganeti daemons (noded, masterd, rapi and confd) crash if /dev/log doesn't exist.
There is hardly any output to help you solve the issue but a socket.error: [Errno 2]: No such file or directory.
The python traceback and that error is in all of the daemons logs and also is shown if you try to start them manually.

Reproducible: Always

Steps to Reproduce:
1.Stop/Don't start your logger of choice
2.Start ganeti
3.
Actual Results:  
Ganeti initscript reports status as crashed and ganeti indeed doesn't start at all.

Expected Results:  
Ganeti starts up safe and sound.

I have poked upstreams about this issue and I managed to get ganeti running again by simply starting syslog-ng that creates the /dev/log socket.
Thus a simple workaround to the issue is to add logger to the need line of the initscript.
Comment 1 Lance Albertson (RETIRED) gentoo-dev 2012-05-12 08:13:06 UTC
I added a "logger" depend to the need in the init script. Thanks for catching that! Sorry it took me a while to push that.