Date: Fri, 22 Jan 2021 15:34:26 -0700 From: "Russell L. Carter" <rcarter@pinyon.org> To: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: dns/yadifa 3.9->4.1 seems broken Message-ID: <4d0eeb36-6060-5f0c-f3f0-596827fbe5eb@pinyon.org> In-Reply-To: <7bc7f662-f6fa-559a-2371-95135b0c5a95@pinyon.org> References: <7bc7f662-f6fa-559a-2371-95135b0c5a95@pinyon.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/22/21 1:34 PM, Russell L. Carter wrote: > Hi there, > > amd64 12-stable, ports poudriere-built weekly. > > So I upgraded my 6 years running yadifa port and > apparently the yadifad no longer listens on its yadifa.conf > configuration and no longer is stoppable by kill -TERM. > > I have a local /usr/local/etc/rc.d/yadifa and yadifa.conf, > but using the default installed rc.d/yadifad and yadifa.conf > exhibits the same behavior. > > I am not sure if the bug is something dumb I have done or > if this is a real bug. Anybody else seeing this? > Seems to be a bug in yadifa. I downloaded and built yadifa-2.4.1-9916, default everything but --prefix=/usr/local/pkg, and after quite a bit of trial and error got client yadifa talking to server yadifad. starting yadifad: PREFIX=/usr/local/pkg $PREFIX/sbin/yadifad -c $PREFIX/etc/yadifa/yadifad.conf -d running yadifa ctrl: CONFIG_FILE="-c $PREFIX/etc/yadifa/yadifad.conf" SERVER="--server 127.0.0.1 --port 5353" KEY="-y hmac-md5:ctrl-key:WouldNtYouWantToKnowIt==" $PREFIX/bin/yadifa ctrl -v $CONFIG_FILE $SERVER $KEY shutdown output: root@feyerabend> ./yadifa-ctrl ; (1 server found) ;; Got answer: ;; ->>HEADER<<- opcode: CTRL, status: NOERROR, id: 42334 ;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;. CTRL SHUTDOWN ;; ANSWER SECTION: ;; AUTHORITY SECTION: ;; ADDITIONAL SECTION: ;; Query time: 1 msec ;; WHEN: Fri Jan 22 15:21:14 2021 ;; MSG SIZE rcvd: 17 root@feyerabend> ./yadifa-ctrl ; (1 server found) ;; connection timed out; no servers could be reached root@feyerabend> ps xa | grep yadifa 32959 - R 13:08.93 /usr/local/pkg/sbin/yadifad -c /usr/local/pkg/etc/ya 29629 8 S 0:13.49 emacs yadifa.conf (emacs-27.1) 32957 8 I 0:00.02 /usr/local/pkg/sbin/yadifad -c /usr/local/pkg/etc/ya 32975 8 R+ 0:00.00 grep yadifa root@feyerabend> ./yadifa-ctrl That seems like a lot of cpu time for something that should just be sitting there idle. I have to killall -9 yadifad to nuke the daemons. Oh well, back to the previous version. Russell
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d0eeb36-6060-5f0c-f3f0-596827fbe5eb>