Package: ircii Version: 20210314+really20190117-1 Severity: normal File: /usr/bin/ircII
As far as I can tell (eg from strace and the manpage), /usr/bin/ircII reads /usr/share/ircII//script/global and other files in /usr/share on startup, but not any of the files in /etc. This is despite the package shipping /etc/irc/script/local which says it is read. strace shows access("/u/testac/.irc/local", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/ircII//script/local", F_OK) = -1 ENOENT (No such file or directory) access("./local", F_OK) = -1 ENOENT (No such file or directory) access("/u/testac/.irc/local.Z", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/ircII//script/local.Z", F_OK) = -1 ENOENT (No such file or directory) access("./local.Z", F_OK) = -1 ENOENT (No such file or directory) I conjecture: * Once upon a time, the Debian package was patched to scan /etc/irc as well as /usr/share. * Accordingly, the Debian "global" loads "local" too, expecting to find it in /etc. * At some point the patches to do this rotted and/or were mistakenly dropped. I think the fix is to scan /etc. I also noted that it scans the cwd, which I think is wrong. I have filed a second bug about that. -- System Information: Debian Release: 11.3 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-15-amd64 (SMP w/8 CPU threads) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled Versions of packages ircii depends on: ii libc6 2.31-13+deb11u3 ii libcrypt1 1:4.4.18-4 ii libssl1.1 1.1.1n-0+deb11u3 ii libtinfo6 6.2+20201114-2 ircii recommends no packages. ircii suggests no packages. -- Configuration Files: /etc/irc/motd [Errno 2] No such file or directory: '/etc/irc/motd' /etc/irc/script/local changed: load cursor load tabkey set STATUS_USER * type /help for help set EIGHT_BIT_CHARACTERS on echo *** /etc/irc/script/local V0.5 for Debian finished. Welcome to ircII. load /etc/irc/script/chiark set lastlog 1000 -- no debconf information