Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] Cannot create any container except Ubuntu #1313

Open
muhdsalm opened this issue Mar 28, 2024 · 1 comment
Open

[Error] Cannot create any container except Ubuntu #1313

muhdsalm opened this issue Mar 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@muhdsalm
Copy link

Please, before opening a bug:

  • make sure you've read the documentation.
  • Ensure there isn't already an open issue about this.
  • Ensure there isn't already a closed/resolved issue about this.

Describe the bug
Whenever I create an Ubuntu container, it works fine. However, if I try to make a container with any other image, such as Fedora, it gets stuck on creating 'name' using image fedora:latest

To Reproduce
Run distrobox create -i fedora:latest ultramarine

Expected behavior
The container would be created

Logs
Run the commands with --verbose and post the log here as a file upload
--verbose

+ '[' -z fedora:latest ']'
+ '[' -z ultramarine ']'
+ '[' -z ultramarine ']'
+ '[' -z '' ']'
++ uname -n
+ container_hostname=ultramarine.salman
++ printf %s ultramarine.salman
++ wc -m
+ '[' 18 -gt 64 ']'
+ case "${container_manager}" in
+ command -v podman
+ container_manager=podman
+ command -v podman
+ '[' 1 -ne 0 ']'
+ container_manager='podman --log-level debug'
+ '[' 0 -ne 0 ']'
+ '[' 0 -ne 0 ']'
+ '[' -n '' ']'
+ '[' -z /usr/bin/distrobox-init ']'
+ '[' -z /usr/bin/distrobox-export ']'
+ '[' 0 -ne 0 ']'
+ podman --log-level debug inspect --type container ultramarine
+ '[' -n '' ']'
+ '[' 0 -eq 1 ']'
+ podman --log-level debug inspect --type image fedora:latest
+ printf 'Creating '\''%s'\'' using image %s\t' ultramarine fedora:latest
Creating 'ultramarine' using image fedora:latest	++ generate_command
++ result_command='podman --log-level debug create'
++ result_command='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root'
++ '[' 0 -eq 0 ']'
++ result_command='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host'
++ '[' 0 -eq 0 ']'
++ result_command='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host
			--network host'
++ '[' 0 -eq 0 ']'
++ result_command='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host
			--network host
			--pid host'
+++ basename /bin/bash
++ result_command='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host
			--network host
			--pid host
		--label "manager=distrobox"
		--label "distrobox.unshare_groups=0"
		--env "SHELL=bash"
		--env "HOME=/home/salman"
		--env "container=podman --log-level debug"
		--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"
		--volume /:/run/host:rslave
		--volume /tmp:/tmp:rslave
		--volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro
		--volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro
		--volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro
		--volume "/home/salman":"/home/salman":rslave'
++ '[' 0 -eq 0 ']'
++ result_command='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host
			--network host
			--pid host
		--label "manager=distrobox"
		--label "distrobox.unshare_groups=0"
		--env "SHELL=bash"
		--env "HOME=/home/salman"
		--env "container=podman --log-level debug"
		--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"
		--volume /:/run/host:rslave
		--volume /tmp:/tmp:rslave
		--volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro
		--volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro
		--volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro
		--volume "/home/salman":"/home/salman":rslave
			--volume /dev:/dev:rslave
			--volume /sys:/sys:rslave'
++ '[' 0 -eq 1 ']'
++ '[' 0 -eq 1 ']'
++ '[' 0 -eq 0 ']'
++ result_command='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host
			--network host
			--pid host
		--label "manager=distrobox"
		--label "distrobox.unshare_groups=0"
		--env "SHELL=bash"
		--env "HOME=/home/salman"
		--env "container=podman --log-level debug"
		--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"
		--volume /:/run/host:rslave
		--volume /tmp:/tmp:rslave
		--volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro
		--volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro
		--volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro
		--volume "/home/salman":"/home/salman":rslave
			--volume /dev:/dev:rslave
			--volume /sys:/sys:rslave
			--volume /dev/pts
			--volume /dev/null:/dev/ptmx'
