<font size=1 face="sans-serif">Jacquet</font>
<br>
<br><font size=2 face="sans-serif">From the limited info supplied - sounds
like an rpm install is failing/hanging when being executed during kickstart
process </font>
<br><font size=2 face="sans-serif">You have tried running this outside
of kickstart and are you satisfied that in isolation this rpm install works</font>
<br>
<ul>
<li><font size=2 face="sans-serif">These are some questions that i might
ask myself in your situation ... hope it helps</font></ul>
<br><font size=2 face="sans-serif">Have you tried using yum instead of
rpm</font>
<br><a href="http://www.databook.bz/?page_id=201"><font size=2 face="sans-serif">http://www.databook.bz/?page_id=201</font></a>
<br>
<br><font size=2 face="Verdana">Have other kickstart rpm installs worked
or is this the one and only rpm / rpm failure</font>
<br>
<br><font size=2 face="Verdana">Have you confirmed that the repo is accessible
on first boot - Could you have it local install by downloading it prior
to build</font>
<br>
<br><font size=2 face="Verdana">Is it being run at the correct point ie
is this running before its prerequisites are up and running</font>
<br>
<br><font size=2 face="Verdana">Does this rpm require both x86 and x64
versions to be installed together</font>
<br>
<br><font size=2 face="Verdana">Does this rpm require addition rpms - see
yum</font>
<br>
<br><font size=2 face="Verdana">Does this rpm require addition rpms that
need to be downgraded before it can be installed</font>
<br>
<br><font size=2 face="Verdana">Have you got any more logging - can you
execute via a script with logging</font>
<br>
<br>
<br><font size=2 face="Verdana">Regards,</font>
<br>
<br><font size=4 color=blue face="Verdana">Andrew Pitcairn-Hill</font><font size=2 color=#008000 face="Verdana">
  </font><font size=2 face="Verdana"><b><br>
</b></font>
<br><font size=2 face="Arial">PLEASE ENSURE ANY COMPANY LOGOS/ PICTURES
ARE REMOVED ON YOUR REPLIES AS THESE EMAILS ARE BLOCKED BY OUR SYSTEMS</font>
<br><font size=5 color=#008000 face="Webdings">P</font><font size=2 color=#008000 face="Arial"> </font><font size=1 color=#008000 face="Arial"> Please
don't print this email unless you really need too</font>
<br>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">Jacquet Romain <romain.jacquet@telespazio.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">Discussion list about
Kickstart <kickstart-list@redhat.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">30/09/16 13:47</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">RE: Kickstart
hangs on at the end of postinstall</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by:    
   </font><font size=1 face="sans-serif"><kickstart-list-bounces@redhat.com></font>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 color=#004080 face="Calibri">Hi Andrew,</font>
