Created attachment 670171 [details] libvirtd_log Description of problem: libvirt fails to start and bails out quickly. When debug logging is enabled qemu driver initialization failure is noticed which leads to an abort. This is top-of-tree version downloaded from git repository. Any help to get started with basic configuration is greatly appreciated. Version-Release number of selected component (if applicable): libvirt 1.0.1 on linux ~/exec# uname -r 3.2.0-35-generic How reproducible: libvirt is complied with few extra options enabled like esx-support and numad Steps to Reproduce: 1. set the output log to libvirt.log 2. run 'libvirtd -d' 3. Actual results: Qemu error: ----------- 2012-12-29 17:21:31.085+0000: 2680: debug : virLockManagerPluginNew:143 : name=nop driverName=qemu configDir=/root/exec/etc/libvirt flags=0 2012-12-29 17:21:31.085+0000: 2680: debug : virLockManagerNopInit:35 : version=1000000 configFile=/root/exec/etc/libvirt/qemu-nop.conf flags=0 2012-12-29 17:21:31.085+0000: 2680: debug : virConfReadFile:767 : filename=/root/exec/etc/libvirt/qemu.conf 2012-12-29 17:21:31.085+0000: 2680: debug : virFileClose:72 : Closed fd 18 2012-12-29 17:21:31.085+0000: 2680: error : virGetUserID:2578 : invalid argument: Failed to parse user 'yes' 2012-12-29 17:21:31.086+0000: 2680: debug : virLockManagerNopDeinit:42 : 2012-12-29 17:21:31.086+0000: 2680: error : virStateInitialize:817 : Initialization of QEMU state driver failed 2012-12-29 17:21:31.086+0000: 2680: error : daemonRunStateInit:858 : Driver state initialization failed 2012-12-29 17:21:31.086+0000: 2680: debug : virNetServerRemoveShutdownInhibition:829 : srv=0x23b4b90 inhibitions=0 2012-12-29 17:21:31.086+0000: 2680: debug : virObjectUnref:135 : OBJECT_UNREF: obj=0x23b4b90 2012-12-29 17:21:31.086+0000: 2669: debug : virNetServerQuit:1160 : Quit requested 0x23b4b90 Expected results: libvirtd should run normally and run as a deamon waiting for commands. Additional info: When libvirtd is started in gdb control with a breakpoint on virGetUserID:2578, following is the stack-trace seen: Program received signal SIGTERM, Terminated. 0x00007ffff6f2b303 in poll () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x00007ffff6f2b303 in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007ffff748b022 in virEventPollRunOnce () at util/vireventpoll.c:630 #2 0x00007ffff7489adb in virEventRunDefaultImpl () at util/virevent.c:247 #3 0x00007ffff758ece5 in virNetServerRun (srv=0x694b90) at rpc/virnetserver.c:1120 #4 0x000000000040c6ab in main (argc=<optimized out>, argv=<optimized out>) at libvirtd.c:1447
2012-12-29 17:21:31.085+0000: 2680: error : virGetUserID:2578 : invalid argument: Failed to parse user 'yes' This is a configuration error.