[systemd-devel] Failed to get D-Bus connection: No connection to service manager.

Kyle Davenport kdavenpo at tx.rr.com
Wed Jul 11 09:47:53 PDT 2012


Sorry if this is painfully obvious, but systemd on my Fedora 16 is not
working.  System boots , systemd starts most services , but not all,
like fails to load rsyslogd, and then any systemctl command returns
"Failed to get D-Bus connection: No connection to service manager"

I built a custom kernel from official kernel.org sources and clearly
must be missing some config option.   systemd works without error while
using the Fedora 16 kernels.   It is not supposed to depend on cgroup's
being enabled, but since I disabled that, it may be the culprit. 

Here is the tail of an strace:
mprotect(0x4e99b000, 4096, PROT_READ)   = 0
munmap(0xb7842000, 153222)              = 0
set_tid_address(0xb783f7a8)             = 3563
set_robust_list(0xb783f7b0, 0xc)        = 0
rt_sigaction(SIGRTMIN, {0x4e9535b0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x4e953630, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="myhostname", ...}) = 0
statfs64("/sys/fs/selinux", 84, 0xbf8824fc) = -1 ENOENT (No such file or
directory)
statfs64("/selinux", 84, 0xbf8824fc)    = -1 ENOENT (No such file or
directory)
brk(0)                                  = 0x8079000
brk(0x809a000)                          = 0x809a000
open("/proc/filesystems", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7867000
read(3, "nodev\tsysfs\nnodev\trootfs\nnodev\tb"..., 1024) = 377
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb7867000, 4096)                = 0
stat64("/proc/1/root", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/proc/1/root", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/sys/fs/cgroup", 0xbf8823e0)   = -1 ENOENT (No such file or
directory)
stat64("/proc/1/root", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
writev(2, [{"Failed to get D-Bus connection: "..., 65}, {"\n", 1}],
2Failed to get D-Bus connection: No connection to service manager.
) = 66
exit_group(1)                           = ?



More information about the systemd-devel mailing list