Bug ID 1217306
Summary distrobox stuck at starting container
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.6
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Containers
Assignee containers-bugowner@suse.de
Reporter lubos.kocman@suse.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

Created attachment 870843 [details]
few seconds of strace -p 5212 2>&1 | tee /tmp/strace-out.log

Following happened on Leap 15.6
lkocman@localhost:~/Workspace> distrobox enter mirror
Error: no such container mirror
Cannot find container mirror
Creating the container with command:
  /usr/bin/distrobox-create -i registry.opensuse.org/opensuse/distrobox:latest
-n mirror
Trying to pull registry.opensuse.org/opensuse/distrobox:latest...
Getting image source signatures
Copying blob 942e611a39d7 done  
Copying blob 1517c1ea8bb6 done  
Copying config 8372decf75 done  
Writing manifest to image destination
8372decf752e74665fcb94d31b9b378dd1790233ab36b03d37f63dac462e0fbc
Creating 'mirror' using image registry.opensuse.org/opensuse/distrobox:latest  
 [ OK ]
Distrobox 'mirror' successfully created.
To enter, run:

distrobox enter mirror

Container mirror is not running.
Starting container mirror
run this command to follow along:

 podman logs -f mirror

 Starting container...                          

# Stuck here for 30 minutes or so


lkocman@localhost:~/Workspace> ps aux | grep distro
lkocman   5210  0.0  0.0  11096  3328 pts/0    S+   08:13   0:00 /bin/sh
/usr/bin/distrobox enter mirror
lkocman   5212  2.1  0.0  11224  3840 pts/0    S+   08:13   0:53 /bin/sh
/usr/bin/distrobox-enter mirror
lkocman  27424  0.0  0.0   8212  2304 pts/1    S+   08:56   0:00 grep
--color=auto distro


Strace seems that the program itself is busy 

Not sure if this isn't an issue

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=27782, si_uid=1000,
si_status=0, si_utime=2, si_stime=0} ---
wait4(-1, 0x7ffc3cd5bbd0, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn({mask=[]})                 = 0
openat(AT_FDCWD, "/home/lkocman/.cache/.mirror.fifo", O_RDONLY) = 3
fcntl(0, F_GETFD)                       = 0
fcntl(0, F_DUPFD, 10)                   = 10
fcntl(0, F_GETFD)                       = 0
fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
dup2(3, 0)                              = 0
close(3)                                = 0
ioctl(0, TCGETS, 0x7ffc3cd5c4f0)        = -1 ENOTTY (Inappropriate ioctl for
device)


You are receiving this mail because: