|
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
|