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

Seth Vidal skvidal at fedoraproject.org
Fri Nov 7 15:08:32 UTC 2008



On Fri, 7 Nov 2008, Ugo Bellavance wrote:

> Brian Long a écrit :
>> 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.
>
> Hi,
>
> more than 3 years later, is there a solution to this?  We have a bunch of HP 
> servers and I'm working to make the installs as automated as possible and I'd 
> like to end up with a system with all the HP packages installed after 
> anaconda finishes...   How are you guys now proceeding?
>


1. did anyone tell hp about this and get them to fix their packages?

2. if you know which packages it is you're worried about and you know 
there's nothing else running in their %scriptlets then you could install 
those pkgs w/yum using a yum.conf with tsflags=noscripts under [main].


-sv


More information about the Yum mailing list