[Yum] yum in kickstart %post and HP Insight Mgr

Brian Long brilong at cisco.com
Tue May 31 19:46:10 UTC 2005


I'm trying to use yum in the %post section of kickstart.  With well-
written RPMs, this works great.  However, I've come across the lovely HP
Insight Manager RPMS (hpasm, hprsm, etc) which seem to run "service
hpasm start" during the RPM postinstall (yuck).  This wouldn't be too
bad if the daemons actually disassociated from the running terminal.  

I notice yum install the group "yum groupinstall Insight-Manager" and
yum exits, but the rest of the kickstart %post doesn't run.  If I look
at the hpasmd processes, they're tied to tty1 and owned by init  :(  If
I hit Alt-F2 in kickstart and chroot /mnt/sysimage, service hpasm stop,
the rest of the kickstart %post finishes.  I also strace'd the /tmp/ks-
script process and it's stuck at waitpid(-1, )

I cannot wait on a vendor escalation at this time, so I see one method
of a workaround.  Move the yum installs to a firstboot scenario instead
of %post.  I'd really like to find another way around this.

Any ideas would be appreciated.  Thanks.

/Brian/
-- 
       Brian Long                      |         |           |
       IT Data Center Systems          |       .|||.       .|||.
       Cisco Linux Developer           |   ..:|||||||:...:|||||||:..
       Phone: (919) 392-7363           |   C i s c o   S y s t e m s




More information about the Yum mailing list