++ '[' -e /sys/fs/selinux ']'
++ result_command='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host
			--network host
			--pid host
		--label "manager=distrobox"
		--label "distrobox.unshare_groups=0"
		--env "SHELL=bash"
		--env "HOME=/home/salman"
		--env "container=podman --log-level debug"
		--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"
		--volume /:/run/host:rslave
		--volume /tmp:/tmp:rslave
		--volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro
		--volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro
		--volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro
		--volume "/home/salman":"/home/salman":rslave
			--volume /dev:/dev:rslave
			--volume /sys:/sys:rslave
			--volume /dev/pts
			--volume /dev/null:/dev/ptmx
			--volume /sys/fs/selinux'
++ result_command='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host
			--network host
			--pid host
		--label "manager=distrobox"
		--label "distrobox.unshare_groups=0"
		--env "SHELL=bash"
		--env "HOME=/home/salman"
		--env "container=podman --log-level debug"
		--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"
		--volume /:/run/host:rslave
		--volume /tmp:/tmp:rslave
		--volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro
		--volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro
		--volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro
		--volume "/home/salman":"/home/salman":rslave
			--volume /dev:/dev:rslave
			--volume /sys:/sys:rslave
			--volume /dev/pts
			--volume /dev/null:/dev/ptmx
			--volume /sys/fs/selinux
			--volume /var/log/journal'
++ '[' -L /dev/shm ']'
++ RHEL_SUBSCRIPTION_FILES='
		/etc/pki/entitlement/:/run/secrets/etc-pki-entitlement:ro
		/etc/rhsm/:/run/secrets/rhsm:ro
		/etc/yum.repos.d/redhat.repo:/run/secrets/redhat.repo:ro
	'
++ for rhel_file in ${RHEL_SUBSCRIPTION_FILES}
+++ echo /etc/pki/entitlement/:/run/secrets/etc-pki-entitlement:ro
+++ cut -d: -f1
++ '[' -e /etc/pki/entitlement/ ']'
++ for rhel_file in ${RHEL_SUBSCRIPTION_FILES}
+++ echo /etc/rhsm/:/run/secrets/rhsm:ro
+++ cut -d: -f1
++ '[' -e /etc/rhsm/ ']'
++ for rhel_file in ${RHEL_SUBSCRIPTION_FILES}
+++ echo /etc/yum.repos.d/redhat.repo:/run/secrets/redhat.repo:ro
+++ cut -d: -f1
++ '[' -e /etc/yum.repos.d/redhat.repo ']'
++ '[' -n '' ']'
++ '[' -n '' ']'
++ '[' /home/salman '!=' /var/home/salman ']'
++ '[' -d /var/home/salman ']'
++ '[' -d /run/user/1000 ']'
++ '[' 0 -eq 0 ']'
++ result_command='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host
			--network host
			--pid host
		--label "manager=distrobox"
		--label "distrobox.unshare_groups=0"
		--env "SHELL=bash"
		--env "HOME=/home/salman"
		--env "container=podman --log-level debug"
		--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"
		--volume /:/run/host:rslave
		--volume /tmp:/tmp:rslave
		--volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro
		--volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro
		--volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro
		--volume "/home/salman":"/home/salman":rslave
			--volume /dev:/dev:rslave
			--volume /sys:/sys:rslave
			--volume /dev/pts
			--volume /dev/null:/dev/ptmx
			--volume /sys/fs/selinux
			--volume /var/log/journal
			--volume /run/user/1000:/run/user/1000:rslave'
++ '[' 0 -eq 0 ']'
++ NET_FILES='
			/etc/hosts
			/etc/resolv.conf
		'
