* [gentoo-user] Systemd systemctl : Failed to get D-Bus connection
@ 2012-03-30 9:50 Yohan Pereira
2012-03-30 18:06 ` Canek Peláez Valdés
0 siblings, 1 reply; 3+ messages in thread
From: Yohan Pereira @ 2012-03-30 9:50 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1595 bytes --]
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.
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.
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
--
- Yohan Pereira
The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
-- Mark Twain
[-- Attachment #2: Type: text/html, Size: 7321 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Systemd systemctl : Failed to get D-Bus connection
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
2012-03-30 19:40 ` [gentoo-user] [solved] " Yohan Pereira
0 siblings, 1 reply; 3+ messages in thread
From: Canek Peláez Valdés @ 2012-03-30 18:06 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] [solved] Systemd systemctl : Failed to get D-Bus connection
2012-03-30 18:06 ` Canek Peláez Valdés
@ 2012-03-30 19:40 ` Yohan Pereira
0 siblings, 0 replies; 3+ messages in thread
From: Yohan Pereira @ 2012-03-30 19:40 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]
On Friday 30 Mar 2012 12:06:52 Canek Peláez Valdés wrote:
> > # 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.
Oh the wiki page instructed me to configure systemd before enabling it ..
weird.
> 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.
>
Ok after reading your mail I looked into my fstab and tried disabling
everything one by one. Turns out this line in my fstab was the culprit.
#tmp in ram
none /tmp tmpfs defaults 1 2
Found this bug report [1] and so I changed the above entry to
#tmp in ram
tmpfs /tmp tmpfs defaults 0 0
works fine now. Like the fast boot and shut down.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=717794
Thanks for the hint.
--
- Yohan Pereira
The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
-- Mark Twain
[-- Attachment #2: Type: text/html, Size: 7032 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-30 19:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2012-03-30 19:40 ` [gentoo-user] [solved] " Yohan Pereira
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox