On Fri, Sep 14, 2007 at 01:39:48PM +0200, Jan Scholten wrote:
> >> > However, I have fixed (hopefully) policyd-weight so that it doesn't do
> >> > lookups for [n.n.n.n] HELO arguments anymore.
> >> In which version?
>
> > 0.1.14 beta-7 (inofficial)
> I tried the beta, it seems to work so far, but i have some warnings:
>
> debug: using port 12526
> debug: USER: polw
> debug: GROUP: polw
> debug: issuing user: root
> debug: issuing group: root
> Use of uninitialized value in concatenation (.) or string at
> /usr/sbin/policyd-weight line 1717,
> <STDIN> line 5.
> 13:33:27 warning: cache_query: $csock couln't be created (Datei oder
> Verzeichnis nicht gefunden --
> connect: Datei oder Verzeichnis nicht gefunden), calling spawn_cache()
> 13:33:27 warning: cache: err: cache: chdir /tmp/.policyd-weight/: Datei oder
> Verzeichnis nicht
> gefunden at /usr/sbin/policyd-weight line 2891, <STDIN> line 5.
>
> cache: chdir /tmp/.policyd-weight/: Datei oder Verzeichnis nicht gefunden at
> /usr/sbin/policyd-weight line 2891, <STDIN> line 5.
>
> Do i have to worry about the uninitialized values and the missing cache dir,
> which is existend:
> /tmp/.policyd-weight:
> insgesamt 236
> drwx------ 2 polw root 4096 2007-09-14 13:33 .
> drwxrwxrwt 7 root root 233472 2007-09-14 13:39 ..
> srwxrwx--- 1 polw polw 0 2007-09-13 12:01 polw.sock
The ininitialized values are nothing to worry.
In debug mode (-d) policyd-weight does not do a UID/GID
change. So you are root, but root has no right in /tmp/.policyd-weight
Thus the warnings.
Either adjust directory permissions or su to polw.
--
Robert Felber (PGP: 896CF30B)
Munich, Germany
____________________________________________________________
Policyd-weight Mailinglist - http://www.policyd-weight.org/