[Spacewalk-list] kickstart problem

Armstrong, Kenneth Lawrence (SYSADMIN) klarmstrong2 at liberty.edu
Tue Sep 3 20:58:02 UTC 2013


Thanks!  That pointed me in the right direction, I had a script that was hanging up the whole process.

-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Jon Miller
Sent: Tuesday, September 03, 2013 4:14 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] kickstart problem

How stuck is it really? What is the client OS you are installing and what is your version of Spacewalk?

Depending on how stuck you are, I tend to jump over to VT 2 where there is a shell, figure out what is really running by looking for the child process of the %post script via "ps -ef --forest | less" and then run a few lsof & strace commands on the "hung" process to see what is happening.

-- Jon Miller

klarmstrong2 at liberty.edu writes:

> Hello all,
>
>  
>
> I have a kickstart file that works pretty good until it hits this one line:
>
>  
>
> cp -f /tmp/ks-pre.log* /mnt/sysimage/root/
>
>  
>
> My kickstart installation gets stuck in the ‘running post install 
> scripts’ section, with this on the console:
>
>  
>
> ERROR : cp: cannot stat ‘/tmp/ks-pre.log*’ : No such file or directory
>
>  
>
> The thing is, this file doesn’t exist during the installation.  So to 
> try and get around this, I turned off logging for the %pre section in 
> my satellite server, and it still has this line in the kickstart file.  
> Come to find out, that check mark box within Satellite only covers custom %pre sections, not the ones generate from a Kickstart profile.
>
>  
>
> Any thoughts on how I can correct this?
>
>  
>
> Thanks.
>
>  
>
>  
>
>  

--
Jon Miller

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list