[illumos-Discuss] Distribution Constructor on IllumOS

B M b.maryniuck at gmail.com
Thu Aug 26 17:23:57 PDT 2010


On Thu, Aug 26, 2010 at 5:26 PM, Gabriele Bulfon <gbulfon at sonicle.com> wrote:
> Traceback (most recent call last):
>   File "/usr/share/distro_const/pre_boot_archive_pkg_image_mod.py", line 86, in <module>
>     alt_root=pkg_img_path)
>   File "/usr/lib/python2.6/vendor-packages/osol_install/install_utils.py", line 808, in encrypt_password
>     salt = crypt_gensalt(alt_root)
>   File "/usr/lib/python2.6/vendor-packages/osol_install/install_utils.py", line 770, in crypt_gensalt
>     for alg in allow_alg:
> TypeError: 'NoneType' object is not iterable
> Child returned err 1
> Build completed Tue Aug 24 19:34:27 2010
> Build failed.
>
>
> Anyone have any idea? maybe someone already could make DC run?
> Thanks for any help,
> Gabriele.

Hi!

Personally I have no much idea why it won't run on Illumos in this
particular time, but looks like it has relations to probably missing
crypt algorithms that are used to encrypting passwords. These are md5
various implementations, sha256, sha512 etc. They should be defined in
"/etc/security/crypt.conf". Also that a part of DC, in particular
/usr/lib/python2.6/vendor-packages/osol_install/install_utils.py
programmed in not best way, so unfortunately many places in
"osol_install" package meant to just crash like this, once something
somewhere is missing. :-(

Hope this helps a bit.

--
bo



More information about the Discuss mailing list