Bug#994187: squidguard: Squidguard cannot access DATADIR as a symlink

2021-09-14 Thread Tim Herwig

Hello Joachim,

We distribute the configuration of Squidguard to different systems where 
DATADIR is not always in the same place and therefore we have solved it 
with a symlink.


Have a nice day.

Tim


On 13.09.21 21:38, Joachim Wiedorn wrote:

Hello Tim,

Tim Herwig wrote on 2021-09-13 13:55:


* The problem exists on Debian 10 and Debian 11 when Squidguard tries to access
DATADIR as a symlink.

I think it is untypically using a symlink for DATADIR. What is the reason?

---
Have a nice day.

Joachim (Germany)




Bug#994187: squidguard: Squidguard cannot access DATADIR as a symlink

2021-09-13 Thread Tim Herwig
Package: squidguard
Version: 1.6.0-2
Severity: normal
Tags: patch

Dear Maintainer,
* The problem exists on Debian 10 and Debian 11 when Squidguard tries to access
DATADIR as a symlink.
* I have fixed the problem by changing it from (file /usr/sbin/update-
squidguard line 75)
   find ${DATADIR} -type d
   to
   find ${DATADIR}/ -type d
* And now it is possible that Squidguard can access symlinks in DATADIR.