[OmniOS-discuss] kclient, NGZ /dev/random

Dan McDonald danmcd at omniti.com
Tue May 10 21:10:25 UTC 2016


Thank you.  This should be an illumos bug and fixed there. I'll file the bug shortly:

bloody(kadmin/kclient)[0]% git diff
diff --git a/usr/src/cmd/krb5/kadmin/kclient/kclient.sh b/usr/src/cmd/krb5/kadmin/kclient/kclient.sh
index 6d619e6..575f0a8 100644
--- a/usr/src/cmd/krb5/kadmin/kclient/kclient.sh
+++ b/usr/src/cmd/krb5/kadmin/kclient/kclient.sh
@@ -1386,7 +1386,7 @@ EOF
         i=0
 
        # first check to see if /dev/random exists to generate a new password
-       if [[ ! -h /dev/random ]]; then
+       if [[ ! -e /dev/random ]]; then
                printf "$(gettext "/dev/random does not exist").\n" >&2
                error_message
        fi
bloody(kadmin/kclient)[0]% 


Dan



More information about the OmniOS-discuss mailing list