You are not logged in.

#1 2012-06-30 16:36:29

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

[SOLVED] Systemd -> console-kit-log-system-start.service FAILED

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

#2 2012-07-04 11:10:16

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: [SOLVED] Systemd -> console-kit-log-system-start.service FAILED

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

#3 2012-07-31 17:56:36

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: [SOLVED] Systemd -> console-kit-log-system-start.service FAILED

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

#4 2012-07-31 18:01:25

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

Re: [SOLVED] Systemd -> console-kit-log-system-start.service FAILED

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

#5 2012-07-31 18:54:31

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: [SOLVED] Systemd -> console-kit-log-system-start.service FAILED

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

Board footer

Powered by FluxBB