public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Canek Peláez Valdés" <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Systemd systemctl : Failed to get D-Bus connection
Date: Fri, 30 Mar 2012 12:06:52 -0600	[thread overview]
Message-ID: <CADPrc80dcVyGHPV3fWscX1+vRztYskZG8N_SE4LY-zdGYts4fg@mail.gmail.com> (raw)
In-Reply-To: <1572903.n9kMvnt77n@powerslave>

On Fri, Mar 30, 2012 at 3:50 AM, Yohan Pereira <yohan.pereira@gmail.com> wrote:
> Hi,
>
> Wanted to see whats all the fuss about so I tried installing Systemd on a
> laptop. following the guide on wiki.gentoo.org [1].
>
>
>
> But I am having trouble running systemctl to configure the services I want
> started. Heres what I get (both as root and as a normal user).
>
>
>
> # systemctl --all --full
>
> Failed to get D-Bus connection: No connection to service manager.

This will only work if you boot into systemd. Otherwise it doesn't.

> I know Dbus is running for sure.
>
>
>
> $ ps ax | grep dbus
>
> 2094 ? Ss 0:09 /usr/bin/dbus-daemon --system
>
> 2803 ? S 0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
>
> 2804 ? Ss 0:06 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7
> --session
>
>
>
> I tried booting with systemd to see what happens. It starts booting fine up
> to the point where it starts mounting the partitions. It just stops after
> mounting my /home partition. Nothing works at this point apart from a hard
> reboot. My partitioning is simple separate partitions for boot, home, root
> and the portage tree (all ext4). No separate /usr (phew). Also I do not have
> an initramfs.

Can I see your kernel command line as specified in /boot/grub/grub.cfg
(or /boot/grub2/grub.cfg)? The whole GRUB config would be useful.

Also, a cat /etc/fstab should shed some light on the issue.

> What am I missing? do I need to modify any of the systemd config files? etc?
>
>
>
>
>
> Here are the details of some of the packages.
>
> sys-fs/udev-182-r2 (gudev hwdb keymap openrc rule_generator -build -debug
> -doc -floppy -introspection -selinux -static-libs)
>
>
>
> sys-apps/systemd-43 (acl pam tcpd -audit -cryptsetup -gtk -lzma -plymouth
> -selinux)
>
>
>
> Thanks.
>
>
>
> [1] http://wiki.gentoo.org/wiki/Systemd

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



  reply	other threads:[~2012-03-30 18:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-30  9:50 [gentoo-user] Systemd systemctl : Failed to get D-Bus connection Yohan Pereira
2012-03-30 18:06 ` Canek Peláez Valdés [this message]
2012-03-30 19:40   ` [gentoo-user] [solved] " Yohan Pereira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADPrc80dcVyGHPV3fWscX1+vRztYskZG8N_SE4LY-zdGYts4fg@mail.gmail.com \
    --to=caneko@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox