You are not logged in.
I wouldn't even really notice except for it's working so well on a different machine...
If I try to run systemctl as a non-root user it hangs for about 10 seconds and comes back with
% systemctl --failed
Failed to issue method call: Connection was disconnected before a reply was receivedsystemd-analyze won't run either
% sudo systemd-analyze blame
Traceback (most recent call last):
File "/usr/bin/systemd-analyze", line 309, in <module>
verb.get(args[0], unknown_verb)()
File "/usr/bin/systemd-analyze", line 108, in blame
data = acquire_time_data()
File "/usr/bin/systemd-analyze", line 11, in acquire_time_data
manager = dbus.Interface(bus.get_object('org.freedesktop.systemd1', '/org/freedesktop/systemd1'), 'org.freedesktop.systemd1.Manager')
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 248, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Disconnected: Connection was disconnected before a reply was receivedI do have the opt-depends installed. (python2-cairo:and python2-dbus)
Not sure what to look for next.
Last edited by tladuke (2012-10-05 06:42:13)
Offline
Is dbus running?
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
yeah
dbus.service loaded active running D-Bus System Message Bus
dbus.socket loaded active running D-Bus System Message Bus Socket
Offline
# gdbus introspect --system --dest org.freedesktop.systemd1 --object-path /org/freedesktop/systemd1
Error connecting: Could not connect: No such file or directoryOffline
Look at the optdeps for systemd and install them.
Offline
@tladuke:
You've rebooted your machine since installing systemd (and are actually using it rather than sysvinit currently), correct? systemctl won't work unless systemd has been started.
Offline
rebooted many times
% ps -p 1 -o comm=
systemdsystemctl works as root
systemd-analyze does not work at all
I already have the optdeps
I see this in journactl too:
Oct 04 21:44:38 ltv systemd[1]: Failed to start Login Service.and it takes like 10 seconds to log in
but status looks fine
edit: or it's restarting over and over again about every 30 seconds?
sudo systemctl status systemd-logind
systemd-logind.service - Login Service
Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static)
Active: activating (start) since Thu, 04 Oct 2012 21:47:59 -0700; 3s ago
Docs: man:systemd-logind.service(8)
man:logind.conf(5)
http://www.freedesktop.org/wiki/Software/systemd/multiseat
Main PID: 3993 (systemd-logind)
CGroup: name=systemd:/system/systemd-logind.service
└ 3993 /usr/lib/systemd/systemd-logindLast edited by tladuke (2012-10-05 05:17:19)
Offline
umm
somehow I had never deleted/symlinked /var/run and /var/lock
argh
Offline