Bug 1284319

Summary: dash cannot be used
Product: [Fedora] Fedora Reporter: Richard Jasmin <spike85051>
Component: xorg-x11Assignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED EOL QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 22   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 19:22:40 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 Richard Jasmin 2015-11-23 02:46:22 UTC
Description of problem:
simply put using dash as a login shell will not work as-is.
The problem is made clear when you trace the xsession-errors file. scl_init fails and therefore X11 fails to init as well, and throws you out, slamming the door behind you.

YOU MAY NOT LOGIN. Every attempt fails.

It boils down to unportable code in the init file:
nano /etc/profile.d/scl-init.sh 

which cannot be processed by dash as-is.

Dash is the recommended shell these days.

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

How reproducible:
only on chsh (nice util nobody knows about) or via 'users and groups' app. I Needed to reboot to enable security patches and such and whammo....no X for ewe.

Steps to Reproduce:
1.change login shell via means above.
2.logout and back in or reboot
3. fix via console and reboot (I would say startx but root for some reason has a predefined login of gnome3, and its obviously not installed on this setup.Users cannot generally startx. Working on solution to change session via console but I forgot how to do that.)

Actual results:
no X for ewe

Expected results:
this should not be an issue

Comment 1 Fedora End Of Life 2016-07-19 19:22:40 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.