<div dir="ltr"><div>In trying logging with %post --log=, it's useful to add 'set -x' in the head of the script part. It's worth to check /mnt/sysimage/root/install.log since it may include the scriptlet error in spec.<br><br></div>Masahiro Matsuya<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 29, 2016 at 10:27 PM, Andrew Simpson <span dir="ltr"><<a href="mailto:simpsonar77@gmail.com" target="_blank">simpsonar77@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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/</div><div class="gmail_extra"><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr">Andrew Simpson</div></div></div>
<br><div class="gmail_quote"><div><div class="h5">On Thu, Sep 29, 2016 at 5:03 AM, Jacquet Romain <span dir="ltr"><<a href="mailto:romain.jacquet@telespazio.com" target="_blank">romain.jacquet@telespazio.com</a><wbr>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">





<div link="blue" vlink="purple" lang="FR">
<div>
<p class="MsoNormal"><span lang="EN-US">Hello everybody,<u></u><u></u></span></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.<u></u><u></u></span></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?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">   Best regards.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></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"><span>26 Avenue JF Champollion
<u></u><u></u></span></p>
<p class="MsoNormal"><span>B.P.52309<u></u><u></u></span></p>
<p class="MsoNormal"><span>31023 TOULOUSE Cedex 1 – France<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<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.</div>


<br></div></div>______________________________<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" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/kickstart-list</a><br></blockquote></div><br></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>