Bug 1567918
| Summary: | xinit script unbound variable | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Michal Odehnal <modehnal> |
| Component: | xorg-x11-xinit | Assignee: | Karol Herbst <kherbst> |
| Status: | CLOSED WONTFIX | QA Contact: | Desktop QE <desktop-qa-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.5 | CC: | tpelka |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| 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: | |
| Embargoed: | |||
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. |
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-7.el7.x86_64 xorg-x11-xinit-1.3.4-2.el7.x86_64 How reproducible: Always 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.