<div dir="ltr">so we would unfortunately need to see the entire set of logs to find what's stopping the install from rebooting/completing.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Andrew Simpson</div></div></div>
<br><div class="gmail_quote">On Fri, Sep 30, 2016 at 8:42 AM, Jacquet Romain <span dir="ltr"><<a href="mailto:romain.jacquet@telespazio.com" target="_blank">romain.jacquet@telespazio.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="FR" link="blue" vlink="purple">
<div class="m_-6848184954716893252WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Andrew,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">    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.<wbr>log. The extract looks like:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">    […] // very long stuff<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">     rpm –Uv my-daemon-ftp.rpm // faulty RPM<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">     […] // very long stuff again<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">    End of postinstallation // echo at the end the installation</span>
<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">  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?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">  Best regards.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Andrew Simpson [mailto:<a href="mailto:simpsonar77@gmail.com" target="_blank">simpsonar77@gmail.com</a>]
<br>
<b>Envoyé :</b> jeudi 29 septembre 2016 15:27<br>
<b>À :</b> Discussion list about Kickstart<br>
<b>Objet :</b> Re: Kickstart hangs on at the end of postinstall<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">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/<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">Andrew Simpson<u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Sep 29, 2016 at 5:03 AM, Jacquet Romain <<a href="mailto:romain.jacquet@telespazio.com" target="_blank">romain.jacquet@telespazio.com</a><wbr>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Hello everybody,</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">    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.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">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?</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">   Best regards.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal">-- Romain JACQUET --<u></u><u></u></p>
<p class="MsoNormal">IT Infrastructure manager<u></u><u></u></p>
<p class="MsoNormal">Phone : 05 34 35 21 46<u></u><u></u></p>
<p class="MsoNormal">Telespazio France<u></u><u></u></p>
<p class="MsoNormal">26 Avenue JF Champollion
<u></u><u></u></p>
<p class="MsoNormal">B.P.52309<u></u><u></u></p>
<p class="MsoNormal">31023 TOULOUSE Cedex 1 – France<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal"><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.<u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
______________________________<wbr>_________________<br>
Kickstart-list mailing list<br>
<a href="mailto:Kickstart-list@redhat.com" target="_blank">Kickstart-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/kickstart-list" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/kickstart-<wbr>list</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>

<br>______________________________<wbr>_________________<br>
Kickstart-list mailing list<br>
<a href="mailto:Kickstart-list@redhat.com">Kickstart-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/kickstart-list" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/kickstart-<wbr>list</a><br></blockquote></div><br></div>