Public bug reported:

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)

** Affects: shadow (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug impish

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/1949495

Title:
  Error shown when using chsh to change shells

Status in shadow package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1949495/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to