Bug#1029675: faked daemon exits on SIGWINCH signal

2024-03-05 Thread Anton Hvornum
Most workarounds to the issue stipulates adding a docker workaround: --ulimit nofile=1024:524288 This only works in some instances, and this might be obvious to others.. But if running for instance makepkg[1] inside a docker container the issue will remain. Unless makepkg specifically was execute

Bug#1029675:

2024-02-12 Thread Martin Kjær Jørgensen
I have observed similar issue as Nevo Hed described in https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1892339.html but with fakeroot-1.32.2 on Gentoo system instead. Fixed it in similar ways like Nevo by adding this to daemon.json for dockerd: "default-ulimits": { "nofile":

Bug#1029675: Observed similar hang that was resolved by setting reasonable ulimit

2023-01-31 Thread Nevo Hed
As the linked report from an unrelated project imilicates running under docker I figured I'd share my experience While i'm on a much older version of fakeroot I think this code in faked.c causes a long hang (as observed in strace) ``` int num_fds = getdtablesize(); ... for (fl= 0; fl

Bug#1029675: faked daemon exits on SIGWINCH signal

2023-01-26 Thread Sebastian von Ohr
Package: fakeroot Version: 1.30.1-1.1 The faked daemon installs signal handlers by looping from 1 to NSIG (faked.c:1481) with some special handling for some signals. However, for most signals the `cleanup` function is registered as handler. Specifically, with the SIGWINCH signal this can lead t