From the limited info supplied - sounds like an rpm install is failing/hanging when being executed during kickstart process
You have tried running this outside of kickstart and are you satisfied that in isolation this rpm install works
- These are some questions that i might ask myself in your situation ... hope it helps
Have you tried using yum instead of rpm
http://www.databook.bz/?page_id=201
Have other kickstart rpm installs worked or is this the one and only rpm / rpm failure
Have you confirmed that the repo is accessible on first boot - Could you have it local install by downloading it prior to build
Is it being run at the correct point ie is this running before its prerequisites are up and running
Does this rpm require both x86 and x64 versions to be installed together
Does this rpm require addition rpms - see yum
Does this rpm require addition rpms that need to be downgraded before it can be installed
Have you got any more logging - can you execute via a script with logging
Regards,
Andrew Pitcairn-Hill
PLEASE ENSURE ANY COMPANY LOGOS/ PICTURES ARE REMOVED ON YOUR REPLIES AS THESE EMAILS ARE BLOCKED BY OUR SYSTEMS
P Please don't print this email unless you really need too
From: Jacquet Romain <romain.jacquet@xxxxxxxxxxxxxx>
To: Discussion list about Kickstart <kickstart-list@xxxxxxxxxx>
Date: 30/09/16 13:47
Subject: RE: Kickstart hangs on at the end of postinstall
Sent by: <kickstart-list-bounces@xxxxxxxxxx>
Hi Andrew,
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:
[…] // very long stuff
rpm –Uv my-daemon-ftp.rpm // faulty RPM
[…] // very long stuff again
End of postinstallation // echo at the end the installation
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?
Best regards.
De : Andrew Simpson [mailto:simpsonar77@xxxxxxxxx]
Envoyé : jeudi 29 septembre 2016 15:27
À : Discussion list about Kickstart
Objet : Re: Kickstart hangs on at the end of postinstall
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 <romain.jacquet@xxxxxxxxxxxxxx> 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
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list
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. |
_______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list