<br><font size=2 color=#004080 face="Calibri">    Thank you very
much for answer. Yes, I’m logging the post-install with “%post --logfile
/var/log/ks-post.log”. When the installer is stuck I can see the ouput
in /mnt/sysimage/var/log/ks-post.log. The extract looks like:</font>
<br><font size=2 color=#004080 face="Calibri">    […] // very
long stuff</font>
<br><font size=2 color=#004080 face="Calibri">     rpm –Uv
my-daemon-ftp.rpm // faulty RPM</font>
<br><font size=2 color=#004080 face="Calibri">     […]
// very long stuff again</font>
<br><font size=2 color=#004080 face="Calibri">    End of postinstallation
// echo at the end the installation</font><font size=3 face="Times New Roman">
</font>
<br><font size=2 color=#004080 face="Calibri"> </font>
<br><font size=2 color=#004080 face="Calibri">  So the daemon installation
does not stop the post-installation. Another workaround is to stop the
daemon just after the update in the kickstart file. So it is like anaconda
cannot restart with the daemon running. Do you have another idea? Is it
possible to have a more detailed log of anaconda?</font>
<br><font size=2 color=#004080 face="Calibri"> </font>
<br><font size=2 color=#004080 face="Calibri">  Best regards.</font>
<br><font size=2 color=#004080 face="Calibri"> </font>
<br><font size=2 color=#004080 face="Calibri"> </font>
<br><font size=2 color=#004080 face="Calibri"> </font>
<br><font size=2 face="Tahoma"><b>De :</b> Andrew Simpson [</font><a href=mailto:simpsonar77@gmail.com><font size=2 face="Tahoma">mailto:simpsonar77@gmail.com</font></a><font size=2 face="Tahoma">]
<b><br>
Envoyé :</b> jeudi 29 septembre 2016 15:27<b><br>
À :</b> Discussion list about Kickstart<b><br>
Objet :</b> Re: Kickstart hangs on at the end of postinstall</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman">are you logging the post section
that you're installing it in?  Assuming you're seeing the logs/output
and this is the last message, it's probably not hanging on that RPM.  It's
probably hanging on the next command in the post section, which hasn't
been printed out yet.  comment out the RPM install  portion and
see what's hanging.  If it is indeed hanging on the rpm, then there's
probably an issue with one of the scriptlets in the rpm spec file.  The
were likely be a log of that somewhere under /tmp or /var/log/anaconda/</font>
<br>
<br><font size=3 face="Times New Roman">Andrew Simpson</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman">On Thu, Sep 29, 2016 at 5:03 AM,
Jacquet Romain <</font><a href=mailto:romain.jacquet@telespazio.com target=_blank><font size=3 color=blue face="Times New Roman"><u>romain.jacquet@telespazio.com</u></font></a><font size=3 face="Times New Roman">>
wrote:</font>
<br><font size=3 face="Times New Roman">Hello everybody,</font>
<br><font size=3 face="Times New Roman">    I’m struggling to
find a bug caused by a RPM update in the postinstall section. The line
looks like: “rpm –Uvh my-daemon-package” and update a daemon. I’m using
a CentOS 6.6 and its anaconda 13.21.229.</font>
<br><font size=3 face="Times New Roman">With this line in the kickstart,
anaconda never ends. The only way to stop anaconda is to use the shell
in the virtual terminal (Alt+Ctrl+F2) and kill the daemon. It is like anaconda
is waiting for something to be released. Do you know what could prevent
anaconda from rebooting?</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman">   Best regards.</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman">-- Romain JACQUET --</font>
<br><font size=3 face="Times New Roman">IT Infrastructure manager</font>
<br><font size=3 face="Times New Roman">Phone : 05 34 35 21 46</font>
<br><font size=3 face="Times New Roman">Telespazio France</font>
<br><font size=3 face="Times New Roman">26 Avenue JF Champollion </font>
<br><font size=3 face="Times New Roman">B.P.52309</font>
<br><font size=3 face="Times New Roman">31023 TOULOUSE Cedex 1 – France</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman"><br>
<br>
WARNING: This message contains confidential and/or proprietary information
which may be subject to privilege or immunity and which is intended for
the use of its addressee only. Should you receive this message in error,
you are kindly requested to inform the sender and to definitively remove
it from any paper or electronic format. Any other use of this e-mail is
strictly forbidden. Thank you in advance for your cooperation. <br>
<br>
Please consider the environment before printing this email.</font>
<br><font size=3 face="Times New Roman"><br>
_______________________________________________<br>
Kickstart-list mailing list</font><font size=3 color=blue face="Times New Roman"><u><br>
</u></font><a href="mailto:Kickstart-list@redhat.com"><font size=3 color=blue face="Times New Roman"><u>Kickstart-list@redhat.com</u></font></a><font size=3 color=blue face="Times New Roman"><u><br>
</u></font><a href="https://www.redhat.com/mailman/listinfo/kickstart-list" target=_blank><font size=3 color=blue face="Times New Roman"><u>https://www.redhat.com/mailman/listinfo/kickstart-list</u></font></a>
<br><font size=3 face="Times New Roman"> </font><tt><font size=2>_______________________________________________<br>
Kickstart-list mailing list<br>
Kickstart-list@redhat.com<br>
</font></tt><a href="https://www.redhat.com/mailman/listinfo/kickstart-list"><tt><font size=2>https://www.redhat.com/mailman/listinfo/kickstart-list</font></tt></a>
<br>
<table><tr><td bgcolor=#ffffff><font color=#000000><pre>Diligenta Limited (Company No. 5535029) is a subsidiary of Tata Consultancy Services Limited.  Diligenta Limited is registered in England and Wales, has its registered office at Lynch Wood, Peterborough, PE2 6FY and is authorised and regulated by the Financial Conduct Authority.

The information in this e-mail is confidential and may be legally privileged. It is intended solely for the intended recipient and access to this e-mail by anyone else is unauthorised. If you have received this message in error, please notify us and remove it from your system. Although this message and any attachments are believed to be free of any virus (or other defect) that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by Diligenta Limited or Tata Consultancy Services Limited for any loss or damage in any way arising from its use. Any views or opinions presented are solely those of the author and do not necessarily represent those of Diligenta Limited. Replies to this e-mail may be monitored for operational or business reasons.</pre></font></td></tr></table>