You are not logged in.
Pages: 1
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
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
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.serviceBest regards,
Michael Badt
Offline
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.serviceThere 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
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
Not a Sysadmin issue, moving to NC...
Offline
Pages: 1