Bug 1533079

Summary: xinit script unbound variable
Product: [Fedora] Fedora Reporter: Akira TAGOH <tagoh>
Component: imsettingsAssignee: Akira TAGOH <tagoh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: i18n-bugs, qe-i18n-bugs, tagoh, tpelka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: imsettings-1.7.3-2.fc26 imsettings-1.7.3-2.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1533050 Environment:
Last Closed: 2018-01-30 17:29:53 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:
Bug Depends On: 1532647, 1533040, 1533050    
Bug Blocks:    

Description Akira TAGOH 2018-01-10 12:38:59 UTC
+++ This bug was initially created as a clone of Bug #1533050 +++

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):
dbus-1.10.24-3.el7.x86_64

How reproducible:
100%

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.d/10-qt5-check-opengl2.sh: line:41: IMSETTINGS_DISABLE_USER_XINPUTRC: unbound variable

Expected results:
no error

Additional info:

I think the same issue is on lines 87,90 and 94

--- Additional comment from Tomas Pelka on 2018-01-10 06:08:17 EST ---

I beleieve something like

[ -z ${IMSETTINGS_DISABLE_USER_XINPUTRC-} ] ....

could do the trick

Comment 1 Fedora Update System 2018-01-11 05:25:28 UTC
imsettings-1.7.3-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1fa79bbe67

Comment 2 Fedora Update System 2018-01-11 05:25:36 UTC
imsettings-1.7.3-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-6f47ba8816

Comment 3 Fedora Update System 2018-01-11 23:08:59 UTC
imsettings-1.7.3-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-1fa79bbe67

Comment 4 Fedora Update System 2018-01-11 23:42:49 UTC
imsettings-1.7.3-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-6f47ba8816

Comment 5 Fedora Update System 2018-01-30 17:29:53 UTC
imsettings-1.7.3-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2018-01-30 18:01:05 UTC
imsettings-1.7.3-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.