Error shown when using chsh to change shells

Bug #1949495 reported by Eric Adams
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shadow (Ubuntu)
New
Undecided
Unassigned

Bug Description

I wanted to change my shell to zsh so I installed the zsh package and then used the chsh command as so:

chsh -s $(which zsh)

After running the command I am shown the errors:

(2021-11-02 12:54:47:928739): [sss_cache] [confdb_get_enabled_domain_list] (0x0040): Failed to get [domains] from [sssd], error [2] (No such file or directory)
(2021-11-02 12:54:47:928885): [sss_cache] [init_domains] (0x0020): Could not initialize domains
(2021-11-02 12:54:47:949846): [sss_cache] [confdb_get_enabled_domain_list] (0x0040): Failed to get [domains] from [sssd], error [2] (No such file or directory)
(2021-11-02 12:54:47:949987): [sss_cache] [init_domains] (0x0020): Could not initialize domains

I also receive this error when just running chsh without any parameters.

The change is successful, even though the error might lead you to believe otherwise. After logging out and back in, zsh was my default shell.

From what I can tell from a quick search, the error has to do with SSSD and Active Directory support so I assume there is something happening around that but honestly don't know enough about it to know if that's correct.

Please let me know if there's any additional information needed and thanks for all you do to create and support Ubuntu.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: passwd 1:4.8.1-1ubuntu9
ProcVersionSignature: Ubuntu 5.13.0-20.20-generic 5.13.14
Uname: Linux 5.13.0-20-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Tue Nov 2 13:09:46 2021
InstallationDate: Installed on 2020-12-24 (312 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200907)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: shadow
UpgradeStatus: Upgraded to impish on 2021-10-17 (15 days ago)

Revision history for this message
Eric Adams (esa1975) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.