Giter Site home page Giter Site logo

Comments (9)

89luca89 avatar 89luca89 commented on May 14, 2024

Hi @alcir
Can i have the output of the podman logs? Probably something went wrong with the container initialization

Thanks!

from distrobox.

alcir avatar alcir commented on May 14, 2024

Sure

log.txt

from distrobox.

89luca89 avatar 89luca89 commented on May 14, 2024

Seems like the container bootstrapped correctly
I've tried it right now and it works indeed, seems like a problem with your PATH
Can you do

distrobox-enter --name ubuntu-18 --verbose

to check? It should not have this type of problem, as for now you can see in line 163 of distrobox-enter I ensure that the standard FHS path is present (/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin)

Let's see if the problem is there

from distrobox.

alcir avatar alcir commented on May 14, 2024

distrobox-enter --name ubuntu-18 --verbose

log2.txt

from distrobox.

alcir avatar alcir commented on May 14, 2024

Mmmh, I tried on another Fedora host, and there, with podman logs -f ubuntu-18 I simply get
exec container process (missing dynamic library?) /usr/bin/entrypoint: No such file or directory
But maybe this is a very messed up host.

Btw using another Fedora system, I get the same as before: Error: executable file bash not found in $PATH blah blah

from distrobox.

89luca89 avatar 89luca89 commented on May 14, 2024

Got it, can reproduce now
It's not adding the default /bin/ and /sbin/ paths to PATH correctly, hence it will not find bash in ubuntu-18
It doesn't work with your PATH, it works with my PATH, probably need to check in a better way while building up the PATH variable.

from distrobox.

89luca89 avatar 89luca89 commented on May 14, 2024

@alcir opened a new pull to fix this, can you check if the fix works?
It worked for me after I've reproduced your PATH

from distrobox.

alcir avatar alcir commented on May 14, 2024

Works for me 👍

from distrobox.

89luca89 avatar 89luca89 commented on May 14, 2024

Cool! 🎉

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.