You are not logged in.

#1 2012-12-14 08:17:46

miky76
Banned
From: Italy
Registered: 2011-10-27
Posts: 137

Several errors after upgrade (systemd issue?)

Hi All,
I didn't upgrade any package since begin of october, so yesterday night when I did it I had 245 packages upgraded/installed.

During the pacman upgrade I had several of this errors

this is a piece of /var/log/pacman.log

[2012-12-13 20:37] upgraded libwnck3 (3.4.3-1 -> 3.4.4-1)
[2012-12-13 20:37]
[2012-12-13 20:37] (gconftool-2:24372): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
[2012-12-13 20:37] Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[2012-12-13 20:37]
[2012-12-13 20:37] (gconftool-2:24377): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
[2012-12-13 20:37] Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[2012-12-13 20:37] upgraded gnome-panel (3.4.2.1-1 -> 3.6.2-1)
[2012-12-13 20:37] upgraded gucharmap (3.4.1.1-1 -> 3.6.1-1)
[2012-12-13 20:37]
[2012-12-13 20:37] (gconftool-2:24390): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
[2012-12-13 20:37]
[2012-12-13 20:37] (gconftool-2:24372): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
[2012-12-13 20:37] Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[2012-12-13 20:37]
[2012-12-13 20:37] (gconftool-2:24377): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
[2012-12-13 20:37] Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[2012-12-13 20:37] upgraded gnome-panel (3.4.2.1-1 -> 3.6.2-1)
[2012-12-13 20:37] upgraded gucharmap (3.4.1.1-1 -> 3.6.1-1)
[2012-12-13 20:37]
[2012-12-13 20:37] (gconftool-2:24390): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
[2012-12-13 20:37] Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[2012-12-13 20:37]
[2012-12-13 20:37] (gconftool-2:24395): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
[2012-12-13 20:37] Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[2012-12-13 20:37] upgraded gnome-applets (3.4.1-2 -> 3.5.92-1)
[2012-12-13 20:37] upgraded gnome-backgrounds (3.4.2-1 -> 3.6.0-1)
[2012-12-13 20:37] upgraded udisks2 (1.94.0-2 -> 2.0.0-1)

after this I've rebooted, with few errors during the booting, everything seem to be fine BUT gnome is not working anymore.

I thought it could be, because I wasn't running systemd yet and I've tryied to install it following the wiki https://wiki.archlinux.org/index.php/Systemd

but I got stuck at the second step:

I've added init=/usr/lib/systemd/systemd in /boot/syslinux/syslinux.cfg


PROMPT 1
TIMEOUT 50
DEFAULT arch

LABEL arch
        LINUX ../vmlinuz-linux init=/usr/lib/systemd/systemd
        APPEND root=/dev/sda3 ro
        INITRD ../initramfs-linux.img

LABEL archfallback
        LINUX ../vmlinuz-linux
        APPEND root=/dev/sda3 ro
        INITRD ../initramfs-linux-fallback.img

when I try to add any deamons to systemctl, I get always the same errors

[root@artemide ~]#  systemctl enable dbus
Operation failed: Invalid argument
[root@artemide ~]# systemctl status dbus
Failed to get D-Bus connection: No connection to service manager.
[root@artemide ~]# systemctl start dbus
Failed to get D-Bus connection: No connection to service manager.
[root@artemide ~]#

can anyone can point me to the right direction?

thanks

Offline

#2 2012-12-14 08:32:39

kindofabuzz
Member
Registered: 2012-12-13
Posts: 4

Re: Several errors after upgrade (systemd issue?)

I don't really have an answer but I'm sure someone will. but, from the wiki about dbus, "D-Bus is enabled automatically when using systemd because dbus is a dependency of systemd." https://wiki.archlinux.org/index.php/Dbus

Offline

#3 2012-12-14 11:14:16

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Several errors after upgrade (systemd issue?)

miky76 wrote:

when I try to add any deamons to systemctl, I get always the same errors

[root@artemide ~]#  systemctl enable dbus
Operation failed: Invalid argument
[root@artemide ~]# systemctl status dbus
Failed to get D-Bus connection: No connection to service manager.
[root@artemide ~]# systemctl start dbus
Failed to get D-Bus connection: No connection to service manager.
[root@artemide ~]#

can anyone can point me to the right direction?

thanks

If you want to blame systemd, then you have to actually boot on it, first.

Offline

#4 2012-12-14 11:51:45

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: Several errors after upgrade (systemd issue?)

miky76 wrote:

I've added init=/usr/lib/systemd/systemd in /boot/syslinux/syslinux.cfg


PROMPT 1
TIMEOUT 50
DEFAULT arch

LABEL arch
        LINUX ../vmlinuz-linux init=/usr/lib/systemd/systemd
        APPEND root=/dev/sda3 ro
        INITRD ../initramfs-linux.img

LABEL archfallback
        LINUX ../vmlinuz-linux
        APPEND root=/dev/sda3 ro
        INITRD ../initramfs-linux-fallback.img

I'm pretty sure you have to add the init= parameter to APPEND and not to LINUX. Nevertheless you should just install systemd-sysvcompat instead (it's part of the base group, so you are expected to have it installed).

Offline

#5 2012-12-14 22:01:50

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Several errors after upgrade (systemd issue?)

It is perfectly safe to ignore the gconf errors btw.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#6 2012-12-14 23:04:13

ackalker
Member
Registered: 2012-11-27
Posts: 201

Re: Several errors after upgrade (systemd issue?)

miky76,

Maybe a redundant question, but did you check for any .pacnew files in /etc?
Since it has been so long since you last updated Arch, it's almost certain that some things got changed that you need to take care of.

From what you write, I get a sense that D-Bus isn't running at all, or isn't functioning correctly.
I know for sure that one of the recent changes involved D-Bus, so you could start from there.

EDIT: This topic, in particular this post and following, might be of some help with this.

Last edited by ackalker (2012-12-14 23:31:08)

Offline

#7 2012-12-15 00:14:48

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Several errors after upgrade (systemd issue?)

@ackalker, the OP is not running systemd... whether or not d-bus is running, it is going to have a hell of a time connecting to a service manager that isn't running.

OT, I find it rather annoying that when users have been running into PEBKAC's lately, their first inclination is to say "systemd did it, I know it!"

Offline

#8 2012-12-15 14:49:37

ackalker
Member
Registered: 2012-11-27
Posts: 201

Re: Several errors after upgrade (systemd issue?)

WonderWoofy,

I was just trying to be helpful with the issue at hand, namely a long time between Arch updates, and going on the information provided, I try to supply helpful advice about merging config changes and updating D-Bus, both of these things may help resolve the issue.

Also, blaming something not working in a system on PEBKAC isn't helpful at all, especially if you don't know exactly what might be wrong elsewhere.

miky76, if you haven't already resolved the issue (please mark this topic as [SOLVED] if you did), could you please show the output of

$ ps ax

This way we can find out which processes (perhaps including systemd) did manage to start during boot.

Last edited by ackalker (2012-12-15 15:17:06)

Offline

Board footer

Powered by FluxBB