Bug#1000793: bind9-dnsutils: dig command fails with "`fd > STDERR_FILENO' failed" when run from a XFCE4 desktop applet

2023-04-24 Thread Bernhard Schmidt
Control: reassign -1 xfce4-genmon-plugin Control: tags -1 = upstream fixed-upstream patch Control: affects -1 bind9-dnsutils Control: forwarded -1 https://gitlab.xfce.org/panel-plugins/xfce4-genmon-plugin/-/issues/19 Hi Cesar, On 24/04/23 12:04 AM, Cesar Enrique Garcia Dabo wrote: > This turned

Bug#1000793: bind9-dnsutils: dig command fails with "`fd > STDERR_FILENO' failed" when run from a XFCE4 desktop applet

2023-04-23 Thread Cesar Enrique Garcia Dabo
This turned out to be a bug in xfce4-genmon-plugin. For the record, this is the bug report: https://gitlab.xfce.org/panel-plugins/xfce4-genmon-plugin/-/issues/19 And this is the patch: https://gitlab.xfce.org/cquike/xfce4-genmon-plugin/-/merge_requests/1 This is included in

Bug#1000793: bind9-dnsutils: dig command fails with "`fd > STDERR_FILENO' failed" when run from a XFCE4 desktop applet

2021-11-30 Thread Ondřej Surý
> Question: did you try the small program also within the xfce-plugin-genmon? Nope, I am not using Linux on Desktop. Ondrej -- Ondřej Surý (He/Him) ond...@sury.org

Bug#1000793: Info received (Bug#1000793: bind9-dnsutils: dig command fails with "`fd > STDERR_FILENO' failed" when run from a XFCE4 desktop applet)

2021-11-30 Thread Ondřej Surý
Yes, that’s the commit, but it’s not that something in BIND 9 changed. It just opens less file descriptors at start now. I don’t think this is BIND 9 bug. Ondrej -- Ondřej Surý (He/Him) ond...@sury.org > On 30. 11. 2021, at 13:39, Cesar Enrique Garcia wrote: > > I have tracked it a bit more

Bug#1000793: bind9-dnsutils: dig command fails with "`fd > STDERR_FILENO' failed" when run from a XFCE4 desktop applet

2021-11-30 Thread Ondřej Surý
Hi, so, it’s actually not a stderr that gets closed, but stdout or stdin here (or all of them). The thing that has changed between the versions is the number of file descriptors open during the `dig` operation (there’s less descriptors open by default and then the opened socket gets fd == 1.

Bug#1000793: Info received (Bug#1000793: bind9-dnsutils: dig command fails with "`fd > STDERR_FILENO' failed" when run from a XFCE4 desktop applet)

2021-11-30 Thread Cesar Enrique Garcia
I have tracked it a bit more using the git code of bind9 under https://gitlab.isc.org/isc-projects/bind9. It seems that in the v9_16_22 branch the problem started to happen with this commit: * commit ef1d909fa96479e6c4832e2e76f3ce3912cab930 | Author: Evan Hunt | Date:   Wed May 12 17:17:05

Bug#1000793: bind9-dnsutils: dig command fails with "`fd > STDERR_FILENO' failed" when run from a XFCE4 desktop applet

2021-11-29 Thread Cesar Enrique Garcia
Hi, thanks for looking into this! It might be that the source of the problem is in xfce-plugin-genmon, but I traced down when this started to fail: it was after an upgrade from bind9-libs 1:9.16.15-1 to 1:9.16.22-1~deb11u1. So something in that upgrade changed the behavior in dig.

Bug#1000793: bind9-dnsutils: dig command fails with "`fd > STDERR_FILENO' failed" when run from a XFCE4 desktop applet

2021-11-29 Thread Ondřej Surý
That’s a constraint from libuv. Why would the monitoring software **close** the stderr anyway? It’s not about the redirection, that would be fine. The problem is that the “Generic monitoring” plugin closes the stderr descriptor which seems to me as wrong thing to do. Ondrej -- Ondřej Surý

Bug#1000793: bind9-dnsutils: dig command fails with "`fd > STDERR_FILENO' failed" when run from a XFCE4 desktop applet

2021-11-28 Thread Enrique Garcia
Package: bind9-dnsutils Version: 1:9.16.22-1~deb11u1 Severity: normal X-Debbugs-Cc: cqu...@arcor.de I am experiencing a weird bug in which the dig command fails when run as part of a shell script executed inside the XFCE4 "Generic monitor" plugin. The error message is: dig: