?Dear Spacewalk users,

All the Kickstart scripts generated by Spacewalk contains a snippet that tries 
to update / install a version of libxml2 using the wrong CPU architecture. The 
system being installed over PXE is a x86_64 machine but the Kickstart script 
tries to install the i686 version of libxml2. This is the offending part of the 
script:


# Kickstart config file generated by Spacewalk Config Management
# Profile Label : CAPtestRH6
# Date Created  : 2014-08-27 11:32:49.145428

install
text
network --bootproto dhcp
...
%post --log /root/ks-rhn-post.log
# --Begin Spacewalk command section--

...

mkdir -p /tmp/rhn_rpms/optional
cd /tmp/rhn_rpms/optional
wget -P /tmp/rhn_rpms/optional 
http://ESAC-DSNM-LC03P.om.dsntb.inet/download/package/f9b41e82f845cdbd54db71bd83dc74d40e21babf/0/2/34576/rhnlib-2.5.22-15.el6.noarch.rpm
 
http://ESAC-DSNM-LC03P.om.dsntb.inet/download/package/ee3fa57809af84816682156c6b5e788c13e08c47/0/2/63732/pyOpenSSL-0.13.1-1.el6ost.x86_64.rpm
 
http://ESAC-DSNM-LC03P.om.dsntb.inet/download/package/23e1c75cec1a424c00d290a2bb4ee2994d299058/0/2/34145/libxml2-2.7.6-14.el6_5.2.i686.rpm
 
http://ESAC-DSNM-LC03P.om.dsntb.inet/download/package/9c1c81e588caa4484a8af41f0d6f9dab50a494d0/0/2/31461/libxml2-python-2.7.6-14.el6_5.2.x86_64.rpm
rpm -Uvh --replacepkgs --replacefiles /tmp/rhn_rpms/optional/pyOpenSSL* 
/tmp/rhn_rpms/optional/rhnlib* /tmp/rhn_rpms/optional/libxml2-python* 
/tmp/rhn_rpms/optional/libxml2*

...


The interesting piece of information is that only libxml2 is using the wrong 
CPU architecture (i686) but pyOpenSSL and libxml2-python are using the right 
CPU architecture (x86_64).


I've been trying to debug why this is happening. It seems to me that the 
Kickstart file is being generated by the following Java class: 
https://github.com/spacewalkproject/spacewalk/blob/eddc93b6ea9abbe246a29eedefb5f4665b56d1c8/java/code/src/com/redhat/rhn/manager/kickstart/KickstartFormatter.java.
 I've also tried enabling log4j debugging by modifying 
/var/lib/tomcat6/webapps/rhn/WEB-INF/classes/log4j.properties? and uncommenting 
the following line:


log4j.logger.com.redhat.rhn=DEBUG

But I can't seem to find any useful debugging information in 
/var/log/tomcat6/catalina.out as generated by KickstartFormatter.java. Not sure 
if this is the case because KickstartFormatter.java is not being called or 
because log4j is misconfigured.

Any help?

?Regards

________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede 
contener información privilegiada o confidencial y es para uso exclusivo de la 
persona o entidad de destino. Si no es usted. el destinatario indicado, queda 
notificado de que la lectura, utilización, divulgación y/o copia sin 
autorización puede estar prohibida en virtud de la legislación vigente. Si ha 
recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente 
por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential 
information intended only for the use of the individual or entity named above. 
If the reader of this message is not the intended recipient, you are hereby 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this transmission in error, do not 
read it. Please immediately reply to the sender that you have received this 
communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode 
conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa 
ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica 
notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização 
pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem 
por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e 
proceda a sua destruição
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to