++ for net_file in ${NET_FILES}
++ '[' -e /etc/hosts ']'
++ result_command='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host
			--network host
			--pid host
		--label "manager=distrobox"
		--label "distrobox.unshare_groups=0"
		--env "SHELL=bash"
		--env "HOME=/home/salman"
		--env "container=podman --log-level debug"
		--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"
		--volume /:/run/host:rslave
		--volume /tmp:/tmp:rslave
		--volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro
		--volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro
		--volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro
		--volume "/home/salman":"/home/salman":rslave
			--volume /dev:/dev:rslave
			--volume /sys:/sys:rslave
			--volume /dev/pts
			--volume /dev/null:/dev/ptmx
			--volume /sys/fs/selinux
			--volume /var/log/journal
			--volume /run/user/1000:/run/user/1000:rslave
					--volume /etc/hosts:/etc/hosts:ro'
++ for net_file in ${NET_FILES}
++ '[' -e /etc/resolv.conf ']'
++ result_command='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host
			--network host
			--pid host
		--label "manager=distrobox"
		--label "distrobox.unshare_groups=0"
		--env "SHELL=bash"
		--env "HOME=/home/salman"
		--env "container=podman --log-level debug"
		--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"
		--volume /:/run/host:rslave
		--volume /tmp:/tmp:rslave
		--volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro
		--volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro
		--volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro
		--volume "/home/salman":"/home/salman":rslave
			--volume /dev:/dev:rslave
			--volume /sys:/sys:rslave
			--volume /dev/pts
			--volume /dev/null:/dev/ptmx
			--volume /sys/fs/selinux
			--volume /var/log/journal
			--volume /run/user/1000:/run/user/1000:rslave
					--volume /etc/hosts:/etc/hosts:ro
					--volume /etc/resolv.conf:/etc/resolv.conf:ro'
++ echo 'podman --log-level debug'
++ grep -q podman
++ result_command='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host
			--network host
			--pid host
		--label "manager=distrobox"
		--label "distrobox.unshare_groups=0"
		--env "SHELL=bash"
		--env "HOME=/home/salman"
		--env "container=podman --log-level debug"
		--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"
		--volume /:/run/host:rslave
		--volume /tmp:/tmp:rslave
		--volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro
		--volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro
		--volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro
		--volume "/home/salman":"/home/salman":rslave
			--volume /dev:/dev:rslave
			--volume /sys:/sys:rslave
			--volume /dev/pts
			--volume /dev/null:/dev/ptmx
			--volume /sys/fs/selinux
			--volume /var/log/journal
			--volume /run/user/1000:/run/user/1000:rslave
					--volume /etc/hosts:/etc/hosts:ro
					--volume /etc/resolv.conf:/etc/resolv.conf:ro
			--annotation run.oci.keep_original_groups=1
			--ulimit host'
++ '[' 0 -eq 1 ']'
++ '[' 0 -eq 0 ']'
++ result_command='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host
			--network host
			--pid host
		--label "manager=distrobox"
		--label "distrobox.unshare_groups=0"
		--env "SHELL=bash"
		--env "HOME=/home/salman"
		--env "container=podman --log-level debug"
		--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"
		--volume /:/run/host:rslave
		--volume /tmp:/tmp:rslave
		--volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro
		--volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro
		--volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro
		--volume "/home/salman":"/home/salman":rslave
			--volume /dev:/dev:rslave
			--volume /sys:/sys:rslave
			--volume /dev/pts
			--volume /dev/null:/dev/ptmx
			--volume /sys/fs/selinux
			--volume /var/log/journal
			--volume /run/user/1000:/run/user/1000:rslave
					--volume /etc/hosts:/etc/hosts:ro
					--volume /etc/resolv.conf:/etc/resolv.conf:ro
			--annotation run.oci.keep_original_groups=1
			--ulimit host
				--userns keep-id'
