With policycoreutils 2.0.71, "restorecon /dev/stdin" fails if stdin is a pipe: martin@caligula:~$ echo hi | sudo restorecon /dev/stdin realpath(/dev/stdin) failed No such file or directory Why would you want to do this? The Debian udev init script does ln -s /proc/self/fd/0 /dev/stdin restorecon /dev/stdin I am not sure why stdin is a pipe here but it is some consequence of the boot process. The intention here (and what happened with policycoreutils 2.0.69) is to relabel the symbolic link. But the recent realpath patch changed this, and I don't think there is a way now to ask restorecon to relabel an individual symlink. -- Martin Orr -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.