Bug#312412: [Logcheck-devel] Bug#312412: logcheck: Fails to read files under /var/log/mail/

Grahame White grahame at regress.homelinux.org
Tue Jul 19 16:07:33 UTC 2005


On Tuesday 19 July 2005 13:58, maximilian attems wrote:
> On Tue, 19 Jul 2005, Grahame White wrote:
> > On Tuesday 19 July 2005 13:06, you wrote:
> > > On Tue, 19 Jul 2005, Grahame White wrote:
>
> <snipp>
>
> > > > drwxrws---  2 root smmsp 1024 Jul 19 06:30 /var/log/mail/
> > >
> > > aah cool, no way logcheck could read inside of that dir.
> > > sorry for my sendmail ignorance, but is that the default permission,
> > > or did you harden it somehow?
> > > is that an sarge installation or woody upgrade?
> >
> > It was a standard woody install that I upgraded to sarge. I haven't
> > touched the permissions on this directory myself so I assume that
> > whatever program created it set them like that.
> >
> > > which are the member of aboves group:
> > > getent group smmsp
> >
> > No one is in the group.
> >
> > > either you change aboves dir to be readable for the adm group
> > > chgrp adm /var/log/mail/
> > > (shouldn't pose problems to sendmail as it doesn't write aboves
> > >  file with smmsp group permissions).
> >
> > Certainly shouldn't! I just double-checked, I don't even have sendmail
> > installed :)
>
> ok strange.
> an smmsp google gave lots of sendmail hits, that's why i assumed it.
> whats you mail transfer agent? (exim4, postfix, ..)
> does it work fine with aboves change?

I'm using exim4, and yes the change you suggested seems to have fixed the 
problem.

> i guess so, as nobody uses that group the permission group setting
> of /var/log/mail seems more like an accident.
>
> now that logcheck should run without troubles, can you confirm?
> i guess we can close that bug.

Yes, I'm fine with closing the bug

>
> --
> maks





More information about the Logcheck-devel mailing list