[Yum] Re: yum in kickstart %post and HP Insight Mgr
Klaus Steden
klaus.steden at thomson.net
Tue May 31 21:05:43 UTC 2005
This might be a stupid suggestion, but would using 'nohup' be of any value?
> > > [some preamble cut]
> >
> > Don't let it have them:
> >
> > %post
> > yum groupinstall Insight-Manager < /dev/null > /dev/null 2>&1
>
> I tried a variation of this so I could keep things logged (in order to
> debug possible problems in the future):
>
> chvt 3
> yum groupinstall Insight-Manager </dev/null | tee -a /var/log/postinstall 2>&1
> chvt 1
>
> hpasmd is still tied to tty1. If I kill the "tee" process, the %post
> finishes running just fine. Any ideas how to keep a log of all of yum's
> output and display it in parallel instead of using tee? I know about
> yum.log, but I was hoping to grab possible errors to the postinstall
> log.
>
> I guess I could run "chvt 3; (tail -f /var/log/postinstall &)" and then
> run the "yum >> /var/log/postinstall 2>&1".
>
> Any other ideas would be appreciated. Thanks for your help!
>
> /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
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
--
Klaus Steden |
Senior Systems Administrator |
Technicolor Creative Services | TODO:
Toronto | 1) Learn to use my new Unix account.
klaus.steden at thomson.net | 2) Learn how to change this list.
Phone: (416) 585-9995 |
Fax: (416) 364-1585 |
More information about the Yum
mailing list