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

Post Reply
futureH
Junior Member
Posts: 9
Joined: 20 Sep 2019, 12:54

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

Post 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?
Black Tiger
Junior Member
Posts: 73
Joined: 17 Feb 2009, 14:14
Contact:

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

Post 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.
GordonAnsell
Junior Member
Posts: 1
Joined: 04 Dec 2020, 07:35

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

Post 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.
Post Reply