You are not logged in.
Saw the news item so I did a full update. I still can't remove consolekit because of dependecies though. Has the update just not been pushed out yet or am I required to do something?
sudo pacman -R consolekit
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: slim: requires consolekit
:: xfce4-session: requires consolekitOffline
It just got pushed from testing in the last few minutes. Wait for the mirrors to update.
Last edited by Scimmia (2012-10-30 23:05:56)
Offline
I think the news was just pushed to make users aware that the changes are about to come. As I ahve not seen the repos updated to fully reflect the change yet. In fact, I beloeve the necessary polkit is still only available in testing. You ned to have polkit 0.107-4 for it to be compatible with logind
Offline
Check it again, WonderWoofy, they're being pushed to the main repos as we speak.
Offline
Alright I got the update now and removed console kit without any dependency problems. I wasn't trying to be impatient. I just didn't know what time the news item was posted.
Offline
Yes, I apparently posted mere minutes before it was actually pushed. In any case I ahve been using thesting repos for a bit over a week, and all is well.
Offline
Does pacman -Rs consolekit also remove the consolekit systemd services or do we have to do that manually?
Edit: It doesn't seem to be fully removed. The following two are no longer listed with systemctl --all:
console-kit-daemon.service
console-kit-log-system-start.service
But consolekit.service still appears with "error | inactive | dead" against it.
What is the command to remove this (and other) dead services?
systemctl disable consolekit.service only gives this error: "Failed to issue method call: No such file or directory".
Thanks.
Last edited by kinleyd (2012-10-31 03:56:44)
Offline
Since you didn't disable them before removal (which I don't even know if it was possible or not), you probably have to go and delte the symlinks themselves.
I must say, good riddence to consolekit! I definitely agree with the sentiments posted on one of the mailing lists that said "Kill it with fire!" Though I can't find that email anymore. I may have deleted it.
Offline
Thanks WonderWoofy. I couldn't find anything in my /etc folders, but found a number of .service files in /lib/systemd/system. I would be grateful for any definitive pointers as to which location the symlinks are in, or which symlinks I can safely delete to remove the inactive/dead services.
Last edited by kinleyd (2012-10-31 04:20:31)
Offline
It would be a symlink in one of the *.target.wants folders. Enable something that isn't alread enabled, and you will see that the command actually just symlinks the given service into the appropriate folder as defined in the [Install] section of the .service file itself. So you would be looking in /etc/systemd/system or /usr/lib/systemd/system or /run/systemd/system. Though the /run folder is volatile, so it probably is not going to be there.
I have been running without consolekit for maybe two months now. I had been using a polkit patched by tomegun that would work with either logind or consolekit. Then I switched to the testing repo's consolekit. Then I though hey, what the hell, I'll just try the testing repo. I must say, so far I am impressed with how smooth the testing repo has been.
Offline
Thanks a lot. I will try it out the way you suggested. I won't be as bleeding edge as you, but I'll try not to be too far behind. ;)
Offline
I can't find any consolekit-related services on my system.
Offline
This systemd is funny, it replaces everything
In the end we would call our systems GNU/SystemD.
Last edited by SoleSoul (2012-10-31 10:35:15)
Offline
Hopefully it will replace the GNU part, not the Linux one. ![]()
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
@brain0: It's pretty weird: I had all these as inactive/dead services when I checked after removing consolekit (and rebooting, etc):
auditd, consolekit, plymouth-quit-wait, plymouth-start, rc-local, syslog.
Later in the day I installed kernel 3.6.4 and rebooted, and all remained in the list of inactive/dead services except consolekit, which was gone. Which is good, in a way, though I still have to hunt down the others and remove them.
Offline
@brain0, I think the only reason why they would still be showing up is if you were to enable them to have them load early. Since they were always loaded anyway, some users were apparnetly having delays with it being pulled as a dep instead of being specified as a startup service.
@ kinleyd, I noticed those things as well. If you don't plan on using things like plymouthd or auditd or a real syslog (in addition to the journal), you can simply mask them. Do this by either using systemctl mask or simply symlinking the units in /etc/systemd/system to /dev/null.
Offline
Thanks, WonderWoofy, that's very helpful. I'll try the 'systemctl mask' route and see how it goes.
Last edited by kinleyd (2012-10-31 15:17:48)
Offline
@ kinleyd, I noticed those things as well. If you don't plan on using things like plymouthd or auditd or a real syslog (in addition to the journal), you can simply mask them. Do this by either using systemctl mask or simply symlinking the units in /etc/systemd/system to /dev/null.
There is no need to mask those services - they don't exist. There are some references to them in other units, that's why they show up. If you want a nice overview over your system, try
systemctlor
systemctl list-unit-filesOffline
@brain0: You are right, neither systemctl nor 'systemctl list-unit-files' shows the errors I mentioned. However, 'systemctl --all' does reflect them, and that's the issue. Having seen it, it'd be nice to fix it (ie. remove the source of the errors, especially if the services don't exist) -- if it isn't too complicated.
Last edited by kinleyd (2012-10-31 15:14:41)
Offline
Let me give you an example:
$ systemctl --all|grep error
auditd.service error inactive dead auditd.service
plymouth-quit-wait.service error inactive dead plymouth-quit-wait.service
plymouth-start.service error inactive dead plymouth-start.service
rc-local.service error inactive dead rc-local.service
syslog.service error inactive dead syslog.serviceLet's look at rc-local.service (which doesn't exist on Arch):
$ grep rc-local.service /usr/lib/systemd/system/* 2>/dev/null
/usr/lib/systemd/system/autovt@.service:After=rc-local.service
/usr/lib/systemd/system/console-getty.service:After=rc-local.service
/usr/lib/systemd/system/console-shell.service:After=rc-local.service
/usr/lib/systemd/system/getty@.service:After=rc-local.service
/usr/lib/systemd/system/serial-getty@.service:After=rc-local.serviceAs you can see, there are some After= orderings on this service. This is why systemd tries to load the service. This is not a problem, since After= does not imply a dependency, just an ordering. If you don't have the service (or have it but don't enable it), this is harmless.
These errors won't go away - you will always have units that have After= or Before= on services you don't have installed. There isn't even anything to fix. If you want to see if a real error happened on your system, the following command is your friend:
systemctl --failedOffline
Yes, I had figured out the '| grep error' and '--failed' command options, but your explanation of systemd's orderings was very clear. Thanks brain0.
Offline