Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1291907

Summary: mangled config in /etc/sysconfig/init
Product: Red Hat Enterprise Linux 6 Reporter: Neal Kim <nkim>
Component: initscriptsAssignee: Lukáš Nykrýn <lnykryn>
Status: CLOSED ERRATA QA Contact: Leos Pol <lpol>
Severity: low Docs Contact:
Priority: low    
Version: 6.7CC: lpol, psklenar
Target Milestone: rcKeywords: EasyFix
Target Release: 6.7   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: initscripts-9.03.50-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-11 01:07:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Neal Kim 2015-12-15 20:52:25 UTC
Description of problem:

Mangled config in /etc/sysconfig/init.

Looks like this:

 # Set to anything other than 'no' to allow hotkey interactive startup...
 PROMPT=yes
 # Set to 'yes' to allow probing for devices with swap signatures
# Set to anything other than 'no' to allow hotkey interactive startup...
PROMPT=no

Should look like this:

# Set to anything other than 'no' to allow hotkey interactive startup...
PROMPT=yes
# Set to 'yes' to allow probing for devices with swap signatures
AUTOSWAP=no


Version-Release number of selected component (if applicable):

initscripts-9.03.49-1.el6.s390x.rpm


How reproducible:

Always.


Steps to Reproduce:

1. Open /etc/sysconfig/init
2. Observe mangled config


Actual results:

Mangled config.

 # Set to anything other than 'no' to allow hotkey interactive startup...
 PROMPT=yes
 # Set to 'yes' to allow probing for devices with swap signatures
# Set to anything other than 'no' to allow hotkey interactive startup...
PROMPT=no


Expected results:

# Set to anything other than 'no' to allow hotkey interactive startup...
PROMPT=yes
# Set to 'yes' to allow probing for devices with swap signatures
AUTOSWAP=no


Additional info:

Interestingly enough the mangled config only appears in the s390x and PPC variants of RHEL 6. It looks like the config was mangled starting in RHEL 6.6.

Comment 1 Lukáš Nykrýn 2015-12-16 09:08:15 UTC
The shipped configuration files  looks fine. Maybe something is changing them? Lets try anaconda.

Comment 2 Dave Cantrell 2015-12-17 16:39:46 UTC
anaconda does not modify /etc/sysconfig/init

Comment 3 Neal Kim 2015-12-18 17:43:52 UTC
Just FYI. If you extract the init script via rpm2cpio etc... you will see that the config is mangled right off the bat. Only the s390x and PPC variants as mentioned in the description.


Cheers,

Comment 4 Lukáš Nykrýn 2015-12-25 10:20:24 UTC
Sorry my bad. This was broken by this commit https://git.fedorahosted.org/cgit/initscripts.git/commit/?id=7e7ab260

So yep, lets fix it.

Comment 7 Leos Pol 2016-02-16 10:54:30 UTC
initscripts-9.03.49-1.el6 for s390 & s390x /etc/sysconfig/init contains
...
 # Set to anything other than 'no' to allow hotkey interactive startup...
 PROMPT=yes
 # Set to 'yes' to allow probing for devices with swap signatures
# Set to anything other than 'no' to allow hotkey interactive startup...
PROMPT=no
...

initscripts-9.03.50-1.el6 for s390 & s390x /etc/sysconfig/init contains
...
# Set to anything other than 'no' to allow hotkey interactive startup...
PROMPT=no
...

Other archs have different source and are not affected by this change.

Comment 9 errata-xmlrpc 2016-05-11 01:07:47 UTC
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.

https://rhn.redhat.com/errata/RHBA-2016-0951.html