setup repositories Yum problèmes

Michael E Brown Michael_E_Brown at dell.com
Thu Jul 26 08:29:05 CDT 2007


On Thu, Jul 26, 2007 at 11:31:49AM +0200, Ludovic Cesar wrote:
> Thanks for your attention,
> 
> I have relaunch the procedure of YUM repositories in a new VM (i you want 
> i give my kickstart.cfg files), and i have maked your recommendation.

Are you installing this inside a VM? The yum repositories almost
exclusively contain software that requires Dell hardware to run... OMSA,
drivers for our how, etc. The repositories themselves need to get the
system ID of the physical machine (which is really just the system model
number), to set up the repository.

In short, setting up the hardware repositories wont work inside of a VM.

> 
> My ps when the script is bloked: ( i have deleted the obsolete ligne)
> 
> root     30155 30117  0 09:42 pts/1    00:00:00 bash
> root     30185 30155  1 09:42 pts/1    00:00:01 /usr/bin/python 
> /usr/bin/yum -y install dell-hw-specific-repository
> root     30187 30185  0 09:42 pts/1    00:00:00 /bin/sh 
> /var/tmp/rpm-tmp.94771 1
> root     30188 30187  0 09:42 pts/1    00:00:00 /bin/sh 
> /var/tmp/rpm-tmp.94771 1
> root     30189 30188 99 09:42 pts/1    00:01:37 getSystemId
> root     30190 30188  0 09:42 pts/1    00:00:00 grep ^System ID:
> root     30191 30188  0 09:42 pts/1    00:00:00 cut -d: -f2
> root     30192 30188  0 09:42 pts/1    00:00:00 xargs echo
> root     30196 30087  0 09:44 pts/0    00:00:00 ps -ef

So, this I'm pretty sure clearly indicates that the problem is in my
RPM's %post script. Looks to me like the getSystemId command is hanging.

I would expect that command to fail in a VM, but I wouldnt expect it to
hang.

What kind of virtualization are you using?

> The yum update:
> # yum update
> Loading "rhnplugin" plugin
> Loading "installonlyn" plugin
> Loading "dellsysidplugin" plugin

The dellsysidplugin is failing here. It also runs 'getSystemId', which
still appears to be hanging.

So, in short, the problem is with libsmbios. I'll need details about
your environment to see if I can figure out why it is hanging.
--
Michael



More information about the Linux-PowerEdge mailing list