Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Systemd systemctl : Failed to get D-Bus connection
Date: Fri, 30 Mar 2012 18:09:32
Message-Id: CADPrc80dcVyGHPV3fWscX1+vRztYskZG8N_SE4LY-zdGYts4fg@mail.gmail.com
In Reply to: [gentoo-user] Systemd systemctl : Failed to get D-Bus connection by Yohan Pereira
1 On Fri, Mar 30, 2012 at 3:50 AM, Yohan Pereira <yohan.pereira@×××××.com> wrote:
2 > Hi,
3 >
4 > Wanted to see whats all the fuss about so I tried installing Systemd on a
5 > laptop. following the guide on wiki.gentoo.org [1].
6 >
7 >
8 >
9 > But I am having trouble running systemctl to configure the services I want
10 > started. Heres what I get (both as root and as a normal user).
11 >
12 >
13 >
14 > # systemctl --all --full
15 >
16 > Failed to get D-Bus connection: No connection to service manager.
17
18 This will only work if you boot into systemd. Otherwise it doesn't.
19
20 > I know Dbus is running for sure.
21 >
22 >
23 >
24 > $ ps ax | grep dbus
25 >
26 > 2094 ? Ss 0:09 /usr/bin/dbus-daemon --system
27 >
28 > 2803 ? S 0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
29 >
30 > 2804 ? Ss 0:06 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7
31 > --session
32 >
33 >
34 >
35 > I tried booting with systemd to see what happens. It starts booting fine up
36 > to the point where it starts mounting the partitions. It just stops after
37 > mounting my /home partition. Nothing works at this point apart from a hard
38 > reboot. My partitioning is simple separate partitions for boot, home, root
39 > and the portage tree (all ext4). No separate /usr (phew). Also I do not have
40 > an initramfs.
41
42 Can I see your kernel command line as specified in /boot/grub/grub.cfg
43 (or /boot/grub2/grub.cfg)? The whole GRUB config would be useful.
44
45 Also, a cat /etc/fstab should shed some light on the issue.
46
47 > What am I missing? do I need to modify any of the systemd config files? etc?
48 >
49 >
50 >
51 >
52 >
53 > Here are the details of some of the packages.
54 >
55 > sys-fs/udev-182-r2 (gudev hwdb keymap openrc rule_generator -build -debug
56 > -doc -floppy -introspection -selinux -static-libs)
57 >
58 >
59 >
60 > sys-apps/systemd-43 (acl pam tcpd -audit -cryptsetup -gtk -lzma -plymouth
61 > -selinux)
62 >
63 >
64 >
65 > Thanks.
66 >
67 >
68 >
69 > [1] http://wiki.gentoo.org/wiki/Systemd
70
71 Regards.
72 --
73 Canek Peláez Valdés
74 Posgrado en Ciencia e Ingeniería de la Computación
75 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] [solved] Systemd systemctl : Failed to get D-Bus connection Yohan Pereira <yohan.pereira@×××××.com>