When installing Red Hat Enterprise Linux 5.5, anaconda crashes if the full path is specified in %post --log parameter.

Solution Verified - Updated -

Issue

  • Installation of Red Hat Enterprise Linux 5.5 via kickstart crashes if the kickstart file contains the full path to the %post log.

     %post --log=/mnt/sysimage/root/install.logs/install.post.gslog
    
  • Anaconda crashes with a traceback and ends with the error

    IOError: [Errno 2] No such file or directory: '/mnt/sysimage//mnt/sysimage/root/
    install.logs/install.post.gslog'
    

Environment

  • Red Hat Enterprise Linux 5.5 installation via kickstart

  • Kickstart file logs the output of the %post script with --log=/mnt/sysimage/...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.