[CentOS-virt] Are the "centos.org" AMIs in the EC2 marketplace "official"? locale breakage in 6.4 AMI

Dan Pritts danno at umich.edu
Thu Mar 13 14:56:44 UTC 2014

Hi all,

I've reviewed the mailing list archives and it looks like the 
"centos.org" AMIs in the marketplace are
really official products of the centos project (whatever that means), 
but I wanted to ask explicitly
to confirm.

Presuming yes, I've run into an odd problem with the 6.4 x86_64 AMI (not 

with a few packages, files are not being properly created in 
/usr/share/locale/xx/LC_XXXX when I install the RPM.
I mostly don't care about the files themselves, but I worry about what 
else is wrong.

I'll use subversion as my example below, but there are about half a 
dozen affected packages, including the coreutils
package as shipped in the AMI (ami-bf5021d6).

I have turned off selinux enforcement.

RPM database shows the file:
[root at dns-east svn]# rpm -ql subversion | grep de.LC

verify doesn't complain:
[root at dns-east svn]# rpm --verify subversion
[ just returns, no output ]

RPM package contains the file:
[root at dns-east svn]# rpm2cpio /tmp/subversion-1.6.11-10.el6_5.x86_64.rpm 
| cpio -t | grep de.LC_MESSAGES
23744 blocks

[root at dns-east svn]# rpm2cpio /tmp/subversion-1.6.11-10.el6_5.x86_64.rpm 
| cpio --extract --make-directories
23744 blocks
[root at dns-east svn]# ls -l ./usr/share/locale/de/LC_MESSAGES/
total 308
-rw-r--r--. 1 root root 312655 Mar 13 14:03 subversion.mo

Uninstalling and reinstalling the RPM doesn't help.

There are no crazy install scripts, either.

[root at dns-east svn]# rpm -qp --scripts 
postinstall scriptlet (using /bin/sh):
# Register the snvserve service
/sbin/chkconfig --add svnserve 2>&1
preuninstall scriptlet (using /bin/sh):
if [ $1 = 0 ]; then
     /sbin/service svnserve stop > /dev/null 2>&1 || :
     /sbin/chkconfig --del svnserve > /dev/null 2>&1 || :
postuninstall program: /sbin/ldconfig
[root at dns-east svn]#

Dan Pritts
ICPSR Computing & Network Services
University of Michigan
+1 (734)615-7362
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos-virt/attachments/20140313/91b8291f/attachment.html 

More information about the CentOS-virt mailing list