Bug#628815: coreutils: pinky makes crazy DNS queries

2024-03-19 Thread Michael Stone
On Tue, Mar 19, 2024 at 03:27:52PM +0100, you wrote: /etc/acpi/lid.sh calls getXuser, that's defined in /usr/share/acpi-support/power-funcs which has on line 36 plist=$(pinky -fw) || pwf_error "pinky lost" I'd suggest a wishlist bug on acpi-support-base to use "who -us" in

Bug#628815: coreutils: pinky makes crazy DNS queries

2024-03-19 Thread debbug
/etc/acpi/lid.sh calls getXuser, that's defined in /usr/share/acpi-support/power-funcs which has on line 36 plist=$(pinky -fw) || pwf_error "pinky lost" On Tue, Mar 19, 2024 at 08:50:59AM -0400, Michael Stone wrote: > On Tue, Mar 19, 2024 at 11:54:30AM +0100, you wrote: > > For

Bug#628815: coreutils: pinky makes crazy DNS queries

2024-03-19 Thread Pádraig Brady
On 19/03/2024 10:54, deb...@perkelt.hu wrote: I looked into this and found that pinky tries to canonicalize the information in the "Where" column automaticaly, and it has no option to disable this behaviour. see line 285 pinky.c: if (*ut_host) /* See if we can

Bug#628815: coreutils: pinky makes crazy DNS queries

2024-03-19 Thread Michael Stone
On Tue, Mar 19, 2024 at 11:54:30AM +0100, you wrote: For example on a debian system with acpi-support, /etc/acpi/lid.sh will make many requests to find the host $WAYLAND_DISPLAY every time the lid is opened. I don't see anything in lid.sh that calls pinky.

Bug#628815: coreutils: pinky makes crazy DNS queries

2024-03-19 Thread debbug
I looked into this and found that pinky tries to canonicalize the information in the "Where" column automaticaly, and it has no option to disable this behaviour. see line 285 pinky.c: if (*ut_host) /* See if we can canonicalize it. */ host = canon_host

Bug#628815: coreutils: pinky makes crazy DNS queries

2011-06-01 Thread Bruno Muller
Package: coreutils Version: 8.5-1 Severity: normal In a ssh session over IPv6, ltrace pinky shows: ... strncpy(0x7fff7204e2c0, 2a01:e35:1380:19a0:3187:b730:838..., 256) = 0x7fff7204e2c0 strchr(2a01:e35:1380:19a0:3187:b730:838..., ':') = :e35:1380:19a0:3187:b730:8380:97... getaddrinfo(2a01,