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
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"