Bug 1284319 - dash cannot be used
dash cannot be used
Product: Fedora
Classification: Fedora
Component: xorg-x11 (Show other bugs)
All Linux
unspecified Severity high
: ---
: ---
Assigned To: X/OpenGL Maintenance List
Depends On:
  Show dependency treegraph
Reported: 2015-11-22 21:46 EST by Richard Jasmin
Modified: 2016-07-19 15:22 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-07-19 15:22:40 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Richard Jasmin 2015-11-22 21:46:22 EST
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):

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 15:22:40 EDT
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

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

Note You need to log in before you can comment on or make changes to this bug.