Description of problem: Anaconda raise a traceback if the %pre or %post script remove itself from /tmp. This might be needed if one has to clean up the /tmp at the end of %post for leaving a clean one. How reproducible: %post # Doing some stuff here rm -fr /tmp/* /tmp/.??* Actual results: A traceback in anaconda Expected results: Maybe a warning but nothing more Additional info: I know that I can use "--nochroot" but anaconda should not be so fragil.
Please attach the complete traceback to this bug report.
I would be happy to do so but I do not know how to save such a traceback in the kickstart process. Also cut and paste do not work as there is no other terminal when anaconda halted the system. I wrote down the message before the halt: "OSError: [Error 2] No such file or directory: '/mnt/sysimage/tmp/ks-script-xuAsIT'"
This will be fixed in the next release of RHEL. If you require this fix in an update release, please speak to your support representative who will raise it through the appropriate channels. Thanks for the bug report.