Red Hat Bugzilla – Bug 241878
Anaconda raise a traceback if the %pre or %post script remove itself from /tmp
Last modified: 2007-11-30 17:07:44 EST
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.
# Doing some stuff here
rm -fr /tmp/* /tmp/.??*
A traceback in anaconda
Maybe a warning but nothing more
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
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.