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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content