Created attachment 588494 [details]
I had been using /etc/init.d/xdm to start and stop lightdm.
However, when my system shuts down, /etc/init.d/xdm sometimes complains that there is no process associated with it.
I tried to fix it. But, since it is very complex, I ended up creating /etc/init.d/lightdm.
I think it is better for each display manager to have its own openrc init script.
It's very difficult to debug /etc/init.d/xdm