Page 1 of 1

systemd-logind: Failed to remove runtime directory /run/user/0: Device or resource busy

Posted: 27 Sep 2019, 02:17
by futureH
In /var/log/messages I see many of these types of messages, in fact they are the only ones I see:
systemd-logind: Failed to remove runtime directory /run/user/0: Device or resource busy

When I google this message, the first result is:
https://www.centos.org/forums/viewtopic.php?t=59876

which one of the posters seems to indicate could be caused by lfd.

Any further insight into this?

Re: systemd-logind: Failed to remove runtime directory /run/user/0: Device or resource busy

Posted: 09 Oct 2019, 01:44
by Black Tiger
Curious about this too. We have a VPS running which has this issue too.
About every minute a logfile entry with this.

Also tried the commands:

Code: Select all

[root@vps: ~]# fuser -m /run/user/0
[root@vps: ~]# fuser -a /run/user/0 
/run/user/0:
[root@vps: ~]# 
no result, can't find the cause either.
So if anyone would fine a solution I would also be interested.

Issue only on that 1 vps, not on any other server, I doubt if it's CSF but one never knows.

Re: systemd-logind: Failed to remove runtime directory /run/user/0: Device or resource busy

Posted: 04 Dec 2020, 08:26
by GordonAnsell
I get this message too. I began a process of trying to track it down, which I logged at: https://gordonansell.com/systemd-logind ... directory/

Theres a correlation with that message and LFD in terms of the proximity of the messages, but that does not of course mean LFD is the cause.

If I reboot the message goes away for a while. It might disappear for days or weeks, but it always seems to come back.