> Constantin Gonzalez Schmitz wrote:
> 
> > 2. After going through the zfs-bootification,
> Solaris complains on reboot that
> >    /etc/dfs/sharetab is missing. Somehow this seems
> to have been fallen through
> >    the cracks of the find command. Well, touching
> /etc/dfs/sharetab just fixes
> >    the issue.
> 
> sharetab is now an in kernel filesystem.
> 
> 
> > 3. But here's a more serious one: While booting,
> Solaris complains:
> > 
> >    Apr 19 15:00:37 foeni kcf: [ID 415456
> kern.warning] WARNING: No randomness
> >    provider enabled for /dev/random. Use
> cryptoadm(1M) to enable a provider.
> > 
> >    Somehow, /dev/random and/or it's counterpart in
> /devices seems to have
> >    suffered from the migration procedure.
> > 
> > Does anybody know how to fix the /dev/random issue?
> I'm not very fluent in
> > cryptoadm(1M) and some superficial reading of it's
> manpage did not enlighten
> > me too much (cryptoadm list -p claims all is
> well...).
> 
> Send the output of the following:
> 
> cryptoadm list -p
> cat /etc/crypto/kcf.conf
> dd if=/dev/random bs=10 count=1 | od -x  (basically
> is it working now)

***************************************************************

# cryptoadm list -p                      

Provider at user level:
=====================
/usr/lib/security/$ISA/pkcs11_kernel.so: All Mechanisms are activated.
/usr/lib/security/$ISA/pkcs11_softtoken.so: All Mechanisms are activated. 
random is activated.

Kernel Software provider:
==========================
des: All Mechanisms are activated..
aes: All Mechanisms are activated..
arcfour: All Mechanisms are activated..
blowfish: All Mechanisms are activated..
sha1: All Mechanisms are activated..
sha2: All Mechanisms are activated..
md4: All Mechanisms are activated..
md5: All Mechanisms are activated..
rsa: All Mechanisms are activated..
swrand: random is activated.

Kernel-Hardware provider:
==========================

****************************************************************

# cat /etc/crypto/kcf.conf
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident "@(#)kcf.conf   1.10    07/04/10 SMI"
#
# /etc/crypto/kcf.conf
#
# Do NOT edit this file by hand.   An administrator should use cryptoadm(1m)
# to administer the cryptographic framework.  A developer for a kernel software
# provider package or a cryptographic provider device driver(s) package should
# provide an input file and use the {i,r}.kcfconf class action scripts to
# update this file during the installation and removal of the package.
#
# This document does not constitute an API.  The /etc/crypto/kcf.conf file may
# not exist or may have a different content or interpretation in a future 
# release.  The existence of this notice does not imply that any other 
# documentation that lacks this notice constitutes an API.
#
#  
#
# Start SUNWcsr
des:supportedlist=CKM_DES_CBC,CKM_DES_ECB,CKM_DES3_CBC,CKM_DES3_ECB
aes:supportedlist=CKM_AES_ECB,CKM_AES_CBC,CKM_AES_CTR
arcfour:supportedlist=CKM_RC4
blowfish:supportedlist=CKM_BLOWFISH_ECB,CKM_BLOWFISH_CBC
sha1:supportedlist=CKM_SHA_1,CKM_SHA_1_HMAC_GENERAL,CKM_SHA_1_HMAC
sha2:supportedlist=CKM_SHA256,CKM_SHA256_HMAC,CKM_SHA256_HMAC_GENERAL,CKM_SHA384,CKM_SHA384_HMAC,CKM_SHA384_HMAC_GENERAL,CKM_SHA512,CKM_SHA512_HMAC,CKM_SHA512_HMAC_GENERAL
md4:supportedlist=CKM_MD4
md5:supportedlist=CKM_MD5,CKM_MD5_HMAC_GENERAL,CKM_MD5_HMAC
rsa:supportedlist=CKM_RSA_PKCS,CKM_RSA_X_509,CKM_MD5_RSA_PKCS,CKM_SHA1_RSA_PKCS,CKM_SHA256_RSA_PKCS,CKM_SHA384_RSA_PKCS,CKM_SHA512_RSA_PKCS
swrand:supportedlist=random
# End SUNWcsr
# Start SUNWdcar driver_names=dca
# End SUNWdcar

******************************************************************************************

# dd if=/dev/random bs=10 count=1 | od -x
1+0 datasets in
1+0 datasets out
0000000 285a 16c1 e017 b6ee 05eb
0000012

*******************************************************************************************
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to