You are not logged in.
Hi!
i'm using systemd, and i removed initscripts and sysvinit.
I've now noticed this error, it seems that service failed to load.
By the way, i can systemctl restart it, and then it will be active and running. So, where is the problem? I found this, that seems to be my same problem, but it is 2 years old! https://bugzilla.redhat.com/show_bug.cgi?id=632714 .
Any idea?
thanks!
Last edited by nierro (2012-07-31 18:59:21)
Offline
Looking into the issue, i can't find a solution...
so, here there are :
systemctl status console-kit-log-system-start.service
console-kit-log-system-start.service - Console System Startup Logging
Loaded: loaded (/usr/lib/systemd/system/console-kit-log-system-start.service; static)
Active: failed (Result: exit-code) since Tue, 03 Jul 2012 09:34:45 +0200; 1 day and 3h ago
Process: 175 ExecStart=/usr/sbin/ck-log-system-start (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/console-kit-log-system-start.service
and
journalctl -a | grep console-kit-log
Jul 03 09:34:45 arch systemd[1]: console-kit-log-system-start.service: main process exited, code=exited, status=1
Jul 03 09:34:45 arch systemd[1]: Unit console-kit-log-system-start.service entered failed state.
Any idea?
EDIT:as i said, i can restart it, without any sort of problem, so i guess the issue is related to the deps of this service (After=...). I left it untouched, never modified this service...
Last edited by nierro (2012-07-04 12:11:10)
Offline
Just to tell you, this problem is not solved.
But i have now one more info, probably really important to fix this:
systemctl status console-kit-log-system-start.service
console-kit-log-system-start.service - Console System Startup Logging
Loaded: loaded (/usr/lib/systemd/system/console-kit-log-system-start.service; static)
Active: failed (Result: exit-code) since Tue, 31 Jul 2012 19:49:56 +0200; 6min ago
Process: 183 ExecStart=/usr/sbin/ck-log-system-start (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/console-kit-log-system-start.service
Jul 31 19:49:56 arch ck-log-system-start[183]: ** (process:183): WARNING **: Couldn't create log file /var/log/ConsoleKit/history (No such file or directory)
What does exactly mean -> /var/log/ConsoleKit/history (no such file or dir) ??
Uhm, i mount /var/log in tmpfs, so may be is it the problem?
Thank you all for your help, in advice!
Offline
If you have /var/log/ mounted as tmpfs, /var/log/ConsoleKit/ obviously doesn't exist but ConsoleKit expects it to.
That's what tmpfiles are for, have a look at tmpfiles.d (also explained in the systemd wiki)
Offline
So i should create a /etc/tmpfiles.d/console-kit.conf file with the following content:
D /var/log/ConsoleKit/ 0755 root root
Am i right?
Thanks!
edit: and obviously you were right, thank you very much! Solved!
Last edited by nierro (2012-07-31 18:59:12)
Offline