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.
Masahiro Matsuya On Thu, Sep 29, 2016 at 10:27 PM, Andrew Simpson <[email protected]> wrote: > 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/ > > Andrew Simpson > > On Thu, Sep 29, 2016 at 5:03 AM, Jacquet Romain < > [email protected]> wrote: > >> Hello everybody, >> >> 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. >> >> 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? >> >> >> >> Best regards. >> >> >> >> >> >> -- Romain JACQUET -- >> >> IT Infrastructure manager >> >> Phone : 05 34 35 21 46 >> >> Telespazio France >> >> 26 Avenue JF Champollion >> >> B.P.52309 >> >> 31023 TOULOUSE Cedex 1 – France >> >> >> >> >> 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. >> >> Please consider the environment before printing this email. >> >> _______________________________________________ >> Kickstart-list mailing list >> [email protected] >> https://www.redhat.com/mailman/listinfo/kickstart-list >> > > > _______________________________________________ > Kickstart-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/kickstart-list >
_______________________________________________ Kickstart-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/kickstart-list
