Package: util-linux Version: 2.36-3+b2 Severity: normal Dear Maintainer,
When using flock --nonblock --conflict-exit-code 600 on a locked file, the returned value is 88. I expected it to be 600. This can re reproducted by runing: $ flock --nonblock --conflict-exit-code 600 test.lock -c "sleep 10"& a few times in a shell. flock should fail immediatly if the number parameter is out of acceptable range and will never be returned. Additionnally, flock(1) should document the fact that number must be <= 255. -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.7.0-2-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages util-linux depends on: ii libaudit1 1:2.8.5-3.1 ii libblkid1 2.36-3+b2 ii libc6 2.31-4 ii libcap-ng0 0.7.9-2.2 ii libcrypt1 1:4.4.17-1 ii libmount1 2.36-3+b2 ii libpam0g 1.3.1-5 ii libselinux1 3.1-2+b1 ii libsmartcols1 2.36-3+b2 ii libsystemd0 246.6-2 ii libtinfo6 6.2+20200918-1 ii libudev1 246.6-2 ii libuuid1 2.36-3+b2 ii login 1:4.8.1-1 ii zlib1g 1:1.2.11.dfsg-2 util-linux recommends no packages. Versions of packages util-linux suggests: ii dosfstools 4.1-2 ii kbd 2.3.0-3 ii util-linux-locales 2.36-3 -- no debconf information