Package: coreutils Version: 9.1-1 Severity: normal Dear Maintainer,
If ~/uwu$ echo tupa > t/a/i/l/zupa then $ tail -F ~/uwu/t/a/i/l/zupa tupa and when ~/uwu$ mv t q; mkdir -p t/a/i/l; echo trużpan > t/a/i/l/zupa nothing changes. Naturally, $ cat /proc/$(pgrep tail)/fdinfo/4 pos: 0 flags: 00 mnt_id: 15 ino: 2075 inotify wd:2 ino:20e117 sdev:71 mask:c06 ignored_mask:0 fhandle-bytes:c fhandle-type:1 f_handle:941d177517e1200000000000 inotify wd:1 ino:20e116 sdev:71 mask:784 ignored_mask:0 fhandle-bytes:c fhandle-type:1 f_handle:5d7d142316e1200000000000 and nothing actually changed with what I assume are watches for ~/uwu/t/a/i/l/zupa and ~/uwu/t/a/i/l, and if you muck around with it (by killing q/a/i/l/zupa or whatever) so much tail says it falls back to polling, then it works again. I don't think actually generalising tail -F is possible with linux's (d|i|fs)notify systems. Or that it's worth-while to do so for the specified use-case of log rotation. OTOH, this is NOT documented. And neither is ---disable-inotify, which is needed to work around some Linux bugs (like #1039488). Please (a) document this behaviour, and (b) document ---disable-inotify (for which, funnily enough, the only two results on DCO are coreutils and rust-coreutils: https://codesearch.debian.net/search?q=---disable-inotify&perpkg=1 ) as fixing it. Best, наб -- System Information: Debian Release: 12.0 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.0-9-amd64 (SMP w/24 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages coreutils depends on: ii libacl1 2.3.1-3 ii libattr1 1:2.5.1-4 ii libc6 2.36-9 ii libgmp10 2:6.2.1+dfsg1-1.1 ii libselinux1 3.4-1+b6 coreutils recommends no packages. coreutils suggests no packages. -- no debconf information
signature.asc
Description: PGP signature