Creating Files During Kickstart in %post Appends "?" to New Files in Red Hat Enterprise Linux 6.3

Solution Unverified - Updated -

Issue

  • Attempting to create files during %post of kickstart using the following method:
%post
touch "/var/log/file"
touch "/var/log/file2"
  • Files are being created with a "?" appended to the end of the name as such:
#  ls /var/log | grep file
file?
file2?

Environment

  • Red Hat Enterprise Linux 5.9

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