Skip to content

Not using shell set in /etc/passwd #18

Closed

Description

@Zlopez

fedora-toolbox always start with /bin/bash instead of shell, that is set for the user in /etc/passwd

In my case, I have this in /etc/passwd

zlopez:x:1000:1000::/home/zlopez:/usr/bin/fish

And I have fish installed in fedora-toolbox, but it always starts with /bin/bash instead.

I noticed that even the tmux inside is starting /bin/bash instead of /usr/bin/fish.

Activity

  1. debarshiray commented on Nov 20, 2018

    @debarshiray
    Member
  2. Zlopez commented on Nov 20, 2018

    @Zlopez
    Author

    I cloned master.
    I did git pull before I used ./fedora-toolbox enter to test this.

    EDIT: Didn't noticed fedora-toolbox in Silverblue image yet.

  3. Zlopez commented on Nov 21, 2018

    @Zlopez
    Author

    I tried to recreate the fedora-toolbox image, because podman ps shows that the exec command was /bin/sh.
    So I stopped it using podman stop and than removed it using podman rm.
    Now when I try ./fedora-toolbox -v create I'm getting this:

    error looking up container "fedora-toolbox-zlopez:29": no container with name or ID fedora-toolbox-zlopez:29 found: no such container
    invalid host path, must be an absolute path ""
    ./fedora-toolbox: failed to create container fedora-toolbox-zlopez:29
    
  4. mildred commented on Jan 6, 2019

    @mildred

    Version 0.0.2 (packaged in Fedora 29) is keeping the shell I configured in /etc/passwd.

  5. debarshiray commented on Jan 9, 2019

    @debarshiray
    Member

    Now when I try ./fedora-toolbox -v create I'm getting this:

    @Zlopez It was likely caused by the podman and buildah turbulence that had crept into Fedora for some weeks. It should be fixed now, but either way isn't related to fedora-toolbox itself.

    As @mildred confirmed, I do expect this issue to be fixed in 0.0.2. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions