Dear list,

I'm trying to package libvirt 0.8.1 for our distribution, Pardus 2009.2. libvirt is installed perfectly normal, and libvirtd runs OK when I start it in a console using root account.

However, when I start libvirtd as a service, with the same parameters, through the normal service startup functions, it segfaults.

The services in Pardus 2009.2 are started using a management backend which works with python and service start/stop scripts are python based.

For libvirt, it's the following:   http://svn.pardus.org.tr/pardus/playground/ozan/libvirt/comar/service.py

Whatever I did, I couldn't find why libvirt is crashing. It works normal when I run it from console with exactly the same parameters. Here's an earlier syslog section ending with the crash:

May 21 17:34:31 voyager kernel: [148326.330658] Bridge firewalling registered                                
May 21 17:34:31 voyager kernel: [148326.626654] virbr0: starting userspace STP failed, starting kernel STP   
May 21 17:34:31 voyager avahi-daemon[559]: Joining mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
May 21 17:34:31 voyager avahi-daemon[559]: New relevant interface virbr0.IPv4 for mDNS.                                    
May 21 17:34:31 voyager avahi-daemon[559]: Registering new address record for 192.168.122.1 on virbr0.IPv4.                
May 21 17:34:32 voyager kernel: [148327.158860] ip_tables: (C) 2000-2006 Netfilter Core Team                               
May 21 17:34:32 voyager kernel: [148327.359921] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)                      
May 21 17:34:32 voyager kernel: [148327.360680] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use       
May 21 17:34:32 voyager kernel: [148327.360682] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or 
May 21 17:34:32 voyager kernel: [148327.360683] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.                     
May 21 17:34:33 voyager dnsmasq[13918]: started, version 2.47 cachesize 150                                                
May 21 17:34:33 voyager dnsmasq[13918]: compile time options: IPv6 GNU-getopt DBus no-I18N TFTP                            
May 21 17:34:33 voyager dnsmasq[13918]: DHCP, IP range 192.168.122.2 -- 192.168.122.254, lease time 1h                     
May 21 17:34:33 voyager dnsmasq[13918]: reading /etc/resolv.conf                                                           
May 21 17:34:33 voyager dnsmasq[13918]: using nameserver 193.140.100.215#53                                                
May 21 17:34:33 voyager dnsmasq[13918]: using nameserver 193.140.100.210#53                                                
May 21 17:34:33 voyager dnsmasq[13918]: using nameserver 192.168.1.1#53
May 21 17:34:33 voyager dnsmasq[13918]: read /etc/hosts - 7 addresses
May 21 17:34:33 voyager kernel: [148328.620605] libvirtd[13826]: segfault at 0 ip b74aa8f3 sp bfcd24fc error 4 in libc-2.9.so[b7431000+161000]

Thanks for any insight,

Best Regards,
--
Emre Erenoglu