• D
    Don't ignore all dbus connection errors · 6bd88600
    Daniel P. Berrange 提交于
    Previous commit
    
      commit 7ada155c
      Author: Gao feng <gaofeng@cn.fujitsu.com>
      Date:   Wed Sep 11 11:15:02 2013 +0800
    
        DBus: introduce virDBusIsServiceEnabled
    
    Made the cgroups code fallback to non-systemd based setup
    when dbus is not running. It was too big a hammer though,
    as it did not check what error code was received when the
    dbus connection failed. Thus it silently ignored serious
    errors from dbus such as "too many client connections",
    which should always be treated as fatal.
    
    We only want to ignore errors if the dbus unix socket does
    not exist, or if nothing is listening on it.
    Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
    6bd88600
virdbus.c 40.3 KB