Bug 1643068 - xonsh package installation does not add shell to /etc/shells
Summary: xonsh package installation does not add shell to /etc/shells
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xonsh
Version: 28
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Carmen Bianca Bakker
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-25 12:57 UTC by mock
Modified: 2019-04-27 21:27 UTC (History)
4 users (show)

Fixed In Version: xonsh-0.8.12-2.fc30
Clone Of:
Environment:
Last Closed: 2019-04-27 21:27:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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