Giter Site home page Giter Site logo

Comments (7)

89luca89 avatar 89luca89 commented on May 14, 2024 1

Cool will merge the PR and close the issue then, thanks a lot!

from distrobox.

89luca89 avatar 89luca89 commented on May 14, 2024

Hi @byte-wolf
The error is not on no such user, the id command is just used to check if the user already exists (which does not in case of docker)
The error is that the SHELL environment variable is not set, and there is no default value for it.

I've created a new pull request HERE with a fix for it, can you check if it fixes your issue?
Thanks!

from distrobox.

byte-wolf avatar byte-wolf commented on May 14, 2024

This indeed fixed the issue and I am now able to enter my distrobox with this branch :-)

from distrobox.

byte-wolf avatar byte-wolf commented on May 14, 2024

However, I have noticed another issue specific to Void Linux as a guest system. (Does not happen with fedora-toolbox as a guest system). In the bash session in void I am unable to delete written characters with backspace and the up arrow key does recall past commands, but it appends them to the end of the current command, making it unusable.

And I think im using bash and not sh:

$ ps -p $$
    PID TTY          TIME CMD
   6789 pts/1    00:00:00 bash

(inside the distrobox)

from distrobox.

89luca89 avatar 89luca89 commented on May 14, 2024

Seems like that specifically void is not picking up the environment variables we're passing
One of the symptoms was that SEHLL was not defined (which is highly unusual)
The other is this delete problem, which probably relies in the absence of a TERM variable or some other env

Can you do a envcommand to print the environment variables?

EIDIT: the problem persists between podman and docker, if we use sh -l as login shell, it works as intended, bash and zsh will behave in this way, I tend to think this is a problem with some setups not taking effect

from distrobox.

89luca89 avatar 89luca89 commented on May 14, 2024

Found it! Missing package ncurses-base 👍

Added to the PR branch, it works now for me, can you check?

EDIT: to be clear this is a packaging decision on Void's side, all other will set ncurses as a dependency of bash, you can see it HERE, so just to be sure, let's install ncurses manually for all 👍

from distrobox.

byte-wolf avatar byte-wolf commented on May 14, 2024

Yes, it now works as intended. Thank you for your help and I hope this helps others trying to experiment with a void distrobox :-)

from distrobox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.