++ result_command='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host
			--network host
			--pid host
		--label "manager=distrobox"
		--label "distrobox.unshare_groups=0"
		--env "SHELL=bash"
		--env "HOME=/home/salman"
		--env "container=podman --log-level debug"
		--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"
		--volume /:/run/host:rslave
		--volume /tmp:/tmp:rslave
		--volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro
		--volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro
		--volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro
		--volume "/home/salman":"/home/salman":rslave
			--volume /dev:/dev:rslave
			--volume /sys:/sys:rslave
			--volume /dev/pts
			--volume /dev/null:/dev/ptmx
			--volume /sys/fs/selinux
			--volume /var/log/journal
			--volume /run/user/1000:/run/user/1000:rslave
					--volume /etc/hosts:/etc/hosts:ro
					--volume /etc/resolv.conf:/etc/resolv.conf:ro
			--annotation run.oci.keep_original_groups=1
			--ulimit host
				--userns keep-id
		'
++ result_command='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host
			--network host
			--pid host
		--label "manager=distrobox"
		--label "distrobox.unshare_groups=0"
		--env "SHELL=bash"
		--env "HOME=/home/salman"
		--env "container=podman --log-level debug"
		--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"
		--volume /:/run/host:rslave
		--volume /tmp:/tmp:rslave
		--volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro
		--volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro
		--volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro
		--volume "/home/salman":"/home/salman":rslave
			--volume /dev:/dev:rslave
			--volume /sys:/sys:rslave
			--volume /dev/pts
			--volume /dev/null:/dev/ptmx
			--volume /sys/fs/selinux
			--volume /var/log/journal
			--volume /run/user/1000:/run/user/1000:rslave
					--volume /etc/hosts:/etc/hosts:ro
					--volume /etc/resolv.conf:/etc/resolv.conf:ro
			--annotation run.oci.keep_original_groups=1
			--ulimit host
				--userns keep-id
		
	--entrypoint /usr/bin/entrypoint
	fedora:latest
		--verbose
		--name "salman"
		--user 1000
		--group 1000
		--home "/home/salman"
		--init "0"
		--nvidia "0"
		--pre-init-hooks ""
		--additional-packages ""
		-- '\'''\''
	'
++ printf %s 'podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host
			--network host
			--pid host
		--label "manager=distrobox"
		--label "distrobox.unshare_groups=0"
		--env "SHELL=bash"
		--env "HOME=/home/salman"
		--env "container=podman --log-level debug"
		--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"
		--volume /:/run/host:rslave
		--volume /tmp:/tmp:rslave
		--volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro
		--volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro
		--volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro
		--volume "/home/salman":"/home/salman":rslave
			--volume /dev:/dev:rslave
			--volume /sys:/sys:rslave
			--volume /dev/pts
			--volume /dev/null:/dev/ptmx
			--volume /sys/fs/selinux
			--volume /var/log/journal
			--volume /run/user/1000:/run/user/1000:rslave
					--volume /etc/hosts:/etc/hosts:ro
					--volume /etc/resolv.conf:/etc/resolv.conf:ro
			--annotation run.oci.keep_original_groups=1
			--ulimit host
				--userns keep-id
		
	--entrypoint /usr/bin/entrypoint
	fedora:latest
		--verbose
		--name "salman"
		--user 1000
		--group 1000
		--home "/home/salman"
		--init "0"
		--nvidia "0"
		--pre-init-hooks ""
		--additional-packages ""
		-- '\'''\''
	'
+ cmd='podman --log-level debug create
		--hostname "ultramarine.salman"
		--name "ultramarine"
		--privileged
		--security-opt label=disable
		--security-opt apparmor=unconfined
		--pids-limit=-1
		--user root:root
			--ipc host
			--network host
			--pid host
		--label "manager=distrobox"
		--label "distrobox.unshare_groups=0"
		--env "SHELL=bash"
		--env "HOME=/home/salman"
		--env "container=podman --log-level debug"
		--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"
		--volume /:/run/host:rslave
		--volume /tmp:/tmp:rslave
		--volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro
		--volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro
		--volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro
		--volume "/home/salman":"/home/salman":rslave
			--volume /dev:/dev:rslave
			--volume /sys:/sys:rslave
			--volume /dev/pts
			--volume /dev/null:/dev/ptmx
			--volume /sys/fs/selinux
			--volume /var/log/journal
			--volume /run/user/1000:/run/user/1000:rslave
					--volume /etc/hosts:/etc/hosts:ro
					--volume /etc/resolv.conf:/etc/resolv.conf:ro
			--annotation run.oci.keep_original_groups=1
			--ulimit host
				--userns keep-id
		
	--entrypoint /usr/bin/entrypoint
	fedora:latest
		--verbose
		--name "salman"
		--user 1000
		--group 1000
		--home "/home/salman"
		--init "0"
		--nvidia "0"
		--pre-init-hooks ""
		--additional-packages ""
		-- '\'''\''
	'
+ eval podman --log-level debug create --hostname '"ultramarine.salman"' --name '"ultramarine"' --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label '"manager=distrobox"' --label '"distrobox.unshare_groups=0"' --env '"SHELL=bash"' --env '"HOME=/home/salman"' --env '"container=podman' --log-level 'debug"' --env '"TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"' --volume /:/run/host:rslave --volume /tmp:/tmp:rslave --volume '"/usr/bin/distrobox-init":/usr/bin/entrypoint:ro' --volume '"/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro' --volume '"/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro' --volume '"/home/salman":"/home/salman":rslave' --volume /dev:/dev:rslave --volume /sys:/sys:rslave --volume /dev/pts --volume /dev/null:/dev/ptmx --volume /sys/fs/selinux --volume /var/log/journal --volume /run/user/1000:/run/user/1000:rslave --volume /etc/hosts:/etc/hosts:ro --volume /etc/resolv.conf:/etc/resolv.conf:ro --annotation run.oci.keep_original_groups=1 --ulimit host --userns keep-id --entrypoint /usr/bin/entrypoint fedora:latest --verbose --name '"salman"' --user 1000 --group 1000 --home '"/home/salman"' --init '"0"' --nvidia '"0"' --pre-init-hooks '""' --additional-packages '""' -- ''\'''\'''
++ podman --log-level debug create --hostname ultramarine.salman --name ultramarine --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label manager=distrobox --label distrobox.unshare_groups=0 --env SHELL=bash --env HOME=/home/salman --env 'container=podman --log-level debug' --env TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo --volume /:/run/host:rslave --volume /tmp:/tmp:rslave --volume /usr/bin/distrobox-init:/usr/bin/entrypoint:ro --volume /usr/bin/distrobox-export:/usr/bin/distrobox-export:ro --volume /usr/bin/distrobox-host-exec:/usr/bin/distrobox-host-exec:ro --volume /home/salman:/home/salman:rslave --volume /dev:/dev:rslave --volume /sys:/sys:rslave --volume /dev/pts --volume /dev/null:/dev/ptmx --volume /sys/fs/selinux --volume /var/log/journal --volume /run/user/1000:/run/user/1000:rslave --volume /etc/hosts:/etc/hosts:ro --volume /etc/resolv.conf:/etc/resolv.conf:ro --annotation run.oci.keep_original_groups=1 --ulimit host --userns keep-id --entrypoint /usr/bin/entrypoint fedora:latest --verbose --name salman --user 1000 --group 1000 --home /home/salman --init 0 --nvidia 0 --pre-init-hooks '' --additional-packages '' -- ''
INFO[0000] podman filtering at log level debug          
DEBU[0000] Called create.PersistentPreRunE(podman --log-level debug create --hostname ultramarine.salman --name ultramarine --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label manager=distrobox --label distrobox.unshare_groups=0 --env SHELL=bash --env HOME=/home/salman --env container=podman --log-level debug --env TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo --volume /:/run/host:rslave --volume /tmp:/tmp:rslave --volume /usr/bin/distrobox-init:/usr/bin/entrypoint:ro --volume /usr/bin/distrobox-export:/usr/bin/distrobox-export:ro --volume /usr/bin/distrobox-host-exec:/usr/bin/distrobox-host-exec:ro --volume /home/salman:/home/salman:rslave --volume /dev:/dev:rslave --volume /sys:/sys:rslave --volume /dev/pts --volume /dev/null:/dev/ptmx --volume /sys/fs/selinux --volume /var/log/journal --volume /run/user/1000:/run/user/1000:rslave --volume /etc/hosts:/etc/hosts:ro --volume /etc/resolv.conf:/etc/resolv.conf:ro --annotation run.oci.keep_original_groups=1 --ulimit host --userns keep-id --entrypoint /usr/bin/entrypoint fedora:latest --verbose --name salman --user 1000 --group 1000 --home /home/salman --init 0 --nvidia 0 --pre-init-hooks  --additional-packages  -- ) 
DEBU[0000] Using conmon: "/usr/bin/conmon"              
INFO[0000] Using sqlite as database backend             
DEBU[0000] Using graph driver overlay                   
DEBU[0000] Using graph root /home/salman/.local/share/containers/storage 
DEBU[0000] Using run root /run/user/1000/containers     
DEBU[0000] Using static dir /home/salman/.local/share/containers/storage/libpod 
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp      
DEBU[0000] Using volume path /home/salman/.local/share/containers/storage/volumes 
DEBU[0000] Using transient store: false                 
DEBU[0000] [graphdriver] trying provided driver "overlay" 
DEBU[0000] Cached value indicated that overlay is supported 
DEBU[0000] Cached value indicated that overlay is supported 
DEBU[0000] Cached value indicated that metacopy is not being used 
DEBU[0000] Cached value indicated that native-diff is usable 
DEBU[0000] backingFs=extfs, projectQuotaSupported=false, useNativeDiff=true, usingMetacopy=false 
DEBU[0000] Initializing event backend journald          
DEBU[0000] Configured OCI runtime runc initialization failed: no valid executable found for OCI runtime runc: invalid argument 
DEBU[0000] Configured OCI runtime runsc initialization failed: no valid executable found for OCI runtime runsc: invalid argument 
DEBU[0000] Configured OCI runtime youki initialization failed: no valid executable found for OCI runtime youki: invalid argument 
DEBU[0000] Configured OCI runtime ocijail initialization failed: no valid executable found for OCI runtime ocijail: invalid argument 
DEBU[0000] Configured OCI runtime runj initialization failed: no valid executable found for OCI runtime runj: invalid argument 
DEBU[0000] Configured OCI runtime kata initialization failed: no valid executable found for OCI runtime kata: invalid argument 
DEBU[0000] Using OCI runtime "/usr/bin/crun"            
INFO[0000] Setting parallel job count to 13             
DEBU[0000] Successfully loaded network obsidian_default: &{obsidian_default aba8a42344bbdfaebd5126cdff6902fa8b12aa57bc053816849db183a3f7814a bridge podman2 2024-03-21 15:21:31.052586378 +0500 PKT [{{{10.89.1.0 ffffff00}} 10.89.1.1 <nil>}] [] false false true [] map[com.docker.compose.project:obsidian io.podman.compose.project:obsidian] map[] map[driver:host-local]} 
DEBU[0000] Successfully loaded network salmanspersonal_default: &{salmanspersonal_default d7164956fb5c8a305d68224f84cc893b0c0991c75ca142a6af977c646a97c347 bridge podman1 2024-03-21 14:44:15.53269298 +0500 PKT [{{{10.89.0.0 ffffff00}} 10.89.0.1 <nil>}] [] false false true [] map[com.docker.compose.project:salmanspersonal io.podman.compose.project:salmanspersonal] map[] map[driver:host-local]} 
DEBU[0000] Successfully loaded 3 networks               
DEBU[0000] Pulling image fedora:latest (policy: missing) 
DEBU[0000] Looking up image "fedora:latest" in local containers storage 
DEBU[0000] Normalized platform linux/amd64 to {amd64 linux  [] } 
DEBU[0000] Loading registries configuration "/etc/containers/registries.conf" 
DEBU[0000] Loading registries configuration "/etc/containers/registries.conf.d/000-shortnames.conf" 
DEBU[0000] Trying "registry.fedoraproject.org/fedora:latest" ... 
DEBU[0000] parsed reference into "[overlay@/home/salman/.local/share/containers/storage+/run/user/1000/containers]@5640f5654be1a199f39f28aea21fba326413d7311f79dd2d9ab9f6c0bb0699a2" 
DEBU[0000] Found image "fedora:latest" as "registry.fedoraproject.org/fedora:latest" in local containers storage 
DEBU[0000] Found image "fedora:latest" as "registry.fedoraproject.org/fedora:latest" in local containers storage ([overlay@/home/salman/.local/share/containers/storage+/run/user/1000/containers]@5640f5654be1a199f39f28aea21fba326413d7311f79dd2d9ab9f6c0bb0699a2) 
DEBU[0000] exporting opaque data as blob "sha256:5640f5654be1a199f39f28aea21fba326413d7311f79dd2d9ab9f6c0bb0699a2" 
DEBU[0000] Looking up image "registry.fedoraproject.org/fedora:latest" in local containers storage 
DEBU[0000] Normalized platform linux/amd64 to {amd64 linux  [] } 
DEBU[0000] Trying "registry.fedoraproject.org/fedora:latest" ... 
DEBU[0000] parsed reference into "[overlay@/home/salman/.local/share/containers/storage+/run/user/1000/containers]@5640f5654be1a199f39f28aea21fba326413d7311f79dd2d9ab9f6c0bb0699a2" 
DEBU[0000] Found image "registry.fedoraproject.org/fedora:latest" as "registry.fedoraproject.org/fedora:latest" in local containers storage 
DEBU[0000] Found image "registry.fedoraproject.org/fedora:latest" as "registry.fedoraproject.org/fedora:latest" in local containers storage ([overlay@/home/salman/.local/share/containers/storage+/run/user/1000/containers]@5640f5654be1a199f39f28aea21fba326413d7311f79dd2d9ab9f6c0bb0699a2) 
DEBU[0000] exporting opaque data as blob "sha256:5640f5654be1a199f39f28aea21fba326413d7311f79dd2d9ab9f6c0bb0699a2" 
DEBU[0000] User mount /:/run/host options [rslave]      
DEBU[0000] User mount /tmp:/tmp options [rslave]        
DEBU[0000] User mount /usr/bin/distrobox-init:/usr/bin/entrypoint options [ro] 
DEBU[0000] User mount /usr/bin/distrobox-export:/usr/bin/distrobox-export options [ro] 
DEBU[0000] User mount /usr/bin/distrobox-host-exec:/usr/bin/distrobox-host-exec options [ro] 
DEBU[0000] User mount /home/salman:/home/salman options [rslave] 
DEBU[0000] User mount /dev:/dev options [rslave]        
DEBU[0000] User mount /sys:/sys options [rslave]        
DEBU[0000] User mount :/dev/pts options []              
DEBU[0000] User mount /dev/null:/dev/ptmx options []    
DEBU[0000] User mount :/sys/fs/selinux options []       
DEBU[0000] User mount :/var/log/journal options []      
DEBU[0000] User mount /run/user/1000:/run/user/1000 options [rslave] 
DEBU[0000] User mount /etc/hosts:/etc/hosts options [ro] 
DEBU[0000] User mount /etc/resolv.conf:/etc/resolv.conf options [ro] 
DEBU[0000] Looking up image "fedora:latest" in local containers storage 
DEBU[0000] Normalized platform linux/amd64 to {amd64 linux  [] } 
DEBU[0000] Trying "registry.fedoraproject.org/fedora:latest" ... 
DEBU[0000] parsed reference into "[overlay@/home/salman/.local/share/containers/storage+/run/user/1000/containers]@5640f5654be1a199f39f28aea21fba326413d7311f79dd2d9ab9f6c0bb0699a2" 
DEBU[0000] Found image "fedora:latest" as "registry.fedoraproject.org/fedora:latest" in local containers storage 
DEBU[0000] Found image "fedora:latest" as "registry.fedoraproject.org/fedora:latest" in local containers storage ([overlay@/home/salman/.local/share/containers/storage+/run/user/1000/containers]@5640f5654be1a199f39f28aea21fba326413d7311f79dd2d9ab9f6c0bb0699a2) 
DEBU[0000] exporting opaque data as blob "sha256:5640f5654be1a199f39f28aea21fba326413d7311f79dd2d9ab9f6c0bb0699a2" 
DEBU[0000] Inspecting image 5640f5654be1a199f39f28aea21fba326413d7311f79dd2d9ab9f6c0bb0699a2 
DEBU[0000] exporting opaque data as blob "sha256:5640f5654be1a199f39f28aea21fba326413d7311f79dd2d9ab9f6c0bb0699a2" 
DEBU[0000] exporting opaque data as blob "sha256:5640f5654be1a199f39f28aea21fba326413d7311f79dd2d9ab9f6c0bb0699a2" 
DEBU[0000] Inspecting image 5640f5654be1a199f39f28aea21fba326413d7311f79dd2d9ab9f6c0bb0699a2 
DEBU[0000] Inspecting image 5640f5654be1a199f39f28aea21fba326413d7311f79dd2d9ab9f6c0bb0699a2 
DEBU[0000] using systemd mode: false                    
DEBU[0000] setting container name ultramarine           
DEBU[0000] Loading seccomp profile from "/etc/containers/seccomp.json" 
INFO[0000] Sysctl net.ipv4.ping_group_range=0 0 ignored in containers.conf, since Network Namespace set to host 
DEBU[0000] Adding mount /sys/fs/cgroup                  
DEBU[0000] Adding mount /proc                           
DEBU[0000] Allocated lock 49 for container a65253897c90b0bf3552b4ff38a9df54bd14f99ec1ce3a4a1af00295c0d9afac 
DEBU[0000] parsed reference into "[overlay@/home/salman/.local/share/containers/storage+/run/user/1000/containers]@5640f5654be1a199f39f28aea21fba326413d7311f79dd2d9ab9f6c0bb0699a2" 
DEBU[0000] exporting opaque data as blob "sha256:5640f5654be1a199f39f28aea21fba326413d7311f79dd2d9ab9f6c0bb0699a2" 
DEBU[0000] Cached value indicated that idmapped mounts for overlay are not supported 
DEBU[0000] Check for idmapped mounts support            
DEBU[0000] overlay: mount_data=lowerdir=/home/salman/.local/share/containers/storage/overlay/l/DKY5PE55SZA4O7URHDLDG7ICCE,upperdir=/home/salman/.local/share/containers/storage/overlay/c4bfb35889cba2ab39142932802c7fa47f5b77decf135d2a203b1b70095a1a70/diff,workdir=/home/salman/.local/share/containers/storage/overlay/c4bfb35889cba2ab39142932802c7fa47f5b77decf135d2a203b1b70095a1a70/work,,userxattr

Desktop (please complete the following information):

  • Are you using podman, docker or lilipod? Podman
  • Which version or podman, docker or lilipod? podman version 4.9.3
  • Which version of distrobox? distrobox: 1.7.0.1
  • Which host distribution? OpenSuse MicroOS
  • How did you install distrobox? It was preinstalled

Additional context
Add any other context about the problem here.

@muhdsalm muhdsalm added the bug Something isn't working label Mar 28, 2024
@muhdsalm
Copy link
Author

muhdsalm commented Apr 7, 2024

Update: Switched to Nix (unrelated), same issue. Could possibly be linked to the fact that I switched to different distributions (and therefore different users) so it could be a permission issue. I switched to Docker and the issue is resolved, however it's to be seen if I hop again whether this issue comes up with Docker as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant