<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></head><body
 bgcolor="#FFFFFF" text="#000000">
  <span style="color: rgb(0, 0, 0);">Hi all,</span><br style="color: 
rgb(0, 0, 0);">
  <br style="color: rgb(0, 0, 0);">
  <span style="color: rgb(0, 0, 0);">I've reviewed the mailing list 
archives and it looks like the "centos.org" AMIs in the marketplace are </span><br
 style="color: rgb(0, 0, 0);">
  <span style="color: rgb(0, 0, 0);">really official products of the 
centos project (whatever that means), but I wanted to ask explicitly</span><br
 style="color: rgb(0, 0, 0);">
  <span style="color: rgb(0, 0, 0);">to confirm.</span><br style="color:
 rgb(0, 0, 0);">
  <br style="color: rgb(0, 0, 0);">
  <span style="color: rgb(0, 0, 0);">Presuming yes, I've run into an odd
 problem with the 6.4 x86_64 AMI (not updated).  </span><br 
style="color: rgb(0, 0, 0);">
  <br style="color: rgb(0, 0, 0);">
  <br style="color: rgb(0, 0, 0);">
  <span style="color: rgb(0, 0, 0);">
with a few packages, files are not being properly created in 
/usr/share/locale/xx/LC_XXXX when I install the RPM.  <br>
<span>I mostly don't care about the files themselves, but I worry about 
what 
else is wrong.<br></span></span><br style="color: rgb(0, 0, 0);">
  <small><small><small><small><small><small><small><small><small><span 
style="color: rgb(0, 0, 0);">I</span></small></small></small></small></small></small></small></small></small>'ll
 use 
subversion as my example below, but there are about half a dozen 
affected packages, including the coreutils <br>
package as shipped in the AMI (ami-bf5021d6).<br>

  <span style="color: rgb(0, 0, 0);"><br>
<br>
I have turned off selinux enforcement.  <br>
  <br>
RPM database shows the file:<br>
  <div style="margin-left: 40px;"><span style="font-family: monospace;">[root@dns-east

 svn]# rpm -ql subversion | grep de.LC</span><br style="font-family: 
monospace;">
    <span style="font-family: monospace;">/usr/share/locale/de/LC_MESSAGES/subversion.mo</span><br>
  </div>
  <br>
verify doesn't complain:<br style="font-family: monospace;">
  <div style="margin-left: 40px;"><span style="font-family: monospace;">[root@dns-east

 svn]# rpm --verify subversion</span><br style="font-family: monospace;">
    <span style="font-family: monospace;">[ just returns, no output ]</span><br>
    <span style="font-family: monospace;"></span></div>
  <span style="font-family: monospace;"><br>
  </span>RPM package contains the file<span style="font-family: 
monospace;">:<br>
  </span>
  <div style="margin-left: 40px;"><span style="font-family: monospace;"></span><span
 style="font-family: monospace;">[root@dns-east svn]# rpm2cpio 
/tmp/subversion-1.6.11-10.el6_5.x86_64.rpm | cpio -t | grep 
de.LC_MESSAGES</span><br style="font-family: monospace;">
    <span style="font-family: monospace;">23744 blocks</span><br 
style="font-family: monospace;">
    <span style="font-family: monospace;">./usr/share/locale/de/LC_MESSAGES/subversion.mo</span><br
 style="font-family: monospace;">
    <span style="font-family: monospace;"></span><br>
    <span style="font-family: monospace;"></span><span 
style="font-family: monospace;">[root@dns-east svn]# rpm2cpio 
/tmp/subversion-1.6.11-10.el6_5.x86_64.rpm | cpio --extract 
--make-directories</span><br style="font-family: monospace;">
    <span style="font-family: monospace;">23744 blocks</span><br 
style="font-family: monospace;">
    <span style="font-family: monospace;">[root@dns-east svn]# ls -l 
./usr/share/locale/de/LC_MESSAGES/</span><br style="font-family: 
monospace;">
    <span style="font-family: monospace;">total 308</span><br 
style="font-family: monospace;">
    <span style="font-family: monospace;">-rw-r--r--. 1 root root 312655
 Mar 13 14:03 subversion.mo</span><br>
  </div>
  <br>
Uninstalling and reinstalling the RPM doesn't help.   </span><br 
style="color: rgb(0, 0, 0);">
  <br style="color: rgb(0, 0, 0);">
  <span style="color: rgb(0, 0, 0);">There are no crazy install scripts,
 either.  </span><br style="color: rgb(0, 0, 0);">
  <br style="color: rgb(0, 0, 0);">
  <div style="margin-left: 40px; font-family: monospace; color: rgb(0, 
0, 0);">[root@dns-east svn]# rpm -qp --scripts 
../subversion-1.6.11-10.el6_5.x86_64.rpm<br>
postinstall scriptlet (using /bin/sh):<br>
# Register the snvserve service<br>
/sbin/chkconfig --add svnserve 2>&1<br>
/sbin/ldconfig<br>
preuninstall scriptlet (using /bin/sh):<br>
if [ $1 = 0 ]; then<br>
    /sbin/service svnserve stop > /dev/null 2>&1 || :<br>
    /sbin/chkconfig --del svnserve > /dev/null 2>&1 || :<br>
fi<br>
postuninstall program: /sbin/ldconfig<br>
[root@dns-east svn]#<br>
  </div>
  <br style="color: rgb(0, 0, 0);">
  <br style="color: rgb(0, 0, 0);">
  <div style="color: rgb(0, 0, 0);" class="moz-signature">-- <br><span>Dan
 Pritts<br>ICPSR Computing & Network Services<br>University of 
Michigan<br>+1 <span 
__postbox-detected-content="__postbox-detected-phone" 
class="__postbox-detected-content __postbox-detected-phone" 
style="display: inline; font-size: inherit; padding: 0pt;">(734)615-7362</span><o:p></o:p><br>
</span></div>
</body>
</html>