If a process was abruptly stopped by using "kill" command and due to that it wouldn't delete the UDS sockets that were created by that process. In such cases, can we use "rm" command to delete the socket file.
By any chance even after deleting the socket file using "rm" command, will there be any stale entities present in the kernel which might cause "Bad file descriptor" error if any other process tries to create the socket file with same name.?