Comments (7)
Cool will merge the PR and close the issue then, thanks a lot!
from distrobox.
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.
This indeed fixed the issue and I am now able to enter my distrobox with this branch :-)
from distrobox.
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.
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 env
command 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.
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.
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)
- [Discussion] Add a guide for running CUPS in distrobox HOT 1
- tzdata failing to install on mint (version 2.1 from the docs)
- [Discussion] strange behavior of `init_hooks` in .ini file HOT 2
- [Error] --nvidia is causing error when entering into the container
- [Error] Typo in `generate_enter_command` function of the `distrobox enter` command HOT 1
- [Error] Deleting the export of unexported binary will export it
- Distrobox 1.7.1 fails to find and enter containers when using lilipod 0.0.2 HOT 1
- [Error] Can't delete distrobox installed ubuntu, but can enter it HOT 1
- [Error] distrobox-rm fails even if container is stopped HOT 3
- [Error] `distrobox enter` fails to enter after creating container Error: parsing HOT 7
- [Suggestion] `distrobox system-upgrade` HOT 2
- [Suggestion] Add the subcommands distrobox snapshot & distrobox restore HOT 1
- [Suggestion] Move subsubtopic "Upgrading" in README.md a level up HOT 1
- [Error] - Unable to Start Container Process: Error Mounting "proc" to Rootfs
- Distrobox : exporting container in distrobox with the custom home directory
- [Error] Unable to enter gentoo container with fish as login shell
- Debian 12 box, Wine, DualSense gamepad "Failed to get device that has changed" HOT 1
- Phantom container named NAME when performing operations with --all HOT 3
- [Error] No such file or directory when path contains "at" (@) character
- Arch Distrobox bricking itself on NixOS and won't compile Cargo packages [Error] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distrobox.