Hide Forgot
At the end of an RHEL 5.6 install on s390, we find two interesting files in /dev: sh-3.2# ls -l /dev/std* -rwxr-xr-x 1 root root 0 Mar 11 13:27 /dev/stderr -rwxr-xr-x 1 root root 182 Mar 11 13:27 /dev/stdout sh-3.2# cat /dev/std* Using config file '/etc/zipl.conf' Building bootmap in '/boot/' Building menu 'rh-automatic-menu' Adding #1: IPL section 'linux' (default) Preparing boot device: dasda (0200). Done. Those messages are coming from booty's call to zipl; in the absence of the usual redirects to /proc/self/fd/... the output is written to regular files. Suggested fix (on all platforms, not just s390) is to create symlinks from /dev/std{in,out,err} within anaconda's initrd filesystem. This will also benefit %post scripts which assume those /dev entries exist. P.S. Amusingly, the execute permission on the created files comes from python's default mode in os.open, which rhpl's executil.execWithRedirect() doesn't change.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0197.html