Bug 1643068

Summary: xonsh package installation does not add shell to /etc/shells
Product: [Fedora] Fedora Reporter: mock <mark>
Component: xonshAssignee: Carmen Bianca Bakker <carmen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 28CC: carmen, extras-orphan, jdulaney, lewk
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: xonsh-0.8.12-2.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-27 21:27:50 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 mock 2018-10-25 12:57:08 UTC
Description of problem:

When installing xonsh using dnf, the /etc/shells file is not updated with the shell's binary.


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

xonsh-0.5.12-3.fc28.src.rpm


Steps to Reproduce:
1. dnf install xonsh
2. chsh -s /usr/bin/xonsh <user>
This will result in a message stating the shell does not exist.

1. dnf install xonsh
2. edit /etc/passwd and make user's default shell /usr/bin/xonsh
3. reboot
This will result in not finding the user via the gdm.

Actual results:

The shell is installed and works. The main problem is the missing step of adding it as a valid shell to make as default.


Additional info:

If the /etc/passwd file is edited to make the default shell /usr/bin/xonsh, it will be the default shell, but the gdm will somehow fail to recognize your user on the system. if it is the only user, gdm will treat the system as having no user and start up gnome with the gnome-initial-setup process. even if you add the shell to /etc/shells after the fact, your user will still not be recognized by gnome.

Comment 1 Fedora Update System 2019-04-23 12:13:22 UTC
xonsh-0.8.12-2.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-9b0425d28f

Comment 2 Fedora Update System 2019-04-23 14:56:09 UTC
xonsh-0.8.12-2.fc30 has been pushed to the Fedora 30 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-2019-9b0425d28f

Comment 3 Fedora Update System 2019-04-27 21:27:50 UTC
xonsh-0.8.12-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.