Ufdbguard fails reload

Hi, i still have some problem with latest ufdbguard. I think related with https://github.com/NethServer/dev/issues/6323

i can replicate the error executing /etc/cron.daily/update-squidguard-blacklists

ov  6 10:34:51 ns7proxy ufdbguardd: *** Error in `/usr/sbin/ufdbguardd': corrupted size vs. prev_size: 0x00000000016ab7c0 ***
Nov  6 10:34:51 ns7p ufdbguardd: ======= Backtrace: =========
Nov  6 10:34:51 ns7p ufdbguardd: /lib64/libc.so.6(+0x80ba7)[0x7f38a53fbba7]
Nov  6 10:34:51 ns7p ufdbguardd: /lib64/libc.so.6(+0x820a5)[0x7f38a53fd0a5]
Nov  6 10:34:51 ns7p ufdbguardd: /lib64/libc.so.6(__libc_malloc+0xc7)[0x7f38a5400777]
Nov  6 10:34:51 ns7p ufdbguardd: /usr/sbin/ufdbguardd[0x424a4e]
Nov  6 10:34:51 ns7p ufdbguardd: /usr/sbin/ufdbguardd[0x424b86]
Nov  6 10:34:51 ns7p ufdbguardd: /usr/sbin/ufdbguardd[0x41ba82]
Nov  6 10:34:51 ns7p ufdbguardd: /usr/sbin/ufdbguardd[0x41d23b]

i didn’t have time now to look further, but a quick and dirty solution was to change the latest pkill from SIGHUP to SiGKILL
i’ll do some other test in the afternoon to see if i can replicate the problem also on other installation…

2 Likes

See also this one: https://github.com/NethServer/dev/issues/6324

2 Likes

just an update here as the issue is closed… I did some other tests:

  • on a low traffic installation: nethserver-squidguard-2.0.6-1 seems to solve the problem (both with reload and with blacklist update ufdb crashes but then it restart)
  • on an installation with lot more traffic with nethserver-squidguard-2.0.6-1: both the reload and the blacklist update crash ufdbguard and it doesn’t restart.
    updating blacklists with sigkill it freezes but then restarts
  • on the installation with more traffic with nethserver-squidguard-2.0.6-1: I updated ufdbguard from epel testing (ufdbGuard-1.35.3-1.el7) and now both the reload of ufdbguard and the blacklist update with sighup seem to work correctly :raised_hands:

so i think i have some hour to play with 7.9 :nerd_face:

4 Likes