Giter Site home page Giter Site logo

Comments (15)

M0Rf30 avatar M0Rf30 commented on May 14, 2024 1

I would like to help you to fix this but have no time in this period. no holidays, only hard work. anyway I scripted a distrobox-git definition to test you advancements ๐Ÿ˜„

from distrobox.

89luca89 avatar 89luca89 commented on May 14, 2024

Seems like it's failing to even podman --log-level debug start alpine can you run it manually?

Also can I have also the create logs?

Thanks!

from distrobox.

M0Rf30 avatar M0Rf30 commented on May 14, 2024

Seems like it's failing to even podman --log-level debug start alpine can you run it manually?

Also can I have also the create logs?

Thanks!

log.txt

from distrobox.

89luca89 avatar 89luca89 commented on May 14, 2024

Thanks! I see that your user is gianluca but the home is /home/test are there permission problems with that Dir? Can you freely access it using the user gianluca?

Also because on the log before seems like a permission problem on a directory that's why I'm asking ๐Ÿ˜„

from distrobox.

M0Rf30 avatar M0Rf30 commented on May 14, 2024

Don't bother about user. I've changed the occurances for privacy, maybe I missed some of them XD.
The fact is that privileges are correctly assigned, I mean podman works flawlessly

from distrobox.

89luca89 avatar 89luca89 commented on May 14, 2024

Oh OK no problem did launching the podman start manually work ?

from distrobox.

M0Rf30 avatar M0Rf30 commented on May 14, 2024

Yeah it works

โฏ podman run -ti alpine:latest
/ # cat /etc/os-release 
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.15.0
PRETTY_NAME="Alpine Linux v3.15"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"
/ # 

โฏ cat /etc/subuid
test:100000:65536

โฏ cat /etc/subgid
test:100000:65536

from distrobox.

M0Rf30 avatar M0Rf30 commented on May 14, 2024
โฏ podman info
host:
  arch: amd64
  buildahVersion: 1.23.1
  cgroupControllers:
  - memory
  - pids
  cgroupManager: systemd
  cgroupVersion: v2
  conmon:
    package: /usr/bin/conmon รจ contenuto in conmon 1:2.0.31-1
    path: /usr/bin/conmon
    version: 'conmon version 2.0.31, commit: 7e7eb74e52abf65a6d46807eeaea75425cc8a36c'
  cpus: 12
  distribution:
    distribution: arch
    version: unknown
  eventLogger: journald
  hostname: arch-laptop
  idMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
  kernel: 5.15.10-zen1-1-zen
  linkmode: dynamic
  logDriver: journald
  memFree: 5888028672
  memTotal: 16579387392
  ociRuntime:
    name: crun
    package: /usr/bin/crun รจ contenuto in crun 1.3-3
    path: /usr/bin/crun
    version: |-
      crun version 1.3
      commit: 4f6c8e0583c679bfee6a899c05ac6b916022561b
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +YAJL
  os: linux
  remoteSocket:
    path: /run/user/1000/podman/podman.sock
  security:
    apparmorEnabled: false
    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
    rootless: true
    seccompEnabled: true
    seccompProfilePath: /etc/containers/seccomp.json
    selinuxEnabled: false
  serviceIsRemote: false
  slirp4netns:
    executable: /usr/bin/slirp4netns
    package: /usr/bin/slirp4netns รจ contenuto in slirp4netns 1.1.12-1
    version: |-
      slirp4netns version 1.1.12
      commit: 7a104a101aa3278a2152351a082a6df71f57c9a3
      libslirp: 4.6.1
      SLIRP_CONFIG_VERSION_MAX: 3
      libseccomp: 2.5.3
  swapFree: 17179865088
  swapTotal: 17179865088
  uptime: 16h 51m 40.32s (Approximately 0.67 days)
plugins:
  log:
  - k8s-file
  - none
  - journald
  network:
  - bridge
  - macvlan
  volume:
  - local
registries: {}
store:
  configFile: /home/test/.config/containers/storage.conf
  containerStore:
    number: 2
    paused: 0
    running: 0
    stopped: 2
  graphDriverName: overlay
  graphOptions: {}
  graphRoot: /home/test/.local/share/containers/storage
  graphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Using metacopy: "false"
  imageStore:
    number: 1
  runRoot: /run/user/1000/containers
  volumePath: /home/test/.local/share/containers/storage/volumes
version:
  APIVersion: 3.4.4
  Built: 1639074640
  BuiltTime: Thu Dec  9 19:30:40 2021
  GitCommit: f6526ada1025c2e3f88745ba83b8b461ca659933
  GoVersion: go1.17.4
  OsArch: linux/amd64
  Version: 3.4.4

from distrobox.

89luca89 avatar 89luca89 commented on May 14, 2024

And doing this?

podman --log-level debug start alpine

I would like to check if there is something in the container create itself that is not working or it's a podman issue

from distrobox.

M0Rf30 avatar M0Rf30 commented on May 14, 2024

And doing this?

podman --log-level debug start alpine

I would like to check if there is something in the container create itself that is not working or it's a podman issue

log.txt

from distrobox.

89luca89 avatar 89luca89 commented on May 14, 2024

And doing this?
podman --log-level debug start alpine
I would like to check if there is something in the container create itself that is not working or it's a podman issue

log.txt

From what I see here, the start worked successfully, does the distrobox-enter work after this manual start?

In the first log (the one in the opening post) the start didn't work and the error was from that

from distrobox.

89luca89 avatar 89luca89 commented on May 14, 2024

Just installed a new arch VM and tried again using 1.2.4 and podman 3.4.4 and worked first try...
So i'm a bit blind in this situation, the only error I can see in your logs is this:

Error: unable to start container "3057f1cedc61c15c94e38419e7d1e0ab4b5dc489896c95391d7335275fdae6e0": make /home/test/.local/share/containers/storage/overlay/7068819b0445a80f55e7812908eec48f7f51edfcb1528167ef3a45b43e480c96/merged private: Permission denied: OCI permission denied

And it occurred in podman start which then worked for you

from distrobox.

89luca89 avatar 89luca89 commented on May 14, 2024

OK I'll leave this open if anyone has a similar problem ๐Ÿ‘

from distrobox.

M0Rf30 avatar M0Rf30 commented on May 14, 2024

I Installed latest 1.3.5. seems fixed ๐ŸŽ‰

from distrobox.

89luca89 avatar 89luca89 commented on May 14, 2024

Great stuff ๐ŸŽ‰

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.