[Logcheck-devel] Bug#253998: logcheck: line 551: unary operator expected
Todd Troxell
ttroxell at debian.org
Mon Aug 2 18:38:43 UTC 2004
Hi Sean,
Yes, running logcheck as root would create those offset files such that only
root could access them.
Thanks for this report. I will add an if-root-exit type of thing to the
script.
-Todd
On Mon, Aug 02, 2004 at 12:18:48PM +0100, Sean Burlington wrote:
> Hi,
> I have had the same problem
>
> ls -l /var/lib/logcheck/
> total 8
> -rw------- 1 root root 13 2004-07-31 17:29 offset.var.log.auth.log
> -rw------- 1 root root 12 2004-07-31 17:29 offset.var.log.syslog
>
> ls -ld /var/lib/logcheck/
> drwxr-xr-x 2 logcheck logcheck 4096 2004-07-31 11:42 /var/lib/logcheck/
>
> I read that
> "Also, do you know what version of logcheck you were running previously?
> Logcheck has been running unprivileged since 1.2.19 and should take
> ownership of these files upon upgrade."
>
> I am running logcheck 1.2.23 - and have not run any earlier version on
> this machine
>
> I have now run:
>
> chown logcheck.logcheck /var/lib/logcheck/offset.var.log.*
>
> and hope this will fix the problem.
>
>
> One thing I did which may have caused the problem is that immedialtly
> after installing logcheck I ran it (as root) to test it was working.
>
> --
>
> Sean Burlington
> Website/Database Developer
> 020 7339 8564
>
> please include the web address of any web page you wish to discuss
>
>
--
[ Todd J. Troxell ,''`.
Student, Debian GNU/Linux Developer, SysAdmin, Geek : :' :
http://debian.org || http://rapidpacket.com/~xtat `. `'
`- ]
More information about the Logcheck-devel
mailing list