Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2047378

Summary: CoreOS Toolbox container fails with "Error: failed to get the current user's default shell"
Product: OpenShift Container Platform Reporter: Mauro Oddi <moddi>
Component: ContainersAssignee: Tom Sweeney <tsweeney>
Status: CLOSED DUPLICATE QA Contact: pmali
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.10CC: debarshir, dwalsh, tsweeney, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-07 23:11:10 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 Mauro Oddi 2022-01-27 18:04:45 UTC
Description of problem:
Starting toolbox container fails with:
Error: failed to get the current user's default shell


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


How reproducible:


Steps to Reproduce:
1. Install OCP 4.10

$ oc version -o yaml
clientVersion:
  buildDate: "2022-01-12T23:54:57Z"
  compiler: gc
  gitCommit: da3f635eaf1b5ee52d49217c80059c2c8e85c7a7
  gitTreeState: clean
  gitVersion: 4.10.0-202201122238.p0.gda3f635.assembly.stream-da3f635
  goVersion: go1.17.2
  major: ""
  minor: ""
  platform: linux/amd64
openshiftVersion: 4.10.0-0.nightly-2022-01-17-091922
releaseClientVersion: 4.10.0-0.nightly-2022-01-17-091922
serverVersion:
  buildDate: "2022-01-14T05:45:57Z"
  compiler: gc
  gitCommit: a9d041aef96a6942cb969df17e698d5564455b03
  gitTreeState: clean
  gitVersion: v1.23.0+60f5a1c
  goVersion: go1.17.2
  major: "1"
  minor: "23"
  platform: linux/amd64


2. Connect to node
$ oc debug node/nodename

3. Run toolbox
sh-4.4# chroot /host
sh-4.4# toolbox
Error: failed to get the current user's default shell

Actual results:
Error: failed to get the current user's default shell


Expected results:
toolbox runs successfully

Additional info:

Comment 14 Debarshi Ray 2022-07-07 23:11:10 UTC

*** This bug has been marked as a duplicate of bug 2042069 ***