OpenSolaris

Printable Version Enter a New Search
Bug ID 6523890
Synopsis installing lx branded zone from bzip2 compressed filesystem fails in "de" locale
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:brandz
Keywords opensolaris | oss-sponsor | request-sponsor
Sponsor William Kucharski
Submitter jk
Responsible Engineer William Kucharski
Reported Against snv_55 , s10u4_01
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_59
Fixed In snv_59
Release Fixed solaris_nevada(snv_59) , solaris_10u4(s10u4_04) (Bug ID:2146961)
Related Bugs 6409350
Submit Date 12-February-2007
Last Update Date 2-March-2007
Description
Category
   kernel
Sub-Category
   brandz
Description
   installing a lx branded zone from the bzip2 compressed centos filesystem
archive does not work in the "de" locale:
# zoneadm -z myzone install -d /tmp/centos_fs_image.tar.bz2
A ZFS file system has been created for this zone.
/tmp/centos_fs_image.tar.bz2: error: must be a gzip, bzip2, .Z or uncompressed t
ar archive.
Installation of zone 'myzone' aborted.
The ZFS file system for this zone has been destroyed.
Bug:
In /usr/lib/brand/lx/lx_install as an extra ';' so that the file command is
*not* started with LC_ALL=C !
                filetype=`{ LC_ALL=C; file $install_src |
                    awk '{print $2}' ; } 2>/dev/null`
Frequency
   Always
Regression
   No
Steps to Reproduce
   Setup system to use the "de" locale:
% env|grep LC_
LC_MONETARY=de_DE.ISO8859-1
LC_TIME=de_DE.ISO8859-1
LC_MESSAGES=de_DE.ISO8859-1
LC_CTYPE=de_DE.ISO8859-1
LC_COLLATE=de_DE.ISO8859-1
LC_NUMERIC=de_DE.ISO8859-1
Use the procedure documented in 
http://www.opensolaris.org/os/community/brandz/install/
Install the lx zone using the centos bzip2 compressed filesystem
image,  zoneadm -z myzone install -d /tmp/centos_fs_image.tar.bz2
Expected Result
   lx zone is installed from bzip2 compressed tar archive
Actual Result
   zoneadm ... install refuses to install, telling me the file is not
in bzip2 compressed tar format.
Error Message(s)
   /tmp/centos_fs_image.tar.bz2: error: must be a gzip, bzip2, .Z or uncompressed tar archive.
Test Case
   
Workaround
   Define an environment variable LC_ALL=C before using 
zoneadm ... install
Submitter wants to work on bug
   Yes
Additional configuration information
   snv_55b, bfu'ed to opensolaris-2007-02-09
System is configured to use the "de_DE.ISO8859-1" locale
Work Around
N/A
Comments
N/A