Restic +Alpine Container + Cron hangs (epoll_pwait)

thanx fd0 for looking into this :slight_smile:
I tried again to run strace with you propesed flags and the output reads:

[pid    29] clock_gettime(CLOCK_MONOTONIC,  <unfinished ...>
[pid    28] ioctl(1</dev/pts/0>, TIOCGPGRP <unfinished ...>
[pid    29] <... clock_gettime resumed>{tv_sec=397021, tv_nsec=229663381}) = 0
[pid    29] clock_gettime(CLOCK_MONOTONIC,  <unfinished ...>
[pid    28] <... ioctl resumed>, [1])   = 0
[pid    29] <... clock_gettime resumed>{tv_sec=397021, tv_nsec=230488781}) = 0
[pid    29] nanosleep({tv_sec=0, tv_nsec=20000},  <unfinished ...>
[pid    28] getpgid(0)                  = 27
[pid    28] ioctl(1</dev/pts/0>, TIOCGPGRP <unfinished ...>
[pid    29] <... nanosleep resumed>NULL) = 0
[pid    29] clock_gettime(CLOCK_MONOTONIC,  <unfinished ...>
[pid    28] <... ioctl resumed>, [1])   = 0
[pid    29] <... clock_gettime resumed>{tv_sec=397021, tv_nsec=234374381}) = 0
[pid    28] getpgid(0 <unfinished ...>
[pid    29] clock_gettime(CLOCK_MONOTONIC,  <unfinished ...>
[pid    28] <... getpgid resumed>)      = 27
[pid    29] <... clock_gettime resumed>{tv_sec=397021, tv_nsec=235091781}) = 0
[pid    28] ioctl(1</dev/pts/0>, TIOCGPGRP <unfinished ...>
[pid    29] nanosleep({tv_sec=0, tv_nsec=20000},  <unfinished ...>
[pid    28] <... ioctl resumed>, [1])   = 0
[pid    28] getpgid(0 <unfinished ...>
[pid    29] <... nanosleep resumed>NULL) = 0
[pid    28] <... getpgid resumed>)      = 27
[pid    29] clock_gettime(CLOCK_MONOTONIC,  <unfinished ...>
[pid    28] ioctl(1</dev/pts/0>, TIOCGPGRP <unfinished ...>
[pid    29] <... clock_gettime resumed>{tv_sec=397021, tv_nsec=237755781}) = 0
[pid    28] <... ioctl resumed>, [1])   = 0
[pid    29] clock_gettime(CLOCK_MONOTONIC,  <unfinished ...>
[pid    28] getpgid(0 <unfinished ...>
[pid    29] <... clock_gettime resumed>{tv_sec=397021, tv_nsec=238508681}) = 0
[pid    28] <... getpgid resumed>)      = 27
[pid    29] getpid()                    = 28
[pid    28] ioctl(1</dev/pts/0>, TIOCGPGRP <unfinished ...>
[pid    29] tgkill(28, 28, SIGURG)      = 0
[pid    28] <... ioctl resumed>, [1])   = 0
[pid    29] nanosleep({tv_sec=0, tv_nsec=20000},  <unfinished ...>
[pid    28] --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=28, si_uid=0} ---

It seems to be stuck in this loop right after restic stated:
repository 70fbba4f opened successfully, password is correct
Increasing the verbosity of restic does not change the outcome.

One thing that is odd is that the PIDs statet in the strace can not be seen running ps:

[pid    29] nanosleep({tv_sec=0, tv_nsec=20000},  <unfinished ...>
[pid    35] <... getpgid resumed>)      = 27
[pid    35] ioctl(1</dev/pts/0>, TIOCGPGRP <unfinished ...>
[pid    29] <... nanosleep resumed>NULL) = 0
[pid    29] clock_gettime(CLOCK_MONOTONIC,  <unfinished ...>
^C[pid    35] <... ioctl resumed>, [1])   = 0
strace: Process 28 detached
strace: Process 29 detached
strace: Process 30 detached
strace: Process 31 detached
strace: Process 32 detached
strace: Process 33 detached
strace: Process 34 detached
strace: Process 35 detached
strace: Process 36 detached
strace: Process 37 detached

/ # ps aux
PID   USER     TIME  COMMAND
    1 root      0:00 crond -f -d 8
   11 root      0:00 sh
   27 root      0:00 {cronscript} /bin/ash /bin/cronscript
   28 root      7:16 restic backup --no-cache -v -v /etc
   49 root      0:00 ps aux

Maybe someone that understands straces better than me can help hereโ€ฆ:wink: