The statement the "restorecon man page says it doesn't operate on symlinks" is not correct. In fact the man page says "restorecon does not follow symbolic links" which is quite different - and what we desire in regard to symlinks such as /etc/mtab.
I got different results from the restorecon tests, this is a bug in restorecon which we will fix (I'll file a bug report against policycoreutils in a minute), see below for an example. But regardless of those issues I believe that the patch from Jan Medlock is good and should be included. # /sbin/restorecon -R /dev ; echo $? 0 # /sbin/restorecon -R /dev /etc/mtab; echo $? 255 # /sbin/restorecon -R /etc/mtab; echo $? /sbin/restorecon: Warning no default label for /etc/mtab 0 # /sbin/restorecon -R /etc/mtab /dev; echo $? /sbin/restorecon: Warning no default label for /etc/mtab 0 -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org