You are not logged in.

#1 2013-09-19 11:11:59

mibadt
Member
Registered: 2009-09-25
Posts: 396

How to fix this during- boot error?

Hi,

I'm on a  fully updated Arch-X86_64/KDE.
Although the system boots and functions OK, journalctl -b gives this error.
What's the meaning of it, and how do I fix it?

Thanks

------------part of journalctl -b------------------

Sep 19 13:51:27 Miki_Arch systemd[584]: Failed at step EXEC spawning /usr/sbin/console-kit-daemon: No such file or directory
Sep 19 13:51:27 Miki_Arch systemd[1]: Failed to start Console Manager.

Best regards,
Michael Badt

Offline

#2 2013-09-19 11:58:43

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: How to fix this during- boot error?

It looks like something is trying to start Console-kit, but it's not installed on your system (and it probably shouldn't be as it's no longer maintained etc.).
Try grepping your /etc/systemd/system/ directory (and the target wants subdirs) for "console-kit-daemon", also /usr/lib/systemd/system/* too.

If it's not there, there is probably a script somewhere that calls it. You may be able to track it down with the entries before and after the errors.


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#3 2013-09-19 13:47:33

mibadt
Member
Registered: 2009-09-25
Posts: 396

Re: How to fix this during- boot error?

Thanks Skanky,
Indeed I found the following in  /usr/lib/systemd/system  (see below).
Given the fact that indeed none of the console-kit has been accessed for over a year, is it safe to delete all those?


thanks

Miki Badt

# pwd
/usr/lib/systemd/system
[root@Miki_Arch system]# ls -l consol*
-rw-r--r-- 1 root root 699 Sep 18 20:13 console-getty.service
-rw-r--r-- 1 root root 432 May 27  2012 console-kit-daemon.service
-rw-r--r-- 1 root root 219 May 27  2012 console-kit-log-system-restart.service
-rw-r--r-- 1 root root 201 May 27  2012 console-kit-log-system-start.service
-rw-r--r-- 1 root root 218 May 27  2012 console-kit-log-system-stop.service
-rw-r--r-- 1 root root 722 Sep 18 20:13 console-shell.service

Best regards,
Michael Badt

Offline

#4 2013-09-19 13:54:19

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: How to fix this during- boot error?

The console-getty and console-shell service files are not console-kit related and should be left.

You should check in /etc/systemd/system/* for the console-kit linked files and use systemctl to disable them. That will remove the error whether or not you delete them.

You should check for package ownership before deleting them, to make sure:

pacman -Qo /usr/lib/systemd/system/console-kit-daemon.service

There should be no owners, otherwise you should look to remove the owning package.

Edit: typo and clarification.

Last edited by skanky (2013-09-19 14:35:46)


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#5 2013-09-19 13:55:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: How to fix this during- boot error?

No don't delete them.  First, that is the wrong directory.  Skanky rightly recommended /etc/systemd/system.  You're looking at /usr/lib/systemd/system.  The units you are seeing are not active, but they belong to a package, so do not manually deleted them.  The getty + shell ones are owned by systemd and should be there.  I presume the others are owned by consolekit (check with pacman -Qo) - if you are not using consolekit, remove it with pacman, not by deleting random files.

(edit: typo)

Last edited by Trilby (2013-09-19 18:37:19)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2013-09-19 18:04:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: How to fix this during- boot error?

Not a Sysadmin issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB