https://bugzilla.redhat.com/show_bug.cgi?id=1533079
Bug ID: 1533079 Summary: xinit script unbound variable Product: Fedora Version: rawhide Component: imsettings Assignee: tagoh@redhat.com Reporter: tagoh@redhat.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, qe-i18n-bugs@redhat.com, tagoh@redhat.com, tpelka@redhat.com Depends On: 1532647, 1533040, 1533050
+++ 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
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1532647 [Bug 1532647] xinit script unbound variable https://bugzilla.redhat.com/show_bug.cgi?id=1533040 [Bug 1533040] xinit script unbound variable https://bugzilla.redhat.com/show_bug.cgi?id=1533050 [Bug 1533050] xinit script unbound variable