You are not logged in.
On startup of my system, acpid shuts down almost immediately when dbus gets started. I have to manually start acpid at a later point, then it stays running. I also have the problem of acpid sometimes shutting down randomly during operation.
This is what happens on startup (taken from /var/log/everything.log):
Nov 21 08:09:48 localhost acpid: starting up with netlink and the input layer
Nov 21 08:09:48 localhost acpid: 4 rules loaded
Nov 21 08:09:48 localhost acpid: waiting for events: event logging is off
(...)
Nov 21 08:10:05 localhost acpid: client connected from 1781[0:0]
Nov 21 08:10:05 localhost acpid: 1 client rule loaded
Nov 21 08:10:08 localhost dbus[1155]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper)
Nov 21 08:10:08 localhost dbus[1155]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Nov 21 08:10:08 localhost polkitd[1853]: started daemon version 0.102 using authority implementation `local' version `0.102'
Nov 21 08:10:08 localhost dbus[1155]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Nov 21 08:10:08 localhost dbus[1155]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
Nov 21 08:10:08 localhost acpid: exiting
This is my DAEMONS array from rc.conf:
DAEMONS=(hwclock syslog-ng dnsmasq net-auto-wireless netfs crond acpid @dbus @alsa @sshd @cupsd @privoxy @laptop-mode @wireless-regdom)
Can anyone point me into a direction of finding out why acpid exits? Is this dbus fucking with my system because of doing its own stuff or something like that?
Last edited by Natanji (2011-11-21 09:25:12)
Offline
Ping.
Offline
Place dbus after syslog-ng in your daemons array. It should be started earler than you have it.
--
Neal
Registered Linux User 159445.
Offline
In my understanding, dbus requires acpid to be running already to work properly. The other modules shouldn't really make a difference either; or is there a reason to start dbus and acpid before crond, dnsmasq, etc.? Please explain why it "should" be started earlier.
Offline
acpid module should be in front of dbus.
EDIT: sorry, i see you already have it in front of dbus. Maybe you should not background dbus daemon.
Last edited by Shark (2011-12-02 13:34:23)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline