Bug 1567918

Summary: xinit script unbound variable
Product: Red Hat Enterprise Linux 7 Reporter: Michal Odehnal <modehnal>
Component: xorg-x11-xinitAssignee: Karol Herbst <kherbst>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.5CC: tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-15 07:38:26 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:

Description Michal Odehnal 2018-04-16 12:32:06 UTC
Description of problem:
Adding set -u to a user's .profile does not allow a them to log in on the graphical console.

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

How reproducible:

Steps to Reproduce:
1. Add 'set -u' in user's $HOME/.profile
2. Login as same user in runlevel 3
3. Execute startx.

Actual results:
/etc/X11/xinit/xinitrc-common: line <number: variable_name>: unbound variable

Expected results:
No errors.

Additional info:
Same issue is on multiple lines. Once workaround in form of
[ -z ${<variable_name>-} ] is applied, the issue is solved and I am able to log in the graphical session.

Comment 4 RHEL Program Management 2021-02-15 07:38:26 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.