Hello,

I think some of you may have noticed this error message on the console of a
SmartOS machine:

"sshd[72686]: [ID 800047 auth.error] error: Can't convert to UTF-8: Cannot
convert the local codeset strings to UTF-8"

It's not harmful, but really annoying, especially when lots of them appear
on the console and /var/adm/message file.

Yesterday I figured out the following changes in illumos-extra can make the
error message disappear. Can someone make it into illumos-extra?

Thanks,

Youzhong Yang


g11n/src/lib/iconv/utf-8/Makefile.iconv
 ALL_SOS                = $(UTF_8_TO_US_ASCII) \
+                 $(US_ASCII_TO_UTF_8) \
                  $(UCS_2_TO_UTF_8) \
                  $(UCS_2LE_TO_UTF_8) \
                  $(UTF_8_TO_UCS_2) \

manifest
 d usr/lib/iconv 0755 root bin
 d usr/lib/iconv/amd64 0755 root bin
 f usr/lib/iconv/UTF-8%646.so 0755 root bin
+f usr/lib/iconv/646%UTF-8.so 0755 root bin
 f usr/lib/iconv/UTF-8%UCS-2.so 0755 root bin
 f usr/lib/iconv/UTF-8%UCS-2LE.so 0755 root bin
 f usr/lib/iconv/UCS-2%UTF-8.so 0755 root bin
 f usr/lib/iconv/UCS-2LE%UTF-8.so 0755 root bin
 f usr/lib/iconv/amd64/UTF-8%646.so 0755 root bin
+f usr/lib/iconv/amd64/646%UTF-8.so 0755 root bin
 f usr/lib/iconv/amd64/UTF-8%UCS-2.so 0755 root bin
 f usr/lib/iconv/amd64/UTF-8%UCS-2LE.so 0755 root bin
 f usr/lib/iconv/amd64/UCS-2%UTF-8.so 0755 root bin

g11n/Makefile
        cp proto/i386/fileroot/usr/lib/iconv/UTF-8%646.so $(LIBDIR)
+       cp proto/i386/fileroot/usr/lib/iconv/646%UTF-8.so $(LIBDIR)
        cp proto/i386/fileroot/usr/lib/iconv/UTF-8%UCS-2.so $(LIBDIR)
        cp proto/i386/fileroot/usr/lib/iconv/UTF-8%UCS-2LE.so $(LIBDIR)
        cp proto/i386/fileroot/usr/lib/iconv/UCS-2%UTF-8.so $(LIBDIR)
        cp proto/i386/fileroot/usr/lib/iconv/UCS-2LE%UTF-8.so $(LIBDIR)
        cp proto/i386/fileroot/usr/lib/iconv/amd64/UTF-8%646.so $(LIB64DIR)
+       cp proto/i386/fileroot/usr/lib/iconv/amd64/646%UTF-8.so $(LIB64DIR)
        cp proto/i386/fileroot/usr/lib/iconv/amd64/UTF-8%UCS-2.so
$(LIB64DIR)
        cp proto/i386/fileroot/usr/lib/iconv/amd64/UTF-8%UCS-2LE.so
$(LIB64DIR)
        cp proto/i386/fileroot/usr/lib/iconv/amd64/UCS-2%UTF-8.so
$(LIB64DIR